Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Credit Hold

(0) ShareShare
ReportReport
Posted on by 5
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 :)
 
  
 
 
 
Categories:
  • Suggested answer
    sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    Credit Hold
    Hello,
    May be your order went on HOLD? Can you please check if the Transaction is on HOLD or not?
     
    Thanks mcuh
    Sandip

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans