Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Insert Sequence No in the Report

$
0
0
Dear Gurus,

I'm trying to add sequence number for each line of the record in standard report whinh341212100-Goods received notes by order. for example :


Seq No.|Item Code| Qty
-------------------------------------------------
1 |Item A | 50
2 |Item B | 60
3 |Item C | 70

I have done the following in the report script :

Code:

declaration:
  extern domain tcmcs.long seq.no

before.program:
 seq.no = 1

detail.10:
before.layout:
  seq.no = seq.no + 1

but it doesn't work for me.
Kindly need your advice.
Many thanks in advance.

Best regards,
Rendy

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>