Skip to Content
0
Former Member
Mar 09, 2009 at 08:48 AM

Customer's Paymethods

55 Views

Hi,

I'm working with DI API, and I have a problem with Customer's Paymethods.

For example:

Customer:

Contado: ckeck True

Bimensual:ckeck True

When I use this code:

Set oBusinessPartners= oCompany.GetBusinessObject(oBusinessPartners)

oBusinessPartners.GetByKey vsCarCodeCliente

oBusinessPartners.BPPaymentMethods.PaymentMethodCode = "Trimestral"

oBusinessPartners.Update

The result is:

Customer:

Contado: ckeck False

Bimensual:ckeck False

Trimestral:ckeck True

How Can I maintain selected all paymethod into the customer?

Thanks in advance!!