ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event-Request] Codeunit 7010 "Purch. Price Calc. Mgt." - Event OnAfterFindJobPlanningLinePriceResource

Open horstoeko opened this issue 4 years ago • 2 comments

Hi,

we would like to request the following the event OnAfterFindJobPlanningLinePriceResource

Signature

[IntegrationEvent(false, false)]
local procedure OnAfterFindJobPlanningLinePriceResource(var JobPlanningLine: Record "Job Planning Line"; var ResCost: Record "Resource Cost")
begin
end;

To be called in FindJobPlanningLinePrice

...

Type::Resource:
    begin
        ...

        "Direct Unit Cost (LCY)" := Round(ResCost."Direct Unit Cost" * "Qty. per Unit of Measure",
            Currency."Unit-Amount Rounding Precision");
        Validate("Unit Cost (LCY)", Round(ResCost."Unit Cost" * "Qty. per Unit of Measure",
            Currency."Unit-Amount Rounding Precision"));
        OnAfterFindJobPlanningLinePriceResource(JobPlanningLine, ResCost);
    end;

Thank you in advance.

horstoeko avatar Aug 11 '22 08:08 horstoeko

Next time please specify the procedure you want it in, this will be OnAfterFindJobPlanningLinePrice instead a couple of lines later.

Vadim-Stepanenko avatar Oct 14 '22 11:10 Vadim-Stepanenko

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 47995.

JesperSchulz avatar Oct 20 '22 12:10 JesperSchulz