Basically, you need to know only the InventTransId's of the records you want to mark. Here is how I used inventory marking when creating purchase orders (return item) void doInventMarking(PurchLine _purchLine) { InventTrans inventTrans; InventDim inventDim; VendInvoiceTrans vendInvoiceTrans; QueryRun...