Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

Credit Hold

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 :)
 
  
 
 
 
  • Suggested answer
    sandipdjadhav Profile Picture
    sandipdjadhav 18,252 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans