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
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:
and BuildPrimaryKey procedure
PS. Code is taken from table 55 "Invoice Posting Buffer"
Internal work item: AB#627048