Available Qty. on Hand in form 5415

BENNEBENNE Member Posts: 16
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 .

Thankes in advance

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    QtyAvailable is defined as a global variable in the form. It is passed as a parameter to the function

    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.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • BENNEBENNE Member Posts: 16
    Thanks Luc :lol:
  • BENNEBENNE Member Posts: 16
    Hi Luc,

    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?
Sign In or Register to comment.