RE: Getting Revenue Arrangement ID from Revenue Plan Record

Hi,

I am new to suitescript and I am currently working on a workflow action script that creates a note on the revenue arrangement when an edit is made on the revenue plan.

I was able to get the script working by hard coding the revenue arrangement ID, but I am not sure how to get the revenue arrangement ID from the Revenue Plan Record.

The revenue plan record only shows the revenue element, which shows the rev arrangement, but I don’t see a way of accessing the revenue element in the Record Browser.

Any help would be greatly appreciated.

Kind Regards,
Chris

Chris Rookie Asked on March 13, 2020 in SuiteScript.
Add Comment
1 Answers

Hi the revenue record has internal id in Netsuite Record Browser as : “revrecplan"

 

Kindly refer this like from help center https://tstdrv2049569.app.netsuite.com/app/help/helpcenter.nl?fid=section_4544304176.html

 

Rookie Answered on March 14, 2020.

I am not looking for the revenue plan internal ID, I am looking for a way to get the revenue arrangment ID for the revenue plan I am running the workflow action script on.

User makes edit on Rev Rec Plan;
Note gets posted on the Rev Rec Arrangement;

Currently the script works because I hardcoded the Rev Rec Arrangement ID, but I am not sure how I can get to it because the arrangement isn’t linked directly with the plan and there is no “Revenue_element” record I can load to get it.

on March 14, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.