How to Identify Invet Trans Marked / Reserved against a given Invent Trans?

This question is not answered

Hi All,

I'm doing a customization which Involves Invent Trans.

Given an Issue Transaction, I want to identify its corresponding Receipt transaction (in X++).

I could find that marking Information is stored at InventTransOrigin level, but, there may be multiple InventTrans records linked to a single InventTransOrign record. Hence, it won't help to identify the exact receipt InventTrans reserved against issue InventTrans.

For Example, in below table, there is an SO Line of 500 Pcs and a PO Line of 800 Pcs. SO Line has been marked against PO Line hence, there are 2 InventTrans records against the PO Line. I want to identify the InventTrans which is reserved against SO Line's InventTrans.

InventTrans
Item Qty Status LotID Reference Lot ID RecID
SO Line with 500 Pcs Item A 500 Reserved Ordered ABC XYZ 5546598955
PO Line with 800 Pcs Item A 500 Ordered XYZ ABC 5544465659
Item A 300 Ordered XYZ 5549626884

This is a time critical requirement, hence any help would be greatly appreciated.

Warm Regards,

Michael Brown

All Replies
  • Based on Development IV course released by MSFT, I understood that reservation is not being actually stored anywhere.

    Can anyone help me ascertain this?

    Best Regards,

    Michael Brown