GL Audit Numbering Sequence

The GL Audit Numbering feature enables you to set up and run two types of GL audit numbering sequences: permanent and repeatable. When you run a permanent GL audit numbering sequence, the number assigned to a GL impacting transaction cannot be changed. You can, however, modify the details of the original GL impacting transaction. When you run a repeatable GL audit numbering sequence, you can re-run the numbering sequence on GL impacting transactions as often as required to address gaps in numbering that might occur due to adjustments made to your GL.

Note:

Re-running a repeatable numbering sequence renumbers transactions and may assign a number different from the previously assigned number.

In the UI, you can access this record at Transactions > Management > GL Audit Numbering Sequences > New. This page includes fields to set up a GL audit numbering system, including the sequence name, numbering type, available subsidiaries, and the numbering format.

For help working with this record in the UI, see Setting Up a GL Audit Numbering Sequence.

To use this record in scripts, you must be using the GL Audit Numbering feature and the Manage Accounting Period permission.

Note:

The System Notes sublist and the Next Run field in the Recurring tab for Permanent Numbering are always search-only.

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

The GL audit numbering sequence record is scriptable in both client and server SuiteScript.

Supported Functions

The GL audit numbering sequence record can be read, created, updated, copied, and searched using SuiteScript.

Code Samples

The following sample shows how to create a new GL audit numbering sequence. The sequencename, period, subsidiaries, numberingtype, accountingbook, initnum, ordertype, and recurringtype fields must all be defined.

          var newGlSequence = record.create({
    type: record.Type.GL_NUMBERING_SEQUENCE
});
newGlSequence.setValue({
    fieldId: 'sequencename',
    value: 'My sequence'
});
newGlSequence.setValue({
    fieldId: 'period',
    value: 1                     // The ID of the accounting period to which this sequence belongs
});
newGlSequence.setValue({
    fieldId: 'subsidiaries',
    value: 1                     // The ID of the subsidiary to which this sequence belongs
});
newGlSequence.setValue({
    fieldId: 'numberingtype',
    value: 'REPEATABLE'          // Can be set to either 'REPEATABLE' or 'PERMANENT'
});
newGlSequence.setValue({
    fieldId: 'accountingbook',
    value: 1                     // ID of the accounting book to which this sequence belongs
});
newGlSequence.setValue({
    fieldId: 'initnum',
    value: 1                     // Typically 1 - the starting number of GL numbering
});
newGlSequence.setValue({
    fieldId: 'ordertype',
    value: 'CREATEDDATE'         // Can be set to either 'CREATEDDATE' or 'TRANDATE'
});
newGlSequence.setValue({
    fieldId: 'recurringtype',
    value: 'NONE'                // Can be set to either 'NONE', 'HOURLY', or 'DAILY'
});
var id = newGlSequence.save();   // On submission, the system will check all the rules and constraints on 
                                 // required fields and produce an error if something is incorrect. 

        

Related Topics

Setting Up a GL Audit Numbering Sequence
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Transactions
NetSuite Accounting Overview

General Notices