Question Status

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

Is it possible to set ShowMandatory on lookup fields?

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

Hi Nermina,

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

Robertas

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

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
Suggested Answer
Robertas Rackauskas responded on 16 Dec 2017 10:44 AM

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
Verified Answer
Ahmed M. Rafik responded on 17 Dec 2017 9:29 AM

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
Verified Answer
Robertas Rackauskas responded on 16 Dec 2017 3:56 AM

Hi Nermina,

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

Robertas

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

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
Verified Answer
Ahmed M. Rafik responded on 17 Dec 2017 9:29 AM

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
Suggested Answer
Robertas Rackauskas responded on 16 Dec 2017 10:44 AM

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