Dear all,
i have created a table extension for the purchase inv line aggregate. Here I simply return more standard table fields (63 64).
This works fine in my sandbox. When I now use the application in a tenant Saas BC the extension validation fails with:
(6,19): error PTE0002: Field 'Receipt No.' has an ID of [63. It must be between within the range '[50000..99999'.
But if i change the field id to the range 50000... the field is not picked up correctly anymore from the original table.
How can I map the table field id 63 to my needed range 50000..99999?
Thanks in advance.
tableextension 50120 "EX Purch. Inv. Line Aggregate" extends "Purch. Inv. Line Aggregate"
{
fields
{
field(63; "Receipt No."; Code[20])
{
Caption = 'Receipt No.';
Editable = false;
}
field(64; "Receipt Line No."; Integer)
{
Caption = 'Receipt Line No.';
Editable = false;
}
field(65; "Order No."; Code[20])
{
Caption = 'Order No.';
}
field(66; "Order Line No."; Integer)
{
Caption = 'Order Line No.';
}
field(5791; "Promised Receipt Date"; Date)
{
AccessByPermission = TableData "Order Promising Line" = R;
Caption = 'Promised Receipt Date';
}
}
}