Period End Journal

Period End Journal is a transaction record that posts subsidiary consolidation and year end closing to the general ledger. Period end journals are generated automatically when you complete the Create Period End Journals task on the Period Close Checklist.

For help working with this record in the UI, see Period End Journal Entries.

This record is part of the Period End Journal Entries feature, which is available only in NetSuite OneWorld accounts. The Accounting Periods feature is a prerequisite for the Period End Journal Entries feature. Before you begin working with period end journals programmatically, see Setup for Period End Journal Entries.

The internal ID for this record is periodendjournal.

See the SuiteScript Records Browser for all internal IDs associated with this record. For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser.

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

Supported Script Types

The period end journal record is scriptable in server and client SuiteScript. The system process that generates this record does not trigger user events. However, user events can be triggered outside of the process.

Supported Functions

The period end journal record can be read, updated, and searched using SuiteScript. However, update is limited to the Memo fields and any custom fields or custom segments that do not affect the general ledger. When searching for period end journals, Include Period End Transactions must be set to True in the results.

Code Samples

The following sample shows how to update the value of the memo field.

          var periodEndJournal = record.load({

    type: record.Type.PERIOD_END_JOURNAL,

    id: 101,

    isDynamic: true

});

periodEndJournal.setText({

    fieldId: 'memo',

    text: 'Test Memo'

});

 periodEndJournal.save(); 

        

Related Topics

General Notices