Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 29197

RE: Help me to show only 1 Option.

$
0
0

Use a variable with a subset of  "Type" field options (let's say " ,Item,Fixed Asset") and show it in the page of "Type" field. In the new control OnValidate trigger manage the field assignment like:

CASE NewType OF

  NewType::Item: VALIDATE(Type,Type::Item);

  NewType::"Fixed Asset": VALIDATE(Type,Type::"Fixed Asset");

END;

This because the options of the variable do not correspond anymore to the options of the table field.


Viewing all articles
Browse latest Browse all 29197

Trending Articles