[quote="savek"]
1. ย้ายส่วนที่เพิ่มเข้าไปให้มาอยู่ในส่วน [relate file] แทนที่จะเป็น [item file] นะครับ
[item file]
File=stcrd
Alias=B
Tag=stcrd5
System=DATA_PATH
File=artrnrm
Alias=C
Tag=artrnrm1
System=DATA_PATH
File=artrnrmx
Clone from=artrnrm
Alias=R1
Tag=artrnrm1
System=DATA_PATH
Master file=stcrd
Master-Related Field=docnum+seqnum[relate file]
File=armas
Alias=R
Tag=armas1
System=DATA_PATH
Master file=artrn
Master-Related Field=CUSCOD
File=stmas
Alias=C
Tag=stmas1
System=DATA_PATH
Master file=stcrd
Master-Related Field=STKCOD
File=oeso
Alias=Y
Tag=oeso1
System=DATA_PATH
Master file=artrn
Master-Related Field=SONUM
File=stloc
Alias=L
Tag=stloc1
System=DATA_PATH
Master file=stcrd
Master-Related Field=STKCOD+LOCCOD
File=artrnrmx
Clone from=artrnrm
Alias=R1
Tag=artrnrm1
System=DATA_PATH
Master file=stcrd
Master-Related Field=docnum+seqnum2. ตรงด้านหน้าของบรรทัดรายการสินค้า ตำแหน่งที่เราต้องการให้แสดง Note ใส่เป็นตัวแปร ~HREM (แทนที่จะเป็น ~HREM1 นะครับ)
และใน [data spec] ให้เพิ่มบรรทัดนี้เข้าไปครับ
~HREM: 0, "", "ARTRNRMX->REMARK", ""
[/quote]
ผมลองใส่แล้วคับ... ปรากฏว่าหายหมดคับ
