Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Sales order Page 42 - Compress Prepayment - not selected by default

Posted on by 72

Hello,

Dynamics Nav 2015.

Object designer page 42 Sales Order - tab Prepayment.  Which property for field "Compress Prepayment"  to edit so this checkbox by default is not selected.

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales order Page 42 - Compress Prepayment - not selected by default

    I think, for your requirement you need to change "InitValue" property to NO for "Compress Prepayment" field at Table 36 - Sales Header.

    Hope this helps.

  • Groefte Profile Picture
    Groefte 72 on at
    RE: Sales order Page 42 - Compress Prepayment - not selected by default

    Thanks a lot that worked - init value is in the tabel oc  :)

  • Groefte Profile Picture
    Groefte 72 on at
    RE: Sales order Page 42 - Compress Prepayment - not selected by default

    Thanks but if you set ENABLE property to FALSE  - checkbox is selected and greyed Down and prepayment invoice is compressed.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales order Page 42 - Compress Prepayment - not selected by default

    Hi,

    You need to change the "InitValue" property to No for "Compress Prepayment" field at Table 36 - Sales Header.

    This way, you will always have value false at Sales Order. In this case, you need to manually select "Compress Prepayment" option, if you need to use this functionality. 

    8764.1.png

    Hope this helps.

     

  • Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Sales order Page 42 - Compress Prepayment - not selected by default

    You select that field on the Page and select the Editable Property to FALSE or ENABLE property to FALSE.

    Editable-Property.png

    I totally read your requirement wrong, to set the default value for a field you need to use the InitValue as Vishal mentioned for this field, for few fields it will be onInsert trigger. I thought you mean not selectable by the user. Thanks Vishal

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans