Thanks Nitin, Yadav
Is it the below code correct:
tableextension 50110 "TLC Purchase Hdr. Ext" extends "Purchase Header"
{
fields
{
// Add changes to table fields here
field(50110; "Deposit Date"; Date)
{
Caption = 'Deposit Date';
DataClassification = CustomerContent;
}
modify("Transaction Type")
{
trigger OnBeforeValidate()
begin
Rec.Testfield(Status,rec.Status::Open);
error('You can not change this field after PO is released');
end;
}
}
}