Why do you need this change?
In 4PS Construct we need to run additional validation in "Proposal Line" before validating Amount in procedure 'UpdateConnection' in table 11000003 "Detail Line".
Describe the request
Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnUpdateConnectionOnAfterGetProposalLine' to be added to procedure 'UpdateConnection' in table 11000003 "Detail Line".
procedure UpdateConnection()
var
Prop: Record "Proposal Line";
"Detail line": Record "Detail Line";
begin
case Status of
Status::Proposal:
if "Connect Lines" <> 0 then begin
"Detail line".SetCurrentKey("Our Bank", Status, "Connect Batches", "Connect Lines", Date);
"Detail line".SetRange("Our Bank", "Our Bank");
"Detail line".SetRange(Status, Status);
"Detail line".SetRange("Connect Batches", '');
"Detail line".SetRange("Connect Lines", "Connect Lines");
"Detail line".SetFilter("Transaction No.", '<>%1', "Transaction No.");
"Detail line".CalcSums(Amount);
Prop.Get("Our Bank", "Connect Lines");
OnUpdateConnectionOnAfterGetProposalLine(Rec, Prop); //new
Prop.Validate(Amount, "Detail line".Amount + Amount);
[IntegrationEvent(false, false)]
local procedure OnUpdateConnectionOnAfterGetProposalLine(DetailLine: Record "Detail Line"; var ProposalLine: Record "Proposal Line")
begin
//new
end;
Why do you need this change?
In 4PS Construct we need to run additional validation in "Proposal Line" before validating Amount in procedure 'UpdateConnection' in table 11000003 "Detail Line".
Describe the request
Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnUpdateConnectionOnAfterGetProposalLine' to be added to procedure 'UpdateConnection' in table 11000003 "Detail Line".