Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

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

Posted on by 70

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.

  • 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 70 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 70 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,638 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans