PurchTable and PurchLine: D365 Purchase Order Tables
PurchTable holds the purchase order header and PurchLine the lines, joined on PurchId. Nothing moves to history, so the PurchStatus and DocumentState enums do all the work. The join keys, the status codes, and how D365 differs from Business Central and GP.
Read article