Hi,
I added a new field to the Sales Invoice Header - everything works so far.
First I took the same field ID (5971) from the Sales Header table and it worked in sandbox so far - means I got the right value from the Sales Header table to the Sales Invoice Header table.
-> But I wasn't able to deploy it into the live system because - it says I have to choose a number between 50000-....
So if I give the field ID "50150" I didn't get a value from the list as before...
Is there another way to assign field data from another table to a other field in an other table?
My code:
tableextension 50150 "Sales Invoice TableExt" extends "Sales Invoice Header"
{
fields
{
field(50150; "Promised_Delivery_Date"; Date)
{
//How to get Data from field 5791 (Sales Header)?
//target: 50150 = 5791;
AccessByPermission = TableData "Sales Header" = R;
Caption = 'Promised Delivery Date';
}
}
}