ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Extensibility Request] local to global Codeunit 5407 "Prod. Order Status Management" - OutputExists

Open MH1612 opened this issue 4 years ago • 3 comments

Hello, we need the following currently Internal procedure to be set as Global. Can you please check this? Thank you!

[Extensibility Request] Codeunit 5407 "Prod. Order Status Management" - Procedure from Internal to Global

local procedure OutputExists(ProdOrderLine: Record "Prod. Order Line"): Boolean
    var
        ItemLedgEntry: Record "Item Ledger Entry";
    begin
        ItemLedgEntry.SetCurrentKey("Order Type", "Order No.", "Order Line No.");
        ItemLedgEntry.SetRange("Order Type", ItemLedgEntry."Order Type"::Production);
        ItemLedgEntry.SetRange("Order No.", ProdOrderLine."Prod. Order No.");
        ItemLedgEntry.SetRange("Order Line No.", ProdOrderLine."Line No.");
        ItemLedgEntry.SetRange("Entry Type", ItemLedgEntry."Entry Type"::Output);
        if ItemLedgEntry.FindFirst() then begin
            ItemLedgEntry.CalcSums(Quantity);
            if ItemLedgEntry.Quantity <> 0 then
                exit(true)
        end;
        exit(false);
    end;

MH1612 avatar May 19 '22 06:05 MH1612

@JesperSchulz Can you please check this? Thank you!

MH1612 avatar Sep 06 '22 05:09 MH1612

This is done but request was not closed due to sync issue.

AlexanderYakunin avatar Sep 07 '22 17:09 AlexanderYakunin

We had some issues with our automation which reports back progress from our internal systems to these GitHub issues. Some issues may not have been updated, such as this one - even though they were successfully processed! We will look at getting that fixed in the next weeks. Sorry about the inconvenience!

JesperSchulz avatar Sep 12 '22 06:09 JesperSchulz