PROPOSAL FOR INVENTORY AGING REPORT

Proposal summary

JCurve Solutions would like to create new a report to retrieve data from Purchase orders and Item receipts with getting details from inventory item Lot/ Serial item that are still available on date recall report. In case an item in one purchase order has an item receipt more than one time, it will show a separate line based on the receipt date. And print reports in Excel format.

Requirement

New report ‘Inventory Aging Report’ to retrieve data from Purchase orders and Item receipts with getting details from inventory item Lot/ Serial item that are still available on date recall report. In case an item in one purchase order has an item receipt more than one time, it will show a separate line based on the receipt date. And print reports in Excel format.

Assumptions:

  • This report will retrieve data from Purchase order and Item receipt with get details form inventory item Lot/ Serial item that still available on date recall report
  • In case item in one purchase order has item receipt more than one time, it will show separate line based on receipt date
  • Print report as Excel format

Sample

Report Details – Criteria:

Criteria
#FieldDescriptionDetails
1SubsidiarySelect Subsidiary for reportname of Subsidiary
2As at dateSelect as at date for reportInput range date to recall
Report Details
#FieldDescriptionDetails
1Company NameShow Subsidiary name that select for reportname of Subsidiary from custrecord_rapid_tht_company_legalname
2Inventory aging reportReport NameFixed
3As at dateShow date as atBased on date select in the criteria
Report Column
#FieldDescriptionDetails
1Project IDProject IDProject ID from line level of Purchase order
2Sale TypeSale TypeSale type from line level of Purchase order
3CustomerCustomerReference customer from reference so no in Purchase order line
4Sale ManSale personReference sale rep from reference so no in Purchase order line
5PO#Purchase order NoPurchase order number
6SupplierVendor NameVendor Name from Purchase order
7Item CategoryItem CategoryItem category from line level of Purchase order
8StatusProject StatusReference to project status
9Item ClassItem ClassItem class from item master data
10BrandBrandBrand from item master data
11Item / PartItemItem from Purchase order
12DescriptionDescriptionDescription of item from Purchase order
13UnitUnitUnit of item from Purchase order
14Receipt DateItem receipt dateItem receipt date
15CostTotal cost based on item receiptQuantity from item receipt * rate with cost that already landed to item receipt
16QuantityQuantity ReceiptQuantity from item receipt relate to item in purchase order
17AgeCompare date of item receipt and report dateCalculate date different from item receipt with report date
18180 Days Calculate date different from item receipt with report date >= 180
19270 Days Calculate date different from item receipt with report date >= 270
20360 Days Calculate date different from item receipt with report date >= 360
21450 Days Calculate date different from item receipt with report date >= 450
22540 Days Calculate date different from item receipt with report date >= 540
23More than 540 Days Calculate date different from item receipt with report date > 540

Our Solution

This requirement can be achieved by creating a new report using a saved search. And this search will retrieve data from Purchase orders and Item receipts with getting details from inventory item Lot/ Serial items that are still available on the date recall report. In case an item in one purchase order has an item receipt more than one time, it will show a separate line based on the receipt date.

The navigation to the custom report can be added from the classic center. The user can navigate to Reports -> Custom Reports -> Inventory Aging Report. Then upon clicking the “Inventory Aging Report”, 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., LTDI, and the As at date filter as today, and then show a summary of the total amount in the report’s last row.

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

Filters/ Criteria tabs Shown in Report Page:
#FieldField Name from NS records
1SubsidiarySubsidiary(subsidiary) list
2As at dateDate(trandate) from item receipt
Backend Criteria for Report:
1TypePurchase Order
2Applying TransactionItem Receipt
Report Details:
#FieldField Name from NS records
1Company NameSubsidiary(subsidiary) name selected in filter
2Inventory aging reportFixed
3As at dateDisplay the date selected in the criteria

Please see the table below for the report columns for the detailed ‘Inventory Aging’ report.

Report Column:
#FieldField Name from NS records
1Project IDProject Order from line level of Purchase order
2Sale TypeSale Type  from line level of Purchase order
3CustomerCustomer from Reference SO NO line of Purchase order
4Sale ManSales 1 from  line level of Reference SO NO of purchase order
5PO#PO#(tranid) from the purchase order record
6SupplierVendor Name(entity) from Purchase order
7Item CategoryItem category from line level of Purchase order
8StatusStatus of the project on a related Reference SO NO line in purchase order record [Purchase Order Search + Sales Order search(Project join fields)= Common field is Reference SO NO]
9Item ClassItem class(custitem_itemclass) under custom subtab on item master record
10BrandBrand(custitem_brand) under custom subtab on item master record
11Item/ PartItem name from purchase order record
12DescriptionDescription(purchasedescription) from item master record
13UnitUnit from line level of purchase order
14Receipt DateDate from item receipt(Will show separate lines if one PO has multiple item receipts)
15CostFormula field: Qty * rate from item receipt
16QuantityQuantity from line level of item receipt
17AgeCalculate date difference from item receipt with the date selected in filter
18180 DaysCalculate amount(Qty*Rate) from item receipt based on date difference from item receipt with the date selected >= 180
19270 DaysCalculate amount(Qty*Rate) from item receipt based on date difference from item receipt with the date selected >= 270
20360 DaysCalculate amount(Qty*Rate) from item receipt based on date difference from item receipt with the date selected >= 360
21450 DaysCalculate amount(Qty*Rate) from item receipt based on date difference from item receipt with the date selected >= 450
22540 DaysCalculate amount(Qty*Rate) from item receipt based on date difference from item receipt with the date selected >= 540
23More than 540 DaysCalculate amount(Qty*Rate) from item receipt based on date difference from item receipt with the date selected >540

Finally, on the report page, an Export button 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.
  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 if a custom record to track the requests
    1. If the file size is greater than 10Mb & the total email size is less than 19Mb,  the download process will take a long time. So that 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. According to the limitations of Netsuite, the total message size (including attachments) in the email must be 20MB or less.
    2. If the file size is greater than 19Mb, the download will take a long time, and all of the results will not load in a single file and email.

      To overcome this, 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 splitted file download. 

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.

Risks

  • 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.

Leave a comment

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