Hi All,
How to find the default warehoue issue location and receipt location(Below screen shot) for the on hand item…?
And it is my code…
static void SK_DefaultLocation(Args _args)
{
InventItemLocation location;
WMSLocationId issue, receipt;
InventSum inventsum;
inventsum = InventSum::find('#9', '00008425_069');
issue = InventLocation::find(inventsum.inventLocationId()).WMSlocationIdDefaultIssue;
receipt = InventLocation::find(inventsum.inventLocationId()).WMSLocationIdDefaultReceipt;
info(strFmt('%1,%2',issue, receipt));;
}
Is my code correct?? Please suggest?
Thanks in advance…
