QSRules help for address fields

May 15, 2007 0 Replies

Hello.



Since RMS 1.3 does not show the COUNTRY of the customer and we need this info when we are shipping orders, we altered the STATUS.HTM to include the customer's country and email address.



Then I made an additional html file that is called via add-in buttons in POS screen.



This html screen shows the customer's address in block format so we can copy and paste it into our DAZZLE (Endicia) mailing program.



Problem is, it calls the BILLING address instead of the SHIPPING address.



What is the name of the SHIPTO address? I have tried substituting SHIP and SHIPTO for the word HOME, but that doesn't work.



I know nothing about QSRULES..but I'd like to learn..one day.


Here is the code:


If QSRules.Transaction.Customer.Loaded Then



Custom1 = QSRules.Transaction.Customer.HomeAddress.StreetAddress Custom2 = QSRules.Transaction.Customer.HomeAddress.StreetAddress2 Custom3 = QSRules.Transaction.Customer.HomeAddress.City Custom4 = QSRules.Transaction.Customer.HomeAddress.State Custom5 = QSRules.Transaction.Customer.HomeAddress.Zip Custom6 = QSRules.Transaction.Customer.HomeAddress.Country Custom9 = QSRules.Transaction.Customer.Name End If


Thanks!



Mickie


Join the Discussion

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

Didn't find your answer?

Ask the community — no account required