Revenue Recognition Event

The revenue recognition event record is available only when the Advanced Revenue Management (Essentials) feature is enabled. In the UI, you access this record at Lists > Accounting > Revenue Recognition Events > New.

The internal ID for this record is billingrevenueevent.

Revenue recognition events trigger the creation of revenue recognition plans. Each revenue recognition event must have a revenue recognition event type. Revenue recognition event types are not scriptable. To create a revenue recognition event type, go to Lists > Accounting > Revenue Recognition Event Types > New. You must create at least one revenue recognition event type before you can create a revenue recognition event.

For help working with this record in the UI, see Creating a Custom Revenue Recognition Event.

For information about scripting with this record in SuiteScript, see the following help topics:

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

Supported Script Types

The revenue recognition event record is supported in client and server SuiteScript.

The user events are not supported.

Supported Functions

The revenue recognition event record is partially scriptable. It can be created, read, updated, deleted, and searched using SuiteScript. It cannot be copied or transformed.

Usage Notes

The fields of this record that must be used in combination are fully described in the Revenue Recognition Event section of the help topic for the UI. For details, see Creating a Custom Revenue Recognition Event.

Code Samples

The following sample shows how to create revenue recognition events and perform other basic tasks.

          // Create Record
var revRecEvent = record.create({
    type: record.Type.BILLING_REVENUE_EVENT
});
revRecEvent.setValue({
    fieldId: 'transactionline',
    value: 12    // Transaction Line ID
});
revRecEvent.setValue({
    fieldId: 'eventtype',
    value: 2     // Event Type internal ID
});
revRecEvent.setValue({
    fieldId: 'eventpurpose',
    value: 'FORECAST'
});
revRecEvent.setValue({
    fieldId: 'eventdate', 
    value: new Date('12/31/2016')
});
revRecEvent.setValue({
    fieldId: 'quantity',
    value: 1
});
var recID = revRecEvent.save();

//Load Record
var rec = record.load({
    type: record.Type.BILLING_REVENUE_EVENT,
    id: recID
}); 

        

Related Topics

Creating a Custom Revenue Recognition Event
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Lists
Setup for Advanced Revenue Management (Essentials)

General Notices