can i separate per item the lines on gl impact pag...
# ask-stanley-ai
t
can i separate per item the lines on gl impact page
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that the GL Impact page in NetSuite does not natively support separating lines per item. However, there are custom solutions that can be implemented to manipulate the GL Impact lines. One such solution is the use of a Custom GL Plugin. This plugin allows you to add GL lines to the current record type under specific conditions. Here's an example of how a Custom GL Line script might look:
Copy code
function customizeGlImpact(transactionRecord, standardLines, customLines, book) {
    var currLine = standardLines.getLine(0);
    var entityId = currLine.getEntityId();

    var recordType = transactionRecord.getRecordType();
    
    if(recordType == 'customerdeposit') {
        var gl_custdep = customLines.addNewLine();
        gl_custdep.setDebitAmount(standardLines.getLine(1).getCreditAmount());
        gl_custdep.setAccountId(standardLines.getLine(1).getAccountId());
        gl_custdep.setEntityId(entityId);
        gl_custdep.setMemo("Custom GL going to Deferred Revenue");

        var gl_defrev = customLines.addNewLine();
        gl_defrev.setCreditAmount(standardLines.getLine(1).getCreditAmount()); 
        gl_defrev.setAccountId(1283);
        gl_defrev.setEntityId(entityId);
        gl_defrev.setMemo("Custom GL going to Deferred Revenue");
}
This script is used to manipulate the GL Impact of a Customer Deposit record. It adds two new lines to the GL Impact: one debiting the Customer Deposit account and another crediting the Deferred Revenue account. Please note that this is a custom solution and may require advanced knowledge of scripting in NetSuite. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813771665
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809377074
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805553913
Please provide your feedback on this answer.