ren_bsi
13th December 2017, 11:33
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 :
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
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 :
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