Hi All,
I am using the version MFG/PRO eb2.
I am validating the valid account combination through the standard below QAD program
like below
DEFINE VARIABLE m_flag AS LOGICAL NO-UNDO.
{gprunp.i "gpglvpl" "p" "initialize"}
{gprunp.i "gpglvpl" "p" "validate_fullcode"
"(INPUT poacct, input posub,
input pocc, """",
OUTPUT m_flag)"}.
if m_flag is "no" then it is an invalid account combination. I am getting it correct.
However, when it is invalid/in active I am writing it in the error file. However, it throws the error message like "ERROR: Invalid account code. Please re-enter" which I want to avoid.
Is there any other way to do this? Please help me. Thanks in advance
I am using the version MFG/PRO eb2.
I am validating the valid account combination through the standard below QAD program
like below
DEFINE VARIABLE m_flag AS LOGICAL NO-UNDO.
{gprunp.i "gpglvpl" "p" "initialize"}
{gprunp.i "gpglvpl" "p" "validate_fullcode"
"(INPUT poacct, input posub,
input pocc, """",
OUTPUT m_flag)"}.
if m_flag is "no" then it is an invalid account combination. I am getting it correct.
However, when it is invalid/in active I am writing it in the error file. However, it throws the error message like "ERROR: Invalid account code. Please re-enter" which I want to avoid.
Is there any other way to do this? Please help me. Thanks in advance
Attachments
Last edited: