T
Touche'' Techie
I have an ERP solution that I am hardening.
In an inventory transaction form there is a field in which you select if the
transaction is a sale, rec'd, return, etc. In another field you enter the #
in the transation. I want a validation rule checking that if the transaction
is "sold" that the # in the transaction is entered as negative, rec'd =
positive... etc.
My thoughts were something like this for a validation rule:
(< 0 and ([Transaction Type]=IN("Sold","Shrinkage")))or(>=0 and
([Transaction Type]=IN("Begin","Return","Rec'd")))or(<>0 and ([Transaction
Type]=IN("Inventory")))
This throws an error of invalid syntax, but I don't know if I am way off
base on how I am doing this or if am I missing something minor?
In an inventory transaction form there is a field in which you select if the
transaction is a sale, rec'd, return, etc. In another field you enter the #
in the transation. I want a validation rule checking that if the transaction
is "sold" that the # in the transaction is entered as negative, rec'd =
positive... etc.
My thoughts were something like this for a validation rule:
(< 0 and ([Transaction Type]=IN("Sold","Shrinkage")))or(>=0 and
([Transaction Type]=IN("Begin","Return","Rec'd")))or(<>0 and ([Transaction
Type]=IN("Inventory")))
This throws an error of invalid syntax, but I don't know if I am way off
base on how I am doing this or if am I missing something minor?