The field amount isn't disabled when ones changes/edits the amount.
Below is my code
I have put this code too.
var
[InDataSet]
FieldEditable: Boolean;
field(6; "Amount"; Decimal)
{
Caption = 'Amount';
NotBlank = true;
trigger OnValidate()
var
myInt: Integer;
begin
If rec."Rec.Amount" <> 0 then
FieldEditable := false;
end;
}
Kindly assist.