Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 1,307

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
    B K Sharma 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
    Sathish_Chinnappan 1,307 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
    B K Sharma 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
    Sathish_Chinnappan 1,307 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
    André Arnaud de Cal... 291,904 Super User 2024 Season 2 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans