ID linking document lines defaulted from other documents, such as SQ->SO->PO->VI

Hi Guys;

I want to know if in AX we have any ID that maintains the forward and backward relationship for example which sales quotation line was used to create a sales order line and similarly across all other documents.

Thanks.

When a sales order is created from the sales quotation, sales table will have the reference of quotationId. SalesTable.QuotationId and sales quotation table will have the reference of salesId, salesQuotationTable.SalesIdRef.

You can research more by debugging the code and can see the updates happening in different tables.