RE: Revenue Plan ‘Creation Triggered By’ codification

We’re leveraging custom Revenue Recognition Events. We will have numerous plans generated (each with their own Revenue Event) for a given revenue element.  I’m looking to tie the plan record to the event.

Revenue Plan 'Creation Triggered By' codification

The highlighted field appears to ‘special’.

If you load the plan record (ala: record.load) you’ll see the internal id of the revenue plan.

If you try an indirect lookup (search.lookupFields or N/query) you get back the textual representation. ie: “Revenue Recognition Event”

In the UI, we get a fancy link to an endpoint that redirects us to the appropriate event:

Anyone have a clever way to achieve the lookup by this endpoint?    The best i can manage is correlating these based on order of creation and double comparing the amounts, but it’s an awful lot of “work” for each event.

mtsb Rookie Asked on June 22, 2023 in SuiteScript.
Add Comment
1 Answers
Intermediate Answered on June 23, 2023.

It depends on the trigger ‘type’, but in the case of a custom revenue event, it redirects to the instigating revenue event record instance, ie:   In the case of ‘Fulfillment’ triggers,  the field display (via indirect lookup) gives you a string  ala: “Item Fulfillment #IF1307028” and redirects to

on June 25, 2023.
Add Comment

Your Answer

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