hello everybody!
i try to run a fieldtrigger aut of a dataport but there seems to be a little problem.
the OnValidate trigger of the table field starts with the following code
IF CurrFieldNo = FIELDNO("Due Date") THEN
BEGIN
.
{desired code inside}
.
END;
as i call the trigger out of my dataport with
recProdOrder."Due Date":= dtDue;
recProdOrder.VALIDATE("Due Date");
the trigger is left because nobody told my table recProdOrder that "Due Date" has the focus.
is there any possibility to set field "Due Date" as CurrentFiled from table "Production Order" out of a dataport?
Comments
Define a global Boolean SystemUpdate.
Create a new function:
Change the code as following:
In your dataport you add:
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
thanks for your advice! liebe grüße nach deutschland!
jam176