Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

where customer Credit limit is checking in x++ while Sales order posting

(0) ShareShare
ReportReport
Posted on by 1,309

Hi All,

I have done the setup for Customer credit limit and while posting/ confirming sales order its showing error correctly.

Now i need extra validation like there is extra credit limit(custom field) will give addition to actual credit limit for some customers.

While checking credit limit , it has to check that extra credit limit also.

I don't know where to write code for the above.

Please suggest.

Thanks & Regrds,

Sathish

*This post is locked for comments

  • B K Sharma Profile Picture
    735 on at
    RE: where customer Credit limit is checking in x++ while Sales order posting

    If its answer to your question, Please mark as verified

  • Sathish_Chinnappan Profile Picture
    1,309 on at
    RE: where customer Credit limit is checking in x++ while Sales order posting

    Hi Sharma,

    Thanks for the reply.

    I have done my coding in CustCreditLimit/Check class already, but it not worked.

    after restarting the service its working.

  • Suggested answer
    B K Sharma Profile Picture
    735 on at
    RE: where customer Credit limit is checking in x++ while Sales order posting

    Hi Sathish,

    Please check this classes in ax, This is actual classes used when customer balance check validation imposed, you can search actual validation msg label id to search the location where this msg written

    CustCreditLimit

    CustCreditLimit_CustInvoiceTable

    CustCreditLimit_SalesParmTable

    CustCreditLimit_SalesTable

  • Sathish_Chinnappan Profile Picture
    1,309 on at
    RE: where customer Credit limit is checking in x++ while Sales order posting

    Hi,

    Thanks for the reply.

    Edit button is not coming for that error.

  • André Arnaud de Calavon Profile Picture
    292,863 Super User 2025 Season 1 on at
    RE: where customer Credit limit is checking in x++ while Sales order posting

    Hi Sathish,

    To find the coding, you can use the debugger. When you get the error as system administrator, you would be able to click the 'Edit' button from the Infolog window. It will open the coding which raised the error. Then you can directly read the coding or set a breakpoint for the debugger.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans