Proposal For Intercompany transaction for Consolidation Report

Proposal summary

JCurve Solutions would like to create new a report to retrieve data for data from Account balance based on the chart of accounts that are set to show in the report. And the Report will show the intercompany amount effect on each account in the separate column between AP and AR records based on the date selected in the filter. And need to print reports in Excel format.

Requirement

JCurve Solutions would like to create new a report to retrieve data for data from Account balance based on the chart of accounts that are set to show in the report. And the Report will show the intercompany amount effect on each account in the separate column between AP and AR records based on the date selected in the filter.

Assumptions:

  • Report will show intercompany amount effect to each account but separate column between AP and AR record.
  • For selected Subsidiary will represent transaction for AP (mean has purchase transaction from another subsidiary) and select another subsidiary which act as Vendor to show relate record as AR (mean selected subsidiary act as customer).
  • This report will retrieve data from Account balance based on chart of account that set to show in report.
  • This report show data relate to document for transaction that select as com conso = Y and has data in field com conso short name.
  • Need to have field to reference com conso code (com conso short name) to summary transaction in report.
  • Print report as excel format.

Sample Report:

Report Details – Criteria:

Criteria
#FieldDescriptionDetails
1SubsidiarySelect Subsidiary for report and will checktransaction record for AP side (Purchasefrom another company and record transaction inAP transaction)name of Subsidiary
2As of YearSelect as of Year to filter transactionInput as at Year to recall report
 3As of MonthSelect as of Month to filter transactionInput as at Month to recall report
4Related Company ARSelect Another Subsidiary for report and willcheck transaction record as AR side (Act asVendor of selected Subsidiary and recordtransaction for Subsidiary as AR transaction)name of Subsidiary 
Report Details
#FieldDescriptionDetails
1Subsidiary NameShow Subsidiary name that select for reportname of Subsidiary
2Intercompany transaction forconsolidationReport NameFixed
3As at Month… Year…Show Month and Year recall the reportBased on month and year select in the criteria
4Related Company ARShow Another Subsidiary name that select tocheck for AR side (Act as Vendor ofselected Subsidiary)List of subsidiaries
Report Column
#FieldDescriptionDetails
1Related Company ARCompany selects ARVendor Name link with Subsidiary thatselect in criteria as Related Company AR
2Contract No Subsidiary APProject No from Subsidiary relate to transactionProject Code of selected subsidiary ex. Project code in transaction
3Sale Type APSale Type from contract No. of SubsidiarySale Type relate to Project order no (reference No,2)
4Contract No Related Company ARProject No from Related Company AR relate totransactionProject Code in Related Company AR which PO# in Sale order =Purchase order No in Subsidiary
5PO NoPO No from transaction of SubsidiaryPurchase order no that Subsidiary issue for Vendor Name link withSubsidiary master from subsidiary select in criteria as RelatedCompany AR (link with the Contract no of Subsidiary in No. 2)
6Sale Type ARSale Type from contract Company ARSale Type relate to Project order no (reference No,4)
7OBSeparate as 3 OB line based on item categoryOB1OB2OB3Group amount by Item category from transaction record. Informationas below only account start with 1 – 3, amount will put in OB1 else willgroup based on item category on transaction
 Group for AP  
8NumberAccount CodeAccounts Code relate to transaction for Purchase that has GL impactfrom Subsidiary selected which reference to Contract no. of Subsidiaryand comso = Y and Vendor from transaction. =. Vendor Reference inRelated Company AR
9NameAccount NameAccounts Name relate to transaction for Purchase that has GL impactfrom Subsidiary selected which reference to Contract no. Subsidiaryand comso = Y and Vendor from transaction. =. Vendor Reference inRelated Company AR
 Group for AR  
10NumberAccount CodeAccounts Code relate to transaction for Sale that has GL impact fromSubsidiary select in Related Company AR which reference to Contractno. from Related Company AR subsidiary and Customer fromtransaction. =. Customer Reference in Subsidiary
11NameAccount NameAccounts Name relate to transaction for Sale that has GL impact fromSubsidiary select in Related Company AR which reference to Contractno. from Related Company AR subsidiary and Customer fromtransaction. =. Customer Reference in Subsidiary
12Diff AP – ARShow different amount between AP and ARFormula calculates different AP and AR per line level
Report Row
#FieldDescriptionDetails
 Group for AP  
1Amount for each columnSummary amount based on each column for AP SideSummary Debit – Credit based on account per line and group bycolumn from Subsidiary selected which reference to Contract no.Subsidiary and com conso = Y and Vendor from transaction. =. VendorReference in Related Company AR
 Group for AR  
