Thursday, May 15, 2014

Inventory OnHand Get through X++

real a;
    InventDimParm inventDimParm;
    inventDimParm.initFromInventDim(InventDim::find("00000492_069"));
    a =InventSumDatePhysicalDim::onHandQty(today(),"1001",InventDim::find("00000492_069"),inventDimParm);
    info(strfmt("%1",a));

No comments:

Post a Comment

Disabling the flight in D365FO (CHD - Tier 1)

 INSERT INTO dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED)  VALUES ('<FlightObjectName>_KillSwitch', 1)  or  INSERT INTO dbo.SYSFLIGHT...