Accounting Context

An accounting context can be a one-to-one relationship between a country’s local GAAP (Generally Accepted Accounting Principles) reporting requirements and a statutory chart of accounts (COA). It can also be a unique relationship that meets your company’s specific needs. Accounting contexts are useful when users prefer to work in a local GAAP context, rather than in the consolidated context with one centralized COA. Accounting contexts are also useful if you have Multi-Book Accounting provisioned in your account. You can set an accounting context specific for your secondary book and use it for your secondary book reports.

For help working with this record in the UI, see Accounting Contexts.

The internal ID for this record is accountingcontext.

The accounting context record is available in OneWorld accounts.

The script user must have the Setup Company permission with Full permission level.

In the UI, you configure accounting contexts on the Accounting Contexts subtab on the General Preferences page at Setup > Company > General Preferences. If you do not have a OneWorld account, this subtab is not visible.

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.

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

Supported Script Types

This record is scriptable in both client and server SuiteScript.

Supported Operations

This record is partially scriptable — it can be read, created, deleted, copied, searched, and edited. It cannot be transformed.

Code Samples

The following samples show how to create an accounting context.

          require(["N/record"], function(record){
    var rec = record.create({
        type: record.Type.ACCOUNTING_CONTEXT
    });
    rec.setValue({
        fieldId: 'name',
        value: 'Context 1'
    });
    var recId = rec.save();
}); 

        

Related Topics

Accounting Contexts
Planning for Multi-Book Accounting
Using Multi-Book Accounting
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Lists

General Notices