Hi all,
Do any of you know where the QtyAvailable are calculated in form 5415 "Item Avail. by Variant Lines"?
I have searched for a long time but without luck #-o .
Therefore, QtyAvailable is calculated in codeunit 5400 "Available Management", in function AvailabilityMgt.ExpectedQtyOnHand. In that function, it's the variabele "Available" which is calculated, and send back to the form as parameter QtyAvailable.
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
When I place at brakepoint in the first line in the OnAfterGetRecord() trigger in form 5415
will the QtyAvailable already have a value.
When is this value filled in?
Comments
ExpectedInventory := AvailabilityMgt.ExpectedQtyOnHand(Item,TRUE,0,QtyAvailable,31129999D);
Therefore, QtyAvailable is calculated in codeunit 5400 "Available Management", in function AvailabilityMgt.ExpectedQtyOnHand. In that function, it's the variabele "Available" which is calculated, and send back to the form as parameter QtyAvailable.
When I place at brakepoint in the first line in the OnAfterGetRecord() trigger in form 5415
will the QtyAvailable already have a value.
When is this value filled in?