Variables for order data

 

Link a variable with an order item

 

Use this to pass information from the Orders screen to the other sections of the program.

 

For example, to print the customer name, which appears on the Orders screen, on to a label for a product:-

 

Set up a variable and associate it with the Customer name field

 

This variable can then be used when the product label is printed The items on the Orders screen that can have variables associated with them are shown in Parameters 5 to 28.

 

Description                           Value

5. Order                             ORDNUM

6. Order date

7. Customer code

8. Customer name                   CUSTNAME

 

In the above example we have chosen to set up two variables one for Order number with a variable name of ORDNUM and one for the Customer name with a variable name of CUSTNAME.

 

Also add these variables to the variables table and set up the product label format to print these variables on a label. Note - set up these items as GLOBAL variables in the variable table.

 

Note -  for the invoice address and delivery address set up a line of the address as a separate variable. Call them something like:-

 

Invoice1

Invoice2

Invoice3

Invoice4

Invoice5


See also