List price on forms
  • Jason
    List price on forms

    by Jason » Fri Jul 14, 2006 3:24 pm

    I've recently assigned a list price to my customers, in the "List Price" field on the customer account. However, when I go back and print invoices, the List Price for the invoices prior to me making this assignment are blank.

    How would I go about creating a script that can check if the list price is zero, and if it is, use a list price based on the customer's standard list price? But I want it to use the list price on my invoice, if the list price is not zero on my invoices.

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

    by COBS Tech Support » Fri Jul 14, 2006 3:25 pm

    On your invoice form try this script:

    If Contents->Listprice = 0
    If .Not. IsEmpty(Custrec->Cuslistex)
    Return Stock->(GetField(Custrec->(GetField("CUSLISTEX"))))
    Endif
    Endif

Who is online

Users browsing this forum: No registered users and 25 guests