[GELÖST] BC26.1, InherentPermissions funktioniert nicht

14. Mai 2025 09:48

Hallo zusammen,

weiß von euch jemand warum die Berechtigungen in der neuen Version nicht funktionieren?
Hab ich einen Fehler in der Einrichtung gemacht?

Wenn wir einen Verbrauch über das Prod Verbrauchsbuchblatt buchen wollen erscheint folgende Fehlermeldung:
Sorry, the current permissions prevented the action. (TableData 5896 Inventory Adjmt. Entry (Order) Insert: Base Application)

Die Fehlermeldung kommt vom Standard:

Code:
   
tableextension 99000800 "Mfg. Inventory Adjmt. Entry" extends "Inventory Adjmt. Entry (Order)"
{
[InherentPermissions(PermissionObjectType::TableData, Database::"Inventory Adjmt. Entry (Order)", 'I')]
    procedure SetProdOrderLine(ProdOrderLine: Record "Prod. Order Line")
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeSetProdOrderLine(Rec, ProdOrderLine, IsHandled);
        if IsHandled then
            exit;

        Init();
        "Order Type" := "Order Type"::Production;
        "Order No." := ProdOrderLine."Prod. Order No.";
        "Order Line No." := ProdOrderLine."Line No.";
        "Item No." := ProdOrderLine."Item No.";
        "Routing No." := ProdOrderLine."Routing No.";
        "Routing Reference No." := ProdOrderLine."Routing Reference No.";
        "Cost is Adjusted" := false;
        "Is Finished" := ProdOrderLine.Status = ProdOrderLine.Status::Finished;
        "Indirect Cost %" := ProdOrderLine."Indirect Cost %";
        "Overhead Rate" := ProdOrderLine."Overhead Rate";
        OnAfterSetProdOrderLineTransferFields(Rec, ProdOrderLine);

        GetUnitCostsFromProdOrderLine();
        if not Insert() then;
    end;
}

Mein Benutzer hat Super Berechtigung und außerdem habe ich die neuste Lizenz eingespielt...
(Außerdem steht auch in den Effective Permissions das Objekt als Insert Permission = Yes drin)

Habt ihr noch eine Idee was das Problem sein könnte?

Edit:
In regards to your query as the fix is contained within the BC on-prem license itself, generating a new file from the system where you usually get/ obtain your on-prem licenses and applying it onto the deployment should be sufficient, however you pointed out something imported as it is always better first to test the solution on a testing environment/deployment before applying the changes onto the Production.
Zuletzt geändert von Ricster am 4. Juni 2025 08:10, insgesamt 1-mal geändert.

Re: BC26.1, InherentPermissions funktioniert nicht

14. Mai 2025 13:27

Scheint ein Lizenzproblem von BC26 zu sein, wir werden MS kontaktieren.
Die Partner Dev Lizenz funktioniert, unsere Unternehmenslizenz aber nicht...

Re: BC26.1, InherentPermissions funktioniert nicht

21. Mai 2025 15:10

Jesper Schulz-Wedde – vor 2 Stunden
I have now sent a license update request (for both reported issues). Usually those get processed within a day or two. By EOW you should be unblocked.