Skip to content

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

Description

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"
Internal work item: AB#627048

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance areaextensibility-enhancementNew feature or request related to extensibility

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions