Professional Documents
Culture Documents
Gtest 2012
Gtest 2012
Note: Use caution when working with GTEST. Always make a backup first. If necessary, seek the
assistance of a certified Sage Business Partner, Sage Professional Services Group, , or Sage Customer
Support.
The GTEST command can be used to help identify Unbalanced Journals such as indicated in the
error displayed below. GTEST does not correct the out of balance but instead displays the
Journal Entry that Sage ERP X3 is attempting to create during the posting process. For example,
if you are trying to diagnose an out of balance situation while posting a transaction in AR, AP,
Inventory Accounting Interface or WIP accounting interface, you can view the debits and credits
to see where the out of balance is occurring.
Note: To ensure the only thing you are dealing with is the out of balance situation, run the
Accounting or WIP Interface prior to setting the GTEST parameter, otherwise, you will see
debits/credits for every transaction that has yet to post.
The Parameter Value for DBG must be set to “Yes” to use the sigma function. This
parameter value can be set at a folder level or at the user level.
This feature will tell you the last label called before some misbehavior. It will allow you
to focus on the part of a process which seems to be problematic, to call the debugging
tool just before the problem, to open some information box showing data values, etc.
6. Click Ok through all the prompts and then click the Post button (this does not actually
post anything)
7. Click Yes to Validate the Invoice
Now that the GTEST command has displayed the unbalanced journal, you will need to research
the cause of the out of balance. Some common occurrences are:
Missing Lines on the Automatic Journal
Custom Automatic Journals
Rounding in the Amount lines of Automatic Journal
Missing Accounts in Account Codes
To deactivate the GTEST, type sigma(GTEST=0,-1,0) at the Calculator prompt and press enter or
exit X3 to turn off the parameter.