Adjustment Notes (Credits) and $0.00 items
  • coldrick
    Posts:61
    Joined:Wed Mar 12, 2008 10:31 am
    Location:Queensland
    Contact:
    Adjustment Notes (Credits) and $0.00 items

    by coldrick » Tue Mar 25, 2008 12:19 pm

    Using Enterprise Version is there any way to

    1. Disallow a user from entering adjustment notes (sales with a negative value).

    2. Disallow a user from selecting a transaction type of "Adjustment Note" but entering a positive sale value

    3. Suspend invoices that include items of $0.00 value


    Rgds
    Barry
  • COBS Tech Support
    Posts:683
    Joined:Fri Sep 09, 2005 8:23 am

    by COBS Tech Support » Wed Mar 26, 2008 2:46 pm

    You can control whether a transaction can be saved or not if you use the R-ITOTAL.MAC script hook, in conjunction with CBS functions such as ReadItemValue() and ReadTranValue()

    I.e.,

    If ReadTranValue("TOTAL") < 0
    Echo("Sorry negative transactions are not allowed.")
    Return FALSE
    Endif

Who is online

Users browsing this forum: No registered users and 24 guests