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!
NSC | Transforming Cash Sale to Cash Refund via Scripting
Scenario:
User wants to transform their Cash Sale to Cash Refund using Script.
Solution:
Below is a sample script illustrating the process of transforming a basic Cash Sale to Cash Refund using N/record in SuiteScript 2.0.
var rec = record.transform({ fromType: 'cashsale', fromId: 10346, toType:'cashrefund', isDynamic: true }); rec.save(); }
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. Oracle + NetSuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Basic Accounting. RSVP on this event now!