[英]EConnect not inserting a customers credit limit in GP
I have an application that uses EConnect to import information into GP. 我有一个使用EConnect将信息导入GP的应用程序。 When I import customers using the taUpdateCreateCustomerRcd node I want to include a credit limit.
当我使用taUpdateCreateCustomerRcd节点导入客户时,我希望包括信用额度。
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?
有什么想法我为此错过的吗?
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. 信用额度百分比也是如此。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.