Dear Support,
I have created usrLookup (Part No) field on Inventoryitem and I want this field to add on column Sales Order Line.
Please advise.
Thanks,
Idrus
Dear Support,
I have created usrLookup (Part No) field on Inventoryitem and I want this field to add on column Sales Order Line.
Please advise.
Thanks,
Idrus
Best answer by Nilkanth Dipak
Hi
To add your custom field(Part No) from the InventoryItem table to the Sales Order Line grid in Acumatica, follow these steps:
1. Extend the SOLine DAC: Create an extension for the SOLine DAC (Data Access Class) to add a field that pulls in the value from InventoryItem.UsrLookup.
2. Link the Field Using BQL: In the DAC extension, define the new field with a BQL query to retrieve the UsrLookup value based on the inventory item selected in the sales order line:
[PXFormula(typeof(Selector<SOLine.inventoryID, InventoryItemExt.usrLookup>))]
3.Add the Field to the SOLine Grid: Finally, use the Customization Editor to add the field to the Sales Order Line grid on the Sales Order screen (SO301000).
If you need to use attributes from the Inventory Item screen, This link will help you achieve that.
Hope, it helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.