RE: Inventory Dimensions on Create production order form
This form uses class InventDimCtrl_Frm_Mov to toggle the visibility if the inventory dimension fields.
When you select an item then prodTable initializes some fields from item and inventDimID is one of them.
Based on this inventDimID the class shows all the active inventory dimensions on the form.
So if your product is having location enabled in the storage dimensions then on selecting the item, you will see the location as well.
You can debug the updateDesign() method on the form and understand how the class sets the controls.
You might need to rethink if you really want to add a field here. If you look at the design of the form , all the inventory dimensions field of the inventDim table are already added in the group and system only shows the one enabled on the item.
You can only edit the inventory dimensions for a production order which are active on the product.
Are you building another inventory dimension ID ? Then you might need to add another InventDim table as a DS on the form and use it on form design as per your logic.
Hope this helps,
Thanks,
Rachit Garg