Skip to main content
Question

Display registered list of “Vendors”

  • June 5, 2023
  • 1 reply
  • 88 views

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?

1 reply

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+3
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) { }