cancel
Showing results for 
Search instead for 
Did you mean: 

ARB - another unique field besides firstname and lastname

I'm using the sample ARB code that's posted on this site and it works fine. My question is this:

 

What if I have 2 people with the same name in the same company. I'm using "BillToFirstname" and "Bill to lastname".

 

1. I create a subscription for John Smith..Today at 1 PM.

2. Then I create a second subscription for John Smith because we have 2 poeple named that.

3.The second one fails because there's already another John Smith subscription.

 

How can I make the names unique? should I add an empplyee ID at the end of the last name?? This is the code i have:

sub.payment =

newPaymentType();

        sub.payment.Item = creditCard;

        sub.billTo =

newNameAndAddressType();

        sub.billTo.firstName = firstname;

        sub.billTo.lastName = lastname;

 

 

 

eramgarden
Contributor
1 REPLY 1
eramgarden
Contributor