In the case of the C_Order table, the C_BPartner_ID field establishes the relationship with the C_BPartner table and in the case of the C_OrderLine table, the C_BPartner_ID and c_bpartner_location_id fields establish the relationship with the c_bpartner_location table where the shipping address is located. I deduce this from reviewing the relationship between the tables. I don't know if this helps you.
Regards
Elio
Our company also uses a proprietary ERP system, QAD/MFG Pro.
When reviewing the master table so_mstr and the detail table sod_det, I noticed that the customer information only appears in the master table, while the detail table contains only the part item.
From my understanding, if C_OrderLine requires information about C_BPartner, it can reference C_Order. Conversely, if C_Order requires information about the product, it can reference C_OrderLine.
Please correct me if I have misunderstood.
Best regards,