Hi I am new in using the SDK for GP
I use the Microsoft Dynamics GP eConnect version 12.000 Runtime version : v2.0.50727
I have a question about the SDK field CKCreditLimit
Up to now I can create a sale orders using the objet taSopHdrIvcInsert and also de details of the sales order using the Object taSopLineIvcInsert_ItemsTaSopLineIvcInsert
Exevrything works except the field CKCreditLimit
My customer told me that if he create a sale order directly in GP (I mean manualy) The credit on hold is activate automaticly
So when he create a sales order using my webpage passing by the SDK in my code I assign the value to the SDk property CKCreditLimit like this
(This code is only the part of the current subject not all the code of my sales order)
// I creat an object for the Header
taSopHdrIvcInsert salesHdr = new taSopHdrIvcInsert();
// By default always to 0 (
salesHdr.CKCreditLimit = 0;
// If my current customer in GP has the credit on hold my checkbox chkHold will be checked
// If the checkbox is checked
if (this.chkHold.Checked == true)
{
salesHdr.CKCreditLimit = 1;
}
After when I create all my lines for the details of my sales order for each line I use the configuration of the header and
assign the CKCreditLimit of the header to each line with the object salesLine of type taSopLineIvcInsert_ItemsTaSopLineIvcInsert
// Like this
salesLine.CKCreditLimit = salesHdr.CKCreditLimit;
When I save the salesOrder everythin his correctly write in GP except the CKCreditLimit is not activated like it is when the sales Order is created manually directly in GP
Is there something wrong in my code
How can i get this done
Thanks in advance :)