Skip to main content

Notifications

Microsoft Dynamics AX forum
Suggested answer

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

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

  • 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... 290,107 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.

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 227,969 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans