Hi, how to get item fulfillment id in user event s...
# suitescript
p
Hi, how to get item fulfillment id in user event script created for package.
b
not really sure what you are asking
especially the package part
p
In item fulfillment we have a button "Add New Package"
when click that button a new form opens
i want to run the user event script to populate the field
b
doesnt sound native
but a beforeLoad user event script has access to the request url
so you can access the fulfillment's id if its part of the url
if its not in the url, try looking on the fields on the package
p
there is item fulfillment id in the selected field
does the url gets return in Context?
beforeLoad contains a ServerRequest object
ServerRequest has a url
and request parameters if its a GET