Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Return additional data (tranid) when add salesOrder?
Greetings,
When we add a SalesOrder via SuiteTalk, the returnXml (sample below) includes the internalId of the newly-created SalesOrder. However, our integration that is calling this also need to know the Order ID value (field "tranid"). Is there a way I can also return this value?
We already have an existing SuiteScript After_Submit customization when a SalesOrder is inserted via SuiteTalk. While easy enough to get the tranid, I don't know how I can add this to the returnXml. Any clues/suggestions are greatly appreciated. As a work-around, I know I can have our integration make a subsequent SuiteTalk call to search for the SalesOrder and return this value, but this is extra work on both systems and an extra round-trip I'd rather avoid.