Hi guys,
I'm sure I've done this before successfully but not for a while and I have got stuck this time around
In this validation fo a certani document type, certain accounts cannot use a certain profit centre.
So far, so easy.
However, I want the validation to include the account number in the error message.
My current effort produces an error message when required but the message doesn't include the variable account number:
Step 1:
Condition (PC=PC999)
--False --> do nothing
--True --> Step 2:
-
Condition "&1" (Account=AccountList)
-
False --> do nothing
-
True --> Error message "Account &1 cannot post to PC999"
NB This is a per line item validation assigned to a document type
The validation works but the message is received is only"Account cannot post to PC999" (there is an extra space were I expect the account number to be)
Any ideas?