How to Calculate Current Quantity on Hand on Custom Reports in Sage Accpac ERP

By | August 18, 2011

We all know that certain fields that are available in Accpac Views are calculated fields and not stored physically in SQL table.

So sometimes when we want these fields on our reports we don’t get them as reports directly access the SQL tables and not the views, so we have to write our own calculations to populate the values of such fields on our report.

Quantity On hand is one such field, Accpac does stores QTY ON HAND in QTYONHAND field of ICILOC table but that holds the Quantity On Hand when the last day end is run. If you need to know Current QTY ON HAND then there is a field AQTYONHAND which is available in View but not in Database.
So if you need to show current QTY ON HAND on your report you need to calculate this by your own.
Here is the formula on how to calculate the value that we see in AQTYONHAND field.
[You’re Variable] = QTYONHAND+QTYRENOCST+QTYADNOCST-QTYSHNOCST

Below is the description of all the fields discussed above…

  • QTYONHAND : Quantity on Hand (Last Day End)
  • QTYRENOCST : Quantity Received Not Costed
  • QTYADNOCST : Quantity Adjusted Not Costed
  • QTYSHNOCST : Quantity Shipped Not Costed
  • QTYONHAND : Holds the Quantity On Hand when the last day end is run.
  • AQTYONHAND : It holds the Quantity On Hand at present.

About Us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix offers unique GUMU™ integrated solutions of Sage 300 with Sage CRM, Salesforce.com and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration service for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and in Sage 300c development services we offer services such as upgrades of older codes and screens to new web screens, newer integrations using sdata and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers over 20+ Sage 300 productivity enhancing utilities that we can help you with such as GreyMatrix, Document Attachment, Document Numbering, Auto-Bank Reconciliation, Purchase Approval System, Three way PO matching, Bill of Lading and VAT for Middle East.

For more details on Sage 300 and 300c Services, please contact us at accpac@greytrix.com. We will be glad to assist you.