Announcements
[ExtensionOf(tableStr(SalesLine))]
final public class SFA_SalesLine_Extension
{
[SysClientCacheDataMethod(true)]
display Qty SFA_Physical()
{
InventDim inventDim;
InventDimParm inventDimParm;
inventDim.InventSiteId = this.salesTable().InventSiteId;
inventDim.InventLocationId = this.salesTable().InventLocationId;
inventDim.inventDimId = this.InventDimId;
inventDim = InventDim::findOrCreate(inventDim);
inventDimParm.initFromInventDim(InventDim::find(inventDim.inventDimId));
return InventSum::findSum(this.ItemId,inventDim,inventDimParm).AvailPhysical;
}
}
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156