Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Release AP Bathces

(0) ShareShare
ReportReport
Posted on by 60

How to release a certain set of batches from Release AP Batches in Automatic manner without using the Dynamics SL. 

Is Any default .NET Code will support this , like call 0341000.exe file .

Kindly advise.

*This post is locked for comments

  • IbrahimSO Profile Picture
    IbrahimSO 60 on at
    RE: Release AP Bathces

    Thanks for your advice.Your help is very much appreciated.

  • Verified answer
    Erich Strelow F Profile Picture
    Erich Strelow F 2 on at
    RE: Release AP Bathces

    If the batche's data is already setup, I'd go with a Transaction Import approach.

    First, setup an import control file named release.ctl such as this:

    Batch,cbatnbrb,cbatchandling


    Then, each time you need to release a set, generate a data file such as:

    Batch,000101,R
    Batch,000102,R
    Batch,000103,R


    For the sample, we'll name the data file set100.txt

    With that, the following call will open each of the batches and release them. With this approach, you must be logged to whichever company the batches belong, though

    0301000.exe TITM=3 TD=set100.txt TC=release.ctl TO=release.log

    There's some other options that may come handy. Further automation can be achieved with the Application Server.
     

  • NameBrands Profile Picture
    NameBrands 50 on at
    RE: Release AP Bathces

    You could probably use SendKeys, but I wouldn't recommend it.

    msdn.microsoft.com/.../system.windows.forms.sendkeys%28v=vs.110%29.aspx;MSPPError=-2147217396

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans