9. August 2024 11:31
actions
    {
        addlast(navigation)
        {
            group(Muster)
            {
                Caption = 'Muster-Aktionen';
                action("Muster-Abbuchung")
                {
                    ApplicationArea = All;
                    Image = PostBatch;
                    ToolTip = 'Musterabbuchung';
                    trigger OnAction()
                    var
                        MusterZuUndAbbuchung: Page "SCH Muster-ZuUndAbbuchung";
                    begin
                        MusterZuUndAbbuchung.ParameterSet(Rec."No.", 0); //0 ist Abbuchung
                        MusterZuUndAbbuchung.RUNMODAL;
                    end;
                }
                action("Muster-Abbuchung1")
                {
                    ApplicationArea = All;
                    Image = PostBatch;
                    ToolTip = 'Musterabbuchung';
                    trigger OnAction()
                    var
                        MusterZuUndAbbuchung: Page "SCH Muster-ZuUndAbbuchung";
                    begin
                        MusterZuUndAbbuchung.ParameterSet(Rec."No.", 0); //0 ist Abbuchung
                        MusterZuUndAbbuchung.RUNMODAL;
                    end;
                }
            }
        }
        addbefore(Category_New)
        {
            actionref(Muster_Promoted; "Muster-Abbuchung")
            {
            }
            actionref(Muster_Promoted1; "Muster-Abbuchung1")
            {
            }
        }
        modify(ApprovalEntries_Promoted)
        {
            Visible = false;
        }
        modify(CopyItem_Promoted)
        {
            Visible = false;
        }
    }
addbefore(Category_New)
        {
            group(Muster1)
            {
                actionref(Muster_Promoted; "Muster-Abbuchung")
                {
                }
                actionref(Muster_Promoted1; "Muster-Abbuchung1")
                {
                }
            }
        }
9. August 2024 12:01