Skip to main content

Notifications

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

Post Batch and currency difficulty

(3) ShareShare
ReportReport
Posted on by 7
Hi. 
 
I have multiple sales orders I want to post with the "Post batch" function. I open the "Post batch..." window, and mark Yes to replace Posting Date with the current date in the "Posting Date field" - shown in the picture below.
 
 
My question is then. For each order that has another posting date, other than the current date in "Posting Date", it will stop the whole prosess and ask me:
"If you change Currency Code, the existing sales lines will be deleted and new sales lines based on the new information on the header will be created.
Do you want to continue?"
 
Is there any way to avoid having BC ask this question for each sales order?
Edit: I should say that this problem started occuring last week..
  • Suggested answer
    tanya07 Profile Picture
    tanya07 1,596 on at
    Post Batch and currency difficulty
    Hello Peter,
     
    For customization, you can tweet the code for the event under Sales Header Table - OnBeforeUpdateCurrencyFactor .

    Hope that helps!
    Thanks,
    TK
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,919 Super User 2025 Season 1 on at
    Post Batch and currency difficulty
    Yes, this is the only thing that you can achieve through customization.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,147 Super User 2025 Season 1 on at
    Post Batch and currency difficulty
    Valentin is right, this can only be done through customization.
    However, you can try the following method. If you do not execute it through the UI, some standard BC confirmations will not be displayed.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 25,785 Super User 2025 Season 1 on at
    Post Batch and currency difficulty
    I don’t believe this is possible with standard functionality. This prompt always appears when you open a sales order with a currency code and change the posting date, so the system needs to know the same when you post orders using the batch function. 

    To avoid this, you could have a developer customize the post batch function so that the system automatically selects "Yes" or "No" for the popup, preventing it from appearing.
     

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans