Amit Ahuja
12/17/2018, 4:26 PMAlbert Margarit (NS Eng Lead)
12/17/2018, 4:44 PMalien4u
12/17/2018, 5:23 PMalien4u
12/17/2018, 5:23 PMvar excludeItems = JSON.parse(runtime.getCurrentScript().getParameter('custscript_labor_po_generator_exclu'))||'';
alien4u
12/17/2018, 5:23 PM"{item:\"115479\",itemid:\"^GENERICADDACC\"},{item:\"309019\",itemid:\"^NOPACKAGINGNEEDED\"},{item:\"325730\",itemid:\"^POLYBAGONLY\"},{item:\"315600\",itemid:\"^PREPACKEDFROMFACTORY\"},{item:\"115180\",itemid:\"^SKULABELONLY\"},{item:\"311446\",itemid:\"^STAINLESSSTEELCARD\"},{item:\"311458\",itemid:\"^USEFACTORYCARD\"}"
NElliott
12/17/2018, 5:34 PMalien4u
12/17/2018, 6:50 PMalien4u
12/17/2018, 6:50 PMalien4u
12/17/2018, 6:51 PMalien4u
12/17/2018, 6:51 PMerictgrubaugh
12/17/2018, 6:52 PMalien4u
12/17/2018, 6:52 PMerictgrubaugh
12/17/2018, 6:53 PMalien4u
12/17/2018, 6:55 PMalien4u
12/17/2018, 6:58 PMalien4u
12/17/2018, 7:04 PMNElliott
12/17/2018, 7:16 PMerictgrubaugh
12/17/2018, 7:17 PMNElliott
12/17/2018, 7:20 PMerictgrubaugh
12/17/2018, 7:21 PMsubmitFields
from a Suitelet will trigger any User Events on the PO with a type of XEDIT
, so also check any Workflows or UE scripts deployed to the PONElliott
12/17/2018, 7:21 PMNElliott
12/17/2018, 7:21 PMerictgrubaugh
12/17/2018, 7:21 PMerictgrubaugh
12/17/2018, 7:22 PMxedit
erictgrubaugh
12/17/2018, 7:22 PMcontext.type
and tries to read the company
field no matter whaterictgrubaugh
12/17/2018, 7:22 PMXEDIT
only contains the fields that are changing, company
won't exist, and that causes an errorNElliott
12/17/2018, 7:22 PMNElliott
12/17/2018, 7:23 PMerictgrubaugh
12/17/2018, 7:23 PMalien4u
12/17/2018, 7:53 PM