I want to get an other record from the Sales Shipment Line in the Report "Delivery Note". I created a new Key containing the 3 Fields Document No., Position & Type. I created an new Global in the Report calles ShipLine. And using the Following Code:
ShipLine.setcurrentkey ("Document No.","Position","Type");
If ShipLine.Get ("Document No.","Position",Type::Item) THEN;
I get the Error Message :
"Too many Key Fields where specified, so Sales Shipment Line could not be retrieved. The number of Fields in Primary Key is 2."
What I am doing wrong ?
0
Comments
Otherwise you need to write your code like this:
I will try it as soon as possible.
Regards
A good programming practice is: or in case you don't want to loop the records: or even better in 4.00SP1:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!