EConnect 未在 GP 中插入客户信用额度

EConnect not inserting a customers credit limit in GP

我有一个使用 EConnect 将信息导入 GP 的应用程序。当我使用 taUpdateCreateCustomerRcd 节点导入客户时,我想包括一个信用额度。

这是我用来插入信用额度的代码:

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

由于某种原因,没有为客户导入信用额度。我对此缺少什么想法?

对于遇到此问题的任何其他人,我已经解决了我的问题。当您指定信用额度类型和金额时,您需要包括以下内容:

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

信用额度百分比也是如此。