The subscriber field on the two screens is /Document No./
I am currently trying to use Unit code to solve this problem, Does this solution work?
Is this code correct
the next
?
{
var
BuyFromContact: Text[100];
var
SourceRec: Record /Purchase Header/;
TargetRec: Record /Approval Entry/;
CLEAR(SourceRec);
CLEAR(TargetRec);
//SourceRec.SETFILTER(/No./, Rec./No./);
if SourceRec.FINDFIRST THEN begin
BuyFromContact := SourceRec./Buy-from Contact/;
TargetRec.Contact := BuyFromContact;
TargetRec.INSERT;
end
else begin
end;
}
=========================================================================================
What do I write here for the codeunit to work ????????????????????
{
{
addbefore(/Details/)
{
field(/Buy-from Contact Copy/; Contact)
{
ApplicationArea = All;
Editable = false;
}
}
}
I ask for help from those with experience (
Note: The post does not write a double quote, unfortunately, and puts (/) in its place.
)