Hi,
I have a requirements in AX 2012 R3 -
I have two forms:
1. BOMCalcDialog
2. InventItemOrderSetup
I have created a custom editable field in the InventItemItemp table name "MultipleQty" and showed this field in the form "BOMCalcDialog".
My requirement is - when a user enters a value in the "MultipleQty" field (ex - 10,000) it should update the field InventItemInventSetup.StandardQty to 10,000 (i.e. equal to the value of MultipleQty).
SQL code:
UPDATE [dbo].[INVENTITEMINVENTSETUP] SET STANDARDQTY = '10,000
After completing the BOM calculation process, it should than revert the InventItemInventSetup.StandardQty to "0" again.
SQL code:
UPDATE [dbo].[INVENTITEMINVENTSETUP] SET STANDARDQTY = '0'
Ho can I achieve this in AX?