How to Calculate Planned Purchase Order class SMCPlannedPOCalc { /// <summary> /// Runs the class with the specified arguments. /// </summary> /// <param name = "_args">The specified arguments.</param> public static void main(Args _args) { ReqTrans reqTrans;//reftype,refdate,itemid ItemId _itemId = "Test-SMK1010"; TransDate _date = str2Date("10/1/2019",213); real qty; select sum(qty),count(RecId) from reqTrans where reqTrans.ItemId == _itemId && reqTrans.RefType == ReqRefType::ItemPlannedOrder && reqTrans.ReqDate == _date; ...
Running the SSRS Report and Saving in Local drive using X++ Code with renaming the same report next Occurrence in AX 2012 Write the below code in Controller Class of the Report public static void main(Args _args) { //KKSalesPackingSlipController controller = new KKSalesPackingSlipController(); //controller.parmReportName(ssrsReportStr(KKSalesPackingSlipReport, PrecisionDesign2)); ////controller.parmReportName(ssrsReportStr(KK_CustInvReport, Report)); //controller.parmArgs(_args); //controller.startOperation(); LogisticsAddressCountryRegionId logisticsAddressCountryRegionId; SrsReportRunController controller = new SrsReportRunController(); SRSPrintDestinationSettings printSettings; KKSalesPackingSlipContract c...
How to calculate On Hand Inventory Per Day class KK_OnHandPerDay { /// <summary> /// Runs the class with the specified arguments. /// </summary> /// <param name = "_args">The specified arguments.</param> public static void main(Args _args) { ItemId itemId; InventTrans inventTrans; InventDim inventDimCriteria, inventDimLoc; InventDimParm inventDimParm; InventSumDateDim inventSumDateDim; TransDate start, finish; int c; int onHandTotal; InventLocationId inventLocationIdLoc; start = str2date("6/24/2019", 213);//3/12/2019 ...
Comments
Post a Comment