0

I have an application that uses EConnect to import information into GP. When I import customers using the taUpdateCreateCustomerRcd node I want to include a credit limit.

Here is the code I am using to insert the credit limit:

customer.CRLMTTYP = 2;
customer.CRLMTAMT = 1000;

For some reason the credit limit doesnt get imported for the customer. Any ideas what I am missing for this?

Kristen
  • 443
  • 1
  • 12
  • 25

1 Answers1

0

For anyone else that comes across this issue I figured out my problem. When you specify a credit limit type and amount you need to include the following:

customer.CRLMTTYPSpecified = true;
customer.CRLMTAMTSpecified = true;

Same goes for credit limit percentage.

Kristen
  • 443
  • 1
  • 12
  • 25