NetSuite Custom GL Plug-in: what is it, how to set it up and some practical examples

Category
May 7, 2024
3
min

NetSuite articles

netsuite-articles

Summarise the article with your AI:

Claude

ChatGPT

 Google AI

Grok

Perplexity

Written by:
Pauline
Here you can read:
Share this article on:

What Is the NetSuite Custom GL Plug-in?

In NetSuite, custom General Ledger (G/L) lines are used to enhance and customize the accounting entries generated by the system's standard processes.When posting transactions to the General Ledger, such as Item Shipments or Receipts, Invoices or Vendor Bills, Assembly Builds, Inventory Adjustments etc., NetSuite generates accounting impacts on accounts that are pre-defined, a.o. on Items and/or Customers and/or Vendors. These preconfigured postings are not always the desired ones for businesses that have to meet specific accounting standards, special regulatory or tax requirements, or business practices that are not addressed by NetSuite's default settings. The Custom GL Plug-in feature offers the possibility to customize those standard accounting impacts according to your company’s individual accounting needs.

NetSuite Custom GL Plug-in prerequisites: features to enable

In order to use the Custom GL Plug-in option, you need to activate 2 features. Go to Setup > Company > Enable Features. Then, on the SuiteCloud subtab, enable the following features: Server Suite Script and Custom GL Lines.

NetSuite Enable Features page on the SuiteCloud subtab showing Server SuiteScript and Custom GL Lines features activated

How to use the NetSuite Custom GL Plug-in for custom accounting impacts

In this example, we need Custom GL Plug-ins on 3 types of transactions: item receipts, assembly builds and vendor bills. The standard GL impacts were not matching with the specific requirements of our NetSuite customer. Therefore, we have created specific GL impacts by means of the Custom GL Plug-in feature.

NetSuite Custom GL Plug-in example for item receipts

The calculations to be made by the Custom GL Plug-in are the following:

  • Credit: quantity * rate on the item expense account (account number 609000 in this particular Belgian-style chart of accounts).
  • Debit: quantity * rate on the item purchase account (600000). Note: the purchase account was created as a custom field on the Item record.

As an additional condition, the plug-in needed to only run on the item receipts that are not created from a transfer order. Here is an example of the final GL impacts on an item receipt recorded against a purchase order for the “bulk powder” item. Note that amounts are strictly hypothetical. The two last lines are calculated by a Custom GL Plug-in. This Custom GL Plugin leaves the standard G/L posting intact, but adds additional lines to make the end result compliant with the accounting standards as desired by our customer.

NetSuite General Ledger impact on an item receipt showing custom GL lines posting to expense account 609000 and purchase account 600000

Note: amounts are hypothetical

NetSuite Custom GL Plug-in example for assembly builds

The calculations made by this particular Custom GL Plug-in are the following:

  • Credit: quantity * rate on the COGS account of the final product (713000).
  • Debit: quantity * rate on the COGS account of the raw materials (603000).
  • Debit: quantity * rate on the COGS account of the manufacturing charges (609000).
  • Credit: total amount of the manufacturing charges on account 444000 (static value).
  • Debit: total amount of the manufacturing charges on account 603000 (static value).
NetSuite General Ledger impact on an assembly build showing custom GL lines across COGS accounts 713000, 603000, 609000 and account 444000

Note: amounts are hypothetical

NetSuite Custom GL Plug-in example for vendor bills

The calculations made by this last Custom GL Plug-in on Vendor Bills are the following:

  • Credit: total amount of the manufacturing charges on account 603000 (static value).
  • Debit: total amount of the manufacturing charges on account 444000 (static value).
NetSuite General Ledger impact on a vendor bill showing custom GL lines posting to manufacturing charges accounts 603000 and 444000

Note: amounts are hypothetical

FAQ

Custom GL Plug-in customizes accounting entries generated by NetSuite's standard processes for transactions like item receipts, invoices, vendor bills, and assembly builds. It addresses specific accounting standards, regulatory requirements, or business practices not covered by NetSuite's default settings. The feature adds custom GL lines while leaving standard postings intact, ensuring compliance with unique accounting needs.

Enable two features in Setup > Company > Enable Features under SuiteCloud subtab: Server SuiteScript and Custom GL Lines. These prerequisites unlock the Custom GL Plug-in capability allowing SuiteScript-based customization of general ledger impacts. Without both features enabled, custom GL line functionality remains unavailable regardless of role permissions.

Item receipts can route expenses to custom purchase accounts instead of standard expense accounts. Assembly builds can split costs between raw materials COGS, manufacturing charges, and work-in-progress accounts with complex multi-line logic. Vendor bills can reclassify manufacturing charges across specific accounts. Each scenario uses quantity times rate calculations or static values based on business rules.

Custom GL Plug-in supplements standard entries by adding additional lines rather than replacing existing ones. Standard NetSuite postings remain intact while plug-in adds custom debit and credit lines to achieve desired final GL impact. This approach maintains system integrity and audit trail while meeting specialized accounting requirements not addressed by configuration alone.

Use Custom GL Plug-in when standard account configurations on items, customers, and vendors cannot achieve required GL impacts. Typical scenarios include complex Belgian or European GAAP requirements, manufacturing cost allocation across multiple COGS accounts, conditional GL logic based on transaction source, and regulatory compliance requiring specific account structures. Always explore configuration options before developing custom plug-ins.

Get in touch

Related articles:

netsuite-articles

NetSuite articles

SuiteTax is a tax management engine within NetSuite that helps businesses to calculate tax to ensure compliance with tax laws & regulations.

netsuite-articles

NetSuite articles

Today, NetSuite’s cloud enterprise resource planning (ERP) system gives companies all the applications they need to run their businesses efficiently while nurturing growth.

netsuite-articles

NetSuite articles

Learn the steps and considerations for changing the parent company and adjusting the subsidiary hierarchy in NetSuite. Understand the potential impacts and required permissions to ensure a smooth transition.

Ready to accelerate your growth?

Let's discuss how we can help you move from complexity to clarity.