Discussions
SuiteScript - How can I get the value of the itemfilter from my custom transaction form?
Hi all,
So I have a suitelet that is building an ordering form by looking up the customers transaction history.
At this point, some of our customers have specific Sales Order forms with their own Item Filter searches so as to block certain items.
E.g. I have a workflow that when I select Customer MJE on an SO it will update the Form to MJE - Sales Order (217). The image below is the XML of that form record, which also shows itemfilter 5155 which is an Item type Saved Search blocking particular items from Sale to this customer.
What I'm trying to do in this function on my script is load the form that the Sales Order is using and then then Item Filter so that I can later push the filters on this Item Filter to dictate what items are presented to the customer when using the suitelet.