Rick
Rick

Reputation: 1311

Custom Inventory Lookup Filter

I'd like to make certain products available/unavailable to certain customers. Similar to Netflix's blocking some movies on some customers depending on geographical locations. I'm assuming I'll need a custom table for the inventory item and list of restricted customers. And then attach this somehow to the lookup filtering. How can I customised the inventory lookup dialog to achieve this ?

Upvotes: 0

Views: 446

Answers (1)

Ilya Kalmykov
Ilya Kalmykov

Reputation: 216

You should add PXRestrictor attribute for each selector. For example for SO301000 you should add PXRestrictor on SOLine.InventoryID. You can add it by implementing SOLine_InventoryID_CacheAttached() handler in the extension of SOOrderEntry graph.

If you would like to limit visibility all over the product for specific users, consider using Restriction Groups, see https://help.acumatica.com/(W(19))/Wiki/ShowWiki.aspx?pageid=ad9a42c1-ff5d-4298-86d9-683039c18512 for details.

Upvotes: 0

Related Questions