How to run the IM Balance Quantity and Cost-Utility in Versions 4.40 and Higher for Sage 100
Description
How to run the IM Balance Quantity and Cost-Utility in versions 4.40 and Higher
Disclaimer
Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions.
Resolution
For versions 4.40.0.8 and 4.50.2.0 and higher:
Note: Prior to running the IM Balance Quantity and Cost Utility for tiered items, make sure that the Negative Tiers have been adjusted and the Remove Zero Quantity Tiers utility has been run.
- Open Library Master, Main, Company Maintenance, create a new Company Code (i.e. TST) and copy the live company to the new Company Code
- In the TEST company, run the IM CommitCheckClear_utl and IM_ClearCommitDataEntry_utl utilities to clear stranded values in the IM_ItemWarehouse, IM_ItemCost and IM_DataEntryCostCalcCommit files.
- Open Inventory module for the company the utility will run against.
- Enter the module date that is to be used for the CLEAR CST transactions. This is the transaction date that will be used for the corrected transaction entries.
- Open File, Run and type *UTL and OK.
- Select IM Balance Quantity and Cost Utility and OK
- Review the Warning message and click on Yes to run the utility.
- Select the copy Company Code
- On the IM Generic Average Cost Utility window, select a range of items and/or warehouse codes for the utility to process for
- Click Proceed
- Message Do you want to open the Spreadsheet and Update the Items?
- Click Yes and the excel spreadsheet will open automatically to view the items chosen. The spreadsheet will provide the ItemCode, WarehouseCode, IM ItemCost extended cost, IM ItemTransactionHistory extended cost. The difference between these two tables is then presented in the Cost Difference column. The same comparison is done for the quantities and then the difference is provided in the Qty Difference column.
- Closing the excel spreadsheet then launches the next process
- Note: An updated spreadsheet is provided when the utility is done. If want to save this preliminary document use Excel’s File Save AS while it is still open.
- Close the excel spreadsheet when done saving so that the next process is launched
- Answer Yes to Do you want to Update these records?
- Click OK on the message Done.
- When utility is complete, choose Utilities, Recalculate Item History Click Proceed
- When recalculation of history is complete, run reports for verification.
- To view the changes that occurred, open the IM_GenAverageCostXXX.csv file in the ..\MAS90\Home\Textout folder:
- IM ItemTransactionHistory table (these would be records that IZ transactions were created)
- IM ItemWarehouse TotalWarehouseValue, QuantityOnHand, AverageCost changes
- CI Item TotalInventoryValue, TotalQuantityOnHand, AverageUnitCost changes
- Run the Valuation, Trial Balance, and the Valuation By Period Reports for comparison.
For versions 4.40.0.0 , 4.40.0.7 and 4.50.0.0 , 4.50.1.0:
Note: Prior to running the IM Balance Quantity and Cost Utility for tiered items, make sure that the Negative Tiers have been adjusted and the Remove Zero Quantity Tiers utility has been run.
Note: A signed Pre-Release Agreement (PRA) is required in order to receive and install the Generic Average Cost Fix Utility. The Customer Contact Name and email address is required for the PRA. Please contact Sage Customer Support to acquire the PRA and utility.
Once notification from Sage’s Legal department that the signed PRA has been received and recorded:
- Copy the IM_GenAverageCost_utl.m4p, IM_GenAverageCost_utl.pvc, and IM_GenAverageCost_utl.M4L files into the ..\MAS90\IM folder.
- Open Library Master, Main, Company Maintenance, create a new Company Code (i.e. TST) and copy the live company to the new Company Code
- In the TEST company, run the IM CommitCheckClear_utl and IM_ClearCommitDataEntry_utl utilities to clear stranded values in the IM_ItemWarehouse, IM_ItemCost and IM_DataEntryCostCalcCommit files.
- Open Inventory module for the copy company the utility will run against.
- Enter the module date that is to be used for the CLEAR CST transactions. This is the transaction date that will be used for the corrected transaction entries.
- File, Run, type syzcon Click OK
- Type at the > run “IM_GenAverageCost_utl.m4p”
- Select the copy TEST Company Code
- On the IM Generic Average Cost Utility window, select a range of items and/or warehouse codes for the utility to process for
- Click Proceed
- Message Do you want to open the Spreadsheet and Update the Items?
- Click Yes and the excel spreadsheet will open automatically to view the items chosen. The spreadsheet will provide the ItemCode, WarehouseCode, IM ItemCost extended cost, IM ItemTransactionHistory extended cost. The difference between these two tables is then presented in the Cost Difference column. The same comparison is done for the quantities and then the difference is provided in the Qty Difference column.
- Closing the excel spreadsheet then launches the next process
- Note: An updated spreadsheet is provided when the utility is done. If want to save this preliminary document use Excel’s File Save AS while it is still open.
- Close the excel spreadsheet when done saving so that the next process is launched
- Answer Yes to “Do you want to Update these records?”
- Click OK on the message Done. Results can be viewed in
- When utility is complete, choose Utilities, Recalculate Item History Click Proceed
- When recalculation of history is complete, run reports for verification.
- To view the changes that occurred, open the IM_GenAverageCostXXX.csv file in the \MAS90Home\Textout folder:
- IM ItemTransactionHistory table (these would be records that IZ transactions were created)
- IM ItemWarehouse TotalWarehouseValue, QuantityOnHand, AverageCost changes
- CI Item TotalInventoryValue, TotalQuantityOnHand, AverageUnitCost changes
- Run the Valuation, Trial Balance, and the Valuation By Period Reports for comparison.
Utility Logic Processing
This utility assumes that the values in the IM ItemCost table are correct then recalculates the Qty, Value & Average Cost in the CI Item, IM ItemWarehouse as needed and creates adjustment transactions in IM ItemTransactionHistory for LIFO, FIFO, LOT and SERIAL valued items so all 4 tables are in sync with IM ItemCost. The IZ transaction with have an entry in the EntryNo field of “RECALC CST”and in the TransactionEntryComment field of “IM_GenAverageCost_utl”
Additional Information:
Additional Notes:
Inventory/Utilities/Recalculate Item History – Once the utility has completed, the Recalculate Item History must be run to correct the PeriodPostingHistory, ItemWarehouseHistoryByPeriod, ItemCustomerHistoryByPeriod, ItemVendorHistoryByPeriod and the ItemTransactionRecalc tables. The ItemTransactionHistory table is used to repopulate these history tables.
Trial Balance and Valuation By Period reports – These reports using the PeriodPostingHistory table. The PeriodPostingHistory table contains the Beginning Balance and PeriodChangeQty and PeriodChangeDollarAmts which should match the Detail Transaction Report when run for the same period.
Valuation report – This report uses the ItemWarehouse TotalQuantityOnHand multiplied by the UnitCost to calculate the ExtendedCost.
Support
If necessary, seek the assistance of Acute Data Systems to help provide assistance with this process.