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".