Why do you need this change?
In 4PS Construct we need to set additional filter on ProposalLine in procedure 'InitRecord' in table 11000000 "Proposal Line" before assigning "Header Dimension Set ID".
Describe the request
Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnInitRecordOnBeforeFindProposalLine' to be added to procedure 'InitRecord' in table 11000000 "Proposal Line".
procedure InitRecord()
var
ProposalLine: Record "Proposal Line";
begin
TestField("Our Bank No.");
BankAcc.Get("Our Bank No.");
"Currency Code" := BankAcc."Currency Code";
if "Transaction Date" = 0D then
"Transaction Date" := WorkDate() + 1;
OnInitRecordOnBeforeFindProposalLine(Rec, ProposalLine); //new
if ProposalLine.FindFirst() then
"Header Dimension Set ID" := ProposalLine."Header Dimension Set ID";
end;
[IntegrationEvent(false, false)]
local procedure OnInitRecordOnBeforeFindProposalLine(CurrentProposalLine: Record "Proposal Line"; var ProposalLine: Record "Proposal Line")
begin
//new
end;
Why do you need this change?
In 4PS Construct we need to set additional filter on ProposalLine in procedure 'InitRecord' in table 11000000 "Proposal Line" before assigning "Header Dimension Set ID".
Describe the request
Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnInitRecordOnBeforeFindProposalLine' to be added to procedure 'InitRecord' in table 11000000 "Proposal Line".