You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we need an event in the Page 403 "Purchase Order Statistics" in the procedure "RefreshOnAfterGetRecord":
`
local procedure RefreshOnAfterGetRecord()
var
PurchLine: Record "Purchase Line";
TempPurchLine: Record "Purchase Line" temporary;
PurchPostPrepayments: Codeunit "Purchase-Post Prepayments";
OptionValueOutOfRange: Integer;
IsHandled: Boolean;
begin
CurrPage.Caption(StrSubstNo(Text000, Rec."Document Type"));
if PrevNo = Rec."No." then
exit;
PrevNo := Rec."No.";
Rec.FilterGroup(2);
Rec.SetRange("No.", PrevNo);
Rec.FilterGroup(0);
Clear(PurchLine);
Clear(TotalPurchLine);
Clear(TotalPurchLineLCY);
for i := 1 to 3 do begin
// Start event
OnRefreshOnAfterGetRecordOnBeforeTempPurchLineDeleteAll(Rec, TempPurchLine); <--------------- Event
// End event
TempPurchLine.DeleteAll();
Clear(TempPurchLine);
Clear(PurchPost);
PurchPost.GetPurchLines(Rec, TempPurchLine, i - 1);
.......
end;
.......
end;
`
`
[IntegrationEvent(false, false)]
local procedure OnRefreshOnAfterGetRecordOnBeforeTempPurchLineDeleteAll(PurchaseHeader: Record "Purchase Header"; var
TempPurchLine: Record "Purchase Line" temporary)
begin
end;
Describe the request
Hello,
we need an event in the Page 403 "Purchase Order Statistics" in the procedure "RefreshOnAfterGetRecord":
`
`
`
`
Additional context
.
Internal work item: AB#567126
The text was updated successfully, but these errors were encountered: