I have a few questions.
1. At what point does the Item Fulfillment record get populated? I am assuming that after you mark a Purchase Order as shipped, that it gets populated at that point
2. Will the following code segment work by creating an email?:
nlapiSendEmail(-5,'sthong@yahoo.com','Your order has been shipped','Body of email',,);
3. I am deploying a script for the first time. The ServerSuiteScript documentation says that I should select the script file and the library file. I am assuming that the script file is the file with my script and its associated functions. I am unclear as to what the library file is, and what it should contain.
4. Should my function afterSaveItemFulfillment(type) be inside my script file or my library file?
5. What steps do I need to take in order to put a new version of a script file into the system and to deploy it. ( The system is telling me that I can’t overwrite an existing record) ?