1Amount for each columnSummary amount based on each column for ARsideSummary Debit – Credit based on account per line and group bycolumn from Related Company AR selected which reference toContract no. Related Company AR and com conso = Y and Customerfrom transaction. =. Customer Reference in Subsidiary

Our Solution

This requirement can be achieved by creating a new report using a transaction saved search. And this search will retrieve data from all transactions based on chart of account that set to show in report. The data shown in the report is related to reference customer/vendor and subsidiary of all transaction records.

The navigation to the custom report can be added from the classic center. The user can navigate to Reports -> Custom Reports -> Intercompany transaction for consolidation. Then upon clicking the “Intercompany transaction for consolidation”, the user will be redirected to a report page.

The report will first display a detailed report based on the default filters, such as the subsidiary as G-ABLE CO., LTD, As of Month as Current Month and the As of Year as  Current Year, Related Company AR as FIRST LOGIC CO., LTD and then show a sum of the all account column in the report’s last row.

The fields given below will be indicated on the header part of the report.

Criteria/ Available Filter:
#FieldField Name from NS records
1SubsidiarySubsidiary(subsidiary) list
2As of MonthMonth consider from Date(trandate) on transactions.
3As of YearYear consider from Date(trandate) on transactions.
4Related Company ARSubsidiary(subsidiary) list 
Backend Criteria for Report
1Com ConsoTrue
Report Details:
#FieldField Name from NS records
1Company NameSubsidiary(subsidiary) name selected in filter
2Intercompany transaction forconsolidationFixed
3AS at Month … Year …Based on the date(trandate) of transactions
4Related Company ARSubsidiary(subsidiary) name selected in filter

Please see the table below for the report column details for the detailed ‘R Intercompany transaction for consolidation’ report.

Report Column
#FieldField Name from NS records
1Related Company ARReference Vendor Name(custrecord_ref_vendor_comconso) link with Subsidiary that select in criteria as Related Company AR
2Contract No Subsidiary APProject Order(cseg_project_order) from PO transactions filtered under selected in the Subsidiary filter
3Sale Type APSale Type(custentity_saletype) from the PO related project record
4Contract No Related Company ARProject Code from SO transaction in the selected Related Company AR filter.
5PO NoPurchase order No of AP transaction in the selected Subsidiary filter.

Note: Only the details from PO and SO transactions are shown in the report. If a PO has multiple SOs, the PO details will be displayed in the first line with the first SO, and the remaining SO details will be displayed in the following lines without the PO details being repeated.
6Sale Type ARSale Type relate to Project order no in Related Company AR
7OBShows the Separate rows for 3 OB line based on item category of items in the filtered transactions.
OB1
OB2
OB3

Note: We only consider the mentioned 3 OB lines based on the G-Able obligation values of item categories. If any accounts from all transactions have a GL impact but do not have the items with mentioned 3 OB lines, those account’s total will be reported in the first line with the ‘Sales Type’ or ‘None’ value in the same row.
 Group for APFixed
8NumberAccount Number from the GL impact of AP transactions. In the transaction list includes the all transactions in subsidiary with vendor name = Reference vendor name in the Related Company AR record.
Note: The AP account columns in Excel are static. If no transactions have been generated for any accounts, the data will be displayed as zero/empty. And, if a new account is created in the system in future, the script must be updated to include the new account column in the excel file.
9AP TotalSum of all AP transactions in subsidiary with vendor name = Reference vendor name in the Related Company AR record.
 Group for ARFixed
10NumberAccount Number from the GL impact of AR transactions. In the transaction list includes the all transactions in Related Company AR with vendor name = Reference customer name in the subsidiary record.

Note: The AR account columns in Excel are static. If no transactions have been generated for any accounts, the data will be displayed as zero/empty. And, if a new account is created in the system in future, the script must be updated to include the new account column in the excel file.
11AR TotalSum of all AR transactions in Related Company AR with vendor name = Reference customer name in the subsidiary record.
12Diff AP – ARFormula calculates different AP Total and AR Total per line level.
Report Row
#FieldDescription
 Group for AP 
 1Amount for each column in AP sectionThe amount automatically displays the –ve and +ve values based on the GL impact of transactions AP. As a result, the amount will appear in the appropriate account column with the following condition:Com Conso = YVendor from transaction in Subsidiary = Vendor Reference in Related Company ARThe total amount will be displayed in the last row.
 Group for AR 
1Amount for each column in AR sectionThe amount automatically displays the –ve and +ve values based on the GL impact of transactions AR. As a result, the amount will appear in the appropriate account column with the following condition:Com Conso = YCustomer from transaction in Related Company AR  = Customer Reference in SubsidiaryThe total amount will be displayed in the last row.

Finally, on the Suitelet page, an Export button, Subsidiary, Related Company AR, As of Month, and As of Year filters will be added to download the detailed report in Excel format.

When you click the export button, the report will be downloaded in Excel format based on the report’s size in the following cases:

  1. If the file size is less than 10Mb (based on predefined line count), the excel file will be downloaded directly from Netsuite. And in real-time, the excel file will be exported by split files based on the line counts that can be included in the single file.
  2. Otherwise, the Report Download will take place through a scheduled process where there is a delay in the process based on the availability of the Netsuite Queue. For that will make use of a custom record to track the requests
    1. If the file size is greater than 10Mb, then we will split the file into multiple files with predefined line counts in a single file due to the size of each individual attachment cannot exceed 10Mb. And the generated multiple files will be emailed to the initiator’s email if the file count is smaller than or equal to the specific count that we can attach in the email.
    1. If the size of files is greater than the specific count, we will generate multiple files with predefined line counts in a single file. And all generated files will be saved in NetSuite’s file cabinet and attached to the corresponding custom record entry which tracks that Report generation process.

      Once all export functions have been completed in NetSuite, a single email with the custom record link will be sent to the download initiator. The initiator can export files by login to the NetSuite and by navigating to the custom record entry with the link from the email.

The summary line on the Excel file will be calculated based on the result lines included in the corresponding file in the case of split file download

Note: Exported multiple files will be attached to the email is a very exceptional case. i.e. Most of the export function occurs in real-time or the files attached to the custom record.  

Assumptions

  • Each report page can include 1000 lines, with the 1001st line displaying a summary of the Total Amount of all results in the report.
  • The report can be created based the reference searches JJ Intercompany Transaction JS-526 V1 ,JJ Intercompany Transaction JS-526 V2 and Account Search.
  • In this report, we consider all transactions that have a GL impact. The amount automatically displays the –ve and +ve values based on the GL impact of all transactions. As a result, the amount will appear in the appropriate account column with the following condition:
    • Com Conso = Y
    • Vendor from the transaction in Subsidiary  = Vendor Reference in Related Company AR/ Customer from the transaction in Related Company AR  = Customer Reference in Subsidiary
  • The total amount of respective columns will be displayed in the last row.
  • Only the details from PO and SO transactions are shown in the report. If a PO has multiple SOs, the PO details will be displayed in the first line with the first SO, and the remaining SO details will be displayed in the following lines without the PO details being repeated.
  • Will only consider the mentioned 3 OB lines based on the G-Able obligation values of item categories. If any accounts from all transactions have a GL impact but do not have the items with mentioned 3 OB lines, those account’s total will be reported in the first line with the ‘Sales Type’ or ‘None’ value in the same row.

Risks

  • No UI view for the report results on the Suitelet page. Only the option of exporting the report in excel format based on the filters selected in the suitelet page will be available.
  • Only the details from PO and SO transactions are shown in the report.
  • If one PO has multiple SOs, the PO details will be displayed in the first line with the first SO, and the remaining SO details will be displayed in the following lines without the PO details being repeated.
  • Will only consider the mentioned 3 OB lines based on the G-Able obligation values of item categories. If any accounts from all transactions have a GL impact but do not have the items with mentioned 3 OB lines, those account’s total will be reported in the first line with the ‘Sales Type’ or ‘None’ value in the same row.
  • The amount automatically displays the –ve and +ve values based on the GL impact of all transactions.
  • The AP/ AR account columns in Excel are static. If no transactions have been generated for any accounts, the data will be displayed as zero/empty. And, if a new account is created in the system in future, the script must be updated to include the new account column in the excel file.
  • The line counts in the single file to progress with the scheduled process can be confirmed during the development phase.
  • If the file is more than 19Mb, the user should go to NetSuite and manually download the file from the account.
  • The file cabinet will be stored with many files in the future. This will have an impact on the NetSuite account’s file cabinet. So, users have to remove these files from a file cabinet in the future to free up the storage.
  • There will be another risk of combining 3 searches based on the grouping of all item lines, transactions, and GL impact accounts. Because there will be a chance to reach the script execution limit/time limit. So the script may end up with an error without providing the result. The occurrence of this scenario can be confirmed only at the time of development. So we couldn’t guarantee the precision of the report.

Leave a comment

Your email address will not be published. Required fields are marked *