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 :
Finance | Project Operations, Human Resources, ...
Answered

How to add custom validation in standard Picking list generate batch job.

(4) ShareShare
ReportReport
Posted on by 96
I want to put validation in picking list batch job in D365 f&o which is of Standard. Now i have extended salesformletter and salesformletter_pickinglist but the issue seems when i generate the picking list in batch. So basically the extensions on table salesparmline, on class SalesFormLetter and SalesFormLetter_Pickinglist are not getting involved while debugging as i want to perform my custom validation in Batch Job of Picking list. 

My Question is ; Is it possible to extend the standard "Generate Picking list"  batch job ? I have tried but seems like it only allowed me to perform validations only on FormDialog before putting the SalesOrder in Batch. 

Here is the path; 



Thanks in advance :)
I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at
     
    What is the nature of your validation? What will it validate? It is important to understand the validation before determining the appropriate location to implement it.
     
    Extensions on classes like SalesPickingListJournalCreate, SalesPickingListJournalCreateBundle_Extension, SalesPickingListJournalCreateCredMan_Extension, and SalesPickingListJournalPost may be good candidates for implementation, but it's hard to say definitively without having all the details.
     
  • harshil9898 Profile Picture
    96 on at
    Thanks for the suggestion @Sohaib Cheema
     
    In my case sales orders are created from the third party application and we are including them in d365 f&o using integration. Now when the batch runs i want to validate the sales orders which are created should not generate the picking list of the order whose products are restricted in the country. The list of country is what i have to hardcode or will do something for that in future but this is my current requirement as of now we can consider that this kind of validation is what i want to put. So please guide me accordingly.
    Also, please suggest me the appropriate method of class to override if we have to use COC.
     
    Thanks. 
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    Hi,
     
    Have you check the standard feature for export control? See the documentation:
    Advanced export management overview - Supply Chain Management | Dynamics 365 | Microsoft Learn
     
    Will this meet your requirement without adding a customization?
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at
    Updated:
     
     
    This is something new for me to learn, Advanced Export Control. 
     
    Thanks for sharing.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans