Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Automatically release a Sales order, create Warehouse Shipment and Create Pick

Posted on by 35

We have an E-commerce store connected to Business Central that automatically creates a Sales Order. 

After the Sales Order is created, we now have to do a couple of manual steps:

  1. Open Sales Order
  2. Release Sales Order
  3. Warehouse Shipment page > Create Pick

Because we have the validation in our E-commerce store that every Sales Order is correct, we don't have to manually do the steps above. Is there a way (with scripting perhaps) to automate these steps?

So essentially that a Sales Order automatically creates a Pick.

Categories:
  • Automatically release a Sales order, create Warehouse Shipment and Create Pick
    i want to create this automate setup please guide me also give me code of this setup please
     
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automatically release a Sales order, create Warehouse Shipment and Create Pick

    Maddie,

    To fully automate this I would ask your Partner to create a Job Queue that does the following:

    1. Checks for Sales Order for e-commerce Type

    2. Create Warehouse Shipment

    3. Take #2 Warehouse Document and Create Warehouse Pick

    This can be done very simply and they should help you.

    Thanks,

    Steve

  • MaddieGreen Profile Picture
    MaddieGreen 35 on at
    RE: Automatically release a Sales order, create Warehouse Shipment and Create Pick

    Hi Marisun,

    We ended up having a developer code this in for us so it would be automatic. Later on we did change our environment to Basic warehousing because that suited our business better, so the code was made redundant.

  • MarisolC Profile Picture
    MarisolC 338 on at
    RE: Automatically release a Sales order, create Warehouse Shipment and Create Pick

    Hi Maddie, I want to ask you how did you ended solving this? I'm facing same situation and any bright idea could help me...

    Thanks...

  • jerome77 Profile Picture
    jerome77 on at
    RE: Automatically release a Sales order, create Warehouse Shipment and Create Pick

    Hi Maddie

    You can run regular task:

    docs.microsoft.com/.../devenv-task-scheduler

    So maybe by using task around codeunit 7312 (which is the object that creates pick) you may be able to get pick created when warehouse shipment created (by setting scheduler on regular basis).

    I believe you will need customization to achieve your needs, like when you set release to sales order, then create warehouse shipment auto and from warehouse shipment create the pick automatically.

    Kind regards

    Jerome

  • MaddieGreen Profile Picture
    MaddieGreen 35 on at
    RE: Automatically release a Sales order, create Warehouse Shipment and Create Pick

    Hi Jerome,

    Thanks for your quick reply!

    It seems like we do need a warehouse shipment. I'm going to double check if this is the case. If we could skip unnecessary steps, why not right?

    Could you elaborate on the Recurring que task for CodeUnite 7312 a bit more? If we don't need a warehouse shipment, do we still use this method? And is this method a foolproof way to automate the steps I highlighted above?

    Kind regards

  • Suggested answer
    jerome77 Profile Picture
    jerome77 on at
    RE: Automatically release a Sales order, create Warehouse Shipment and Create Pick

    Hi

    Maybe by creating recurring queue task around CodeUnit 7312 could be something to check.

    the thing is that it looks like you need also the warehouse shipment.

    You could also go with pick needed but not required shipment added, then creating inventory pick from the sales order and post it would save 1 step meaning the warehouse shipment.

    Kind regards

    Jerome

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans