SBX - Search With Button

SBX - Forum Post Title

Show Mandatory

Microsoft Dynamics NAV Forum

Nermina Kraljic asked a question on 16 Dec 2017 3:03 AM

Question Status

Verified

Is it possible to set ShowMandatory on lookup fields?

Reply
Robertas Rackauskas responded on 16 Dec 2017 3:56 AM
My Badges
Verified Answer

Hi Nermina,

sure. For example 'Sell-to Customer No.' is set as ShowMandatory on the Sales Order.

Robertas

Reply
Alexander Ermakov responded on 16 Dec 2017 5:09 AM
My Badges
Verified Answer

As Robertas wrote, it is possible. Please refer here:msdn.microsoft.com/.../dn789528(v=nav.90).aspx , but notice important disclaimers there regarding default values and C/AL functions validation.

Reply
Nermina Kraljic responded on 16 Dec 2017 10:08 AM

But it is not flowfield (lookup)?

Reply
Robertas Rackauskas responded on 16 Dec 2017 10:44 AM
My Badges
Suggested Answer

Oh, that kind of lookup. Then no, you can't. The field has to be editable for ShowMandatory to work, and you wouldn't want to leave FlowField editable.

Robertas

Reply
Ahmed M. Rafik responded on 17 Dec 2017 9:29 AM
My Badges
Verified Answer

Hi Nermina,

You can refer to this topic as it is discussed before.

community.dynamics.com/.../162390

If you find this answer helpful, By click Yes you verify the answer to share it with other community members.

Reply
Robertas Rackauskas responded on 16 Dec 2017 3:56 AM
My Badges
Verified Answer

Hi Nermina,

sure. For example 'Sell-to Customer No.' is set as ShowMandatory on the Sales Order.

Robertas

Reply
Alexander Ermakov responded on 16 Dec 2017 5:09 AM
My Badges
Verified Answer

As Robertas wrote, it is possible. Please refer here:msdn.microsoft.com/.../dn789528(v=nav.90).aspx , but notice important disclaimers there regarding default values and C/AL functions validation.

Reply
Ahmed M. Rafik responded on 17 Dec 2017 9:29 AM
My Badges
Verified Answer

Hi Nermina,

You can refer to this topic as it is discussed before.

community.dynamics.com/.../162390

If you find this answer helpful, By click Yes you verify the answer to share it with other community members.

Reply
Robertas Rackauskas responded on 16 Dec 2017 10:44 AM
My Badges
Suggested Answer

Oh, that kind of lookup. Then no, you can't. The field has to be editable for ShowMandatory to work, and you wouldn't want to leave FlowField editable.

Robertas

Reply

SBX - Two Col Forum

SBX - Migrated JS