web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Validating CustomerCreditLimit while generating PackingSlip

(0) ShareShare
ReportReport
Posted on by 3,089

Hi Experts,

 

I have to modify the senario, while I am posting the Packing Slip from the Sales Order. It shows me the CustomerCreditLimit. I just need to know in which class and method I should write my code to modify the calling of CustCreditLimit. because In my case if the Sales Order [Payment] type is cash, system shouldn't go to validate the customer credit limit.

 

Please, help me regarding this.... It's urgent.

 

 

Best Regards,

Ahmed Alam

*This post is locked for comments

I have the same question (0)
  • KyleLeBarre Profile Picture
    747 on at

    I'm not familiar with that particular function but I'm assuming you'll find something if you poke around the SalesFormLetter or SalesFormLetter_PackingSlip classes.

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Dear Kyle,

    Can you please more specific related to these two classes. Because I was unable to find out which particular method is validating the Customer Credit Limit

    The path is from where I am looking for.

    AX 2012 R2 > AR > All Sales Order > Pick and Pack > Packing Slip

  • Rachit Profile Picture
    4,015 User Group Leader on at

    Hi,

    You can check in classes\SalesFormLetterProvider, there is a function mustCheckCreditLimit() which determines if credit limit needs to be checked. You can add your conditions in this method to bypass the credit limit check.

    The method mustCheckCreditLimit()  is called from function creditMaxOk() of the same class.

    Thanks,

    Rachit Garg

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Dear Rachit,

    It's very helpful to resolve the issue. One thing, the class and method you have mentioned is applicable for Profroma- Packing Slip not on Packing slip. Can you please help me in this.

  • Community Member Profile Picture
    on at

    Hi Ahmed,

    Did you manage to bypass the credit limit checking on Packing Slip? Iy yes, can you tell me how to do it?

    Thx

    Regards,

    Dar

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Dear Experts,

    I am still looking for it for the Sales Packing Slip and Sales Invoice to get the specific method from where system validate the Customer Credit Limit.

    Regards,

    Ahmed

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Hi Dar,

    Did you get the answer of the above question. If yes please let me know.

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Hi Rachit,

    I  am still looking for the help related to the Sales Packing Slip and Sales Invoice customer credit Limit.

    Best Regards,

    Ahmed

  • Rachit Profile Picture
    4,015 User Group Leader on at

    Hi Ahmed,

    During packing slip and also during invoice the method mustCheckCreditLimit()  on SalesFormLetterProvider class is getting called to validate the credit limit. Can you explain your issue in more detail.

    Thanks,

    Rachit Garg

  • Vuong Bao Profile Picture
    130 on at

    Hi Ahmed.

    Did you find the class validate credit limit when posting confirmation or PS?

    BH

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans