Skip to main content

After ticking the Outside process checkbox, I wanted to display only the vendors who registered in the selected inventory item(Stock item> Vendors) on the vendor lookup. Is there anyone who did this kind of customization?

I don’t know which screen you want to customize, but I did something similar on Sales Order Entry:
"PXMergeAttributes(Method = MergeMethod.Merge)]
/Vendor(typeof (Search2<BAccountR.bAccountID,
InnerJoin<POVendorInventory,
On<POVendorInventory.vendorID, Equal<BAccountR.bAccountID>,
And<POVendorInventory.inventoryID, Equal<Current<SOLine.inventoryID>>>>>,
Where<Vendor.type, NotEqual<BAccountType.employeeType>>>))]
public virtual void _(Events.CacheAttached<SOLine.vendorID> e) { }

 


Reply