In Business Central it's possible to make something like that:
}
field(5; "From"; Integer)
{
Caption = 'From';
DataClassification = SystemMetadata;
Editable = FromEditbale
}
}
var
FromEditable: Boolean
So my Question is, if something like this could work. Because I tried it several Times, but it seems like it rejects the Global Integer Variable. Any ideas why or do you know, what I'm doing wrong?
}
field(5; "From"; Integer)
{
Caption = 'From';
DataClassification = SystemMetadata;
MaxValue = ToValue
}
}
var
ToValue: Integer