How to copy data from repetaive area field into header area field
In my invoice pld i have to display delivery date.so,
I created two database fields in repetative area.
Field1-A/R invoice->Base document key
then in field2 content tab i related to field1.
Its working properly.
But i need this information on pld header.
for that,if am following the above procedure in header level.
Field1 executed succesfully
Field2 creates repetation on repetative area that is same item displayed multiple times.
finally,I come to the point.
i want to retrive the values of field2 from repetative area into header field and field2 in repetative area is invisible.
Help me out.
Sridharan T replied
i want to retrive the values of field2 from repetative area into header field and field2 in repetative area is invisible
This is not possible because the Header Area is first Evaluated and Printed in PLD. Then only repetitive area is evaluated and printed.
So as a work around you can create a UDF in Marketing Document called 'DelDate' and write a FMS for this in the delivery screen to get the date.
When you use CopyTo from Delivery to Invoice, this value in the UDF is also copied to the Invoice Screen.
Now display the UDF in the PLD.
This would be the simple workaround.