FAQ

Home / FAQ / How can I force user either insert the supplier or define the the account 1020901 as a debit account

How can I force user either insert the supplier or define the the account 1020901 as a debit account


You have to define the following criteria based validation for the stock receipt:

In the {When query}, enter the query(select case when {supplier.id} is null)

In the {Then Query}, enter the following query (select case when {subsidiary.code} =’1020901′ then 0 else 1 end)