Skip to content

Redesign "Invt. Posting Buffer" similar to "Invoice Posting Buffer" #29858

@grygoryshchakr

Description

@grygoryshchakr

Why do you need this change?

We need to extend grouping implemented in table 48 "Invt. Posting Buffer" by adding "Business Unit Code" field.

Describe the request

Redesign "Invt. Posting Buffer" to have "Group ID" field as primary key:

    field(1; "Group ID"; Text[1000])
    {
        Caption = 'Primary Key';
        DataClassification = SystemMetadata;
    }

and BuildPrimaryKey procedure

procedure BuildPrimaryKey()
var
    GroupID: Text;
begin
    GroupID := ... ;

    OnBuildPrimaryKey(GroupID, Rec);

    "Group ID" := CopyStr(GroupID, 1, MaxStrLen("Group ID"));

    OnAfterBuildPrimaryKey(Rec);
end;

PS. Code is taken from table 55 "Invoice Posting Buffer"

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-infoThe issue misses information that prevents it from completion.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions