Entry.Salesrep.Name not working on receipt

Sep 15, 2005 1 Replies

I want to show the SalesRep name (not number) on the receipt for each item, so I've changing the default receipt.xml file. Below this line:


I added this line:



"Sales Rep: " Entry.SalesRep.Name "|Sales Rep #: " Entry.SalesRep.Number



but the name of the sales rep is always "Sales". Checking the database, the name should be "SalesRep1" (in my test database). What am I doing wrong? The sales rep number is correct, but the name is always the constant "Sales".


Just shorten the name of sales reps or omit "~" suffix at line of . The "~" suffix will truncate text to fit the column length.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required