Tables used :
SalesTable : Contains all SalesOrder headers regardless whether they have been posted or not.
SalesParmTable and SalesParmLine : Contains detailed information regarding posting sales headers and Lines.
CustConfirmJour and CustConfirmTrans : Contains all Sales Confirmation headers and Lines posted in Dynamic Ax originating from Sales Orders and Lines.
CustInvoiceJour and CustInvoiceTrans : Contains all sales all Sales Invoice headers and Lines posted in Dynamic Ax originating from Sales Orders and Lines.
CustPackingSlipJour and CustPackingSlipTrans : Contains all Sales PackingSlip headers and Lines posted in Dynamic Ax originating from Sales Orders and Lines.
Classes used :
SalesTableType and SaleslineType classes will get called while creating the SalesOrders.
SalesFormLetter_Confirm,
SalesFormLetter_Invoice,
SalesFormLetter_PackingSlip,
SalesFormLetter_PickingLlst,
These classes are used to post the sales order at various status (packing, invoice etc).