I want to add the “Last Vendor Price” that is shown in the Stock Items screen to the data grid on the “Purchase Orders” screen.
I believe this will involve creating a custom non-DB related field in the PX.Objects.PO.POLine DAC. Then I would get the value from the POVendorInventory table for the respective vendor in the Purchase Orders screen.
I think I would do this in an POOrderEntry_Extension : PXGraphExtension<POOrderEntry> extension as that is the graph used for the Purchase Orders screen.
I would get the value to store in the custom field and trigger it with one of the row events. However, I’m not sure which one to use. Can someone give me advice on which one of these is the most appropriate?
Thank you in advance for your help. Also, if you think my plan is bad, I’d welcome any suggestions.
Joe Schmucker
(Noob)
Best answer by Naveen Boga
View original