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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Disable Compress Prepayment by default

(0) ShareShare
ReportReport
Posted on by 10

Hello everyone,

how can I disable Compress Prepayment by default?

pastedimage1619427362836v1.png

Thanks in advance

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Alberto,

    As of now there is no option to disable the 'Compress Prepayment'  by Default.  You need to do this manually on the Sales Orders.

    In case you think, there should be an option to set this 'Compress Prepayment'  by Default through Setup then you might create an IDEA in ideas site about that Ideas (dynamics.com)

  • Suggested answer
    albercuba Profile Picture
    10 on at

    So, there are 2 options:

    1 - Edit the Table 36 (Sales Header), look for the Compress prepayment field and change the InitValue property to NO. This needs to be done by a developer.

    2 - Create a flow with Power Automate

    pastedimage1619436589417v1.png

    In the Update record action, scroll down until you find the Compress Prepayment field and set it to No

    pastedimage1619436636707v2.png

    When you create the sales order, the Compress Prepayment option will be enabled, but after a few seconds the flow will change the setting in the background and will disable it.

  • Community Member Profile Picture
    on at

    Hi,

    As of now this feature is not available through setup ( By Default).

    Yes, you can do this through customization with the help of developer. There are multiple ways to achieve this kind of requirement.

  • albercuba Profile Picture
    10 on at

    Naveen I'm sorry but I don't see how any of your replies are helpful.

    First you say it is not possible ("As of now there is no option to disable the 'Compress Prepayment'  by Default.  You need to do this manually on the Sales Orders."), then after I find two ways of doing it, and mark the reply as solution, you come back and make another comment, again, not providing any solution, changing your initial statement ("As of now this feature is not available through setup ( By Default)."), just repeating what I just said ("Yes, you can do this through customization with the help of developer.") and then suggesting there are plenty of ways of achieving  this ("There are multiple ways to achieve this kind of requirement"), but again, as I said, not providing any solution or example or suggestion at all.

    So I really fail to understand why do you reply if you definitely don't know the answer to the question.

  • albercuba Profile Picture
    10 on at

    By the way, this can also be achieved with Agiles Workflow and it will disable the option as soon as you try to create a new Sales Order. But since we decided not to use Agiles Workflow I dont remember very well what I did and we already uninstalled the extension.

    But if your company uses Agiles Workflow, you can try to do it that way.

  • Community Member Profile Picture
    on at

    Hi Alberto,

    In your question you asked, how to disable the "Compress Prepayment" by default. By Default means by setup or Page setting without the customization. Hence i told you it is not possible by default. You have not at all mentioned that how you can achieve this through customization / Change in code or property.

    Then you mentioned that it is possible through the customization.

    If you ask how you can achieve this by customization, then there are multiple ways Like apart from the solution you mentioned-

    1. You can disable the "Compress Prepayment" option while opening of Sales Order Page, by writing the code on Page Trigger.

    2. You can also disable the "Compress Prepayment" while entering the "Prepayment %" by writing the code on "OnValidate" trigger of "Prepayment %" through table extension. So the "Compress Prepayment" will disable only in case users enters the "Prepayment %".

    I think i have not understood your question correctly or may be i misunderstood from your statement (By Default). Good to hear that you have solution now.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans