Skip to main content

Posts

Sales Order Delivery Remainder Error during cancel quantity in Axapta,The quantity cannot be reduced. The

If you are getting below error ..on Sales Order Delivery Remainder Error during cancel quantity in Axapta. Error :The quantity cannot be reduced. The number of inventory transactions on order is too low because the quantity or part of it is referenced by an output order or a production order or is marked against other transactions. Then You can try this Steps  on Test application  then You can apply on production . 1- Find the Output order id  on which problem occurred. 2- Then open AOT ->Data Dictionary ->Tables -> WMSOrderTrans (Right click and open ) 3- In orderid field find the same inventory order number by search . 4- delete the record whose Expedition Status is Activated in WMSOrderTrans table. 5- You can then go to again the output order form on Sales Line on Sales Order form , refresh the screen, and select End Inventory order in function menu item form. 6- Then you can  go to the sales order screen and easily cancel the del...

Code to Convert Inventory to sales unit value for Item in Axapta

This is a sample Code to Convert Inventory to sales unit value for Item in Axapta . You can try this code in job to check the value. Item code you can use from your system data. I hope you will get idea and enjoy daxing. InventTableModule InventTableModule; int64 InvUnit, SalesUnit, EcoresproductRecid; UnitOfMeasureConversion UnitOfMeasureConversion; real d; select InventTableModule where InventTableModule.ItemId == '60068C' && InventTableModule.ModuleType == ModuleInventPurchSales::Invent; InvUnit = UnitOfMeasure::findBySymbol(InventTableModule.UnitId).RecId; SalesUnit = UnitOfMeasure::findBySymbol('BOX4').RecId; EcoresproductRecid = EcoResProduct::findByDisplayProductNumber('60068C').RecId; d = UnitOfMeasureConverter::convert(8.0,InvUnit,SalesUnit,NoYes::No,Ecoresproductrecid); info(strFmt("%1",d));

How to Set default value in Ax form Lookup

Problem :I need string-edit lookup display by default the code '00002' and not the '00001.How can i do this using axapta code? Solution  : Instead of asking 00002 as default in the lookup, you can set '00002' as the default value of the field on the form. Otherwise, if you don't like to have '00001' in the lookup then you need to write dynamic lookup on that field.

ERP Comparison : AX 2012 Vs. Oracle Vs. SAP

Microsoft Dynamics 365 Finance and operations

Upgrade yourself to Dynamics 365 Jupiter Dynamics

Upgrade yourself to Dynamics 365...!! Learn the most demanded ERP course by real time with hands on experienced consultants...!!