Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am using the version 6.4. This query is regarding tSageX3Input Component.
I kindly request to give more information on how to get the line details while reading the record. Basically the question is how to manage the TAB ID and the LIN tags.
Is the TAB ID and LIN ID can be managed with tSageX3Input Component ?
<?xml version="1.0" encoding="UTF-8"?>
<RESULT>
<GRP ID="POH0_1" >
<FLD NAME="POHFCY" TYPE="Char" >F</FLD>
<FLD NAME="POHNUM" TYPE="Char" >ODA1701357F</FLD>
<FLD NAME="ORDDAT" TYPE="Date" >20171024</FLD>
<FLD NAME="BPSNUM" TYPE="Char" >S00071</FLD>
</GRP>
<GRP ID="POH1_1" >
<FLD NAME="BPSINV" TYPE="Char" >S00071</FLD>
<FLD NAME="BPAINV" TYPE="Char" >SL01</FLD>
<FLD NAME="BPRPAY" TYPE="Char" >S00071</FLD>
</GRP>
<TAB DIM="500" ID="POH2_1" SIZE="3" >
<LIN NUM="1" >
<FLD NAME="POPLIN" TYPE="Integer" >1000</FLD>
<FLD NAME="YCANUMD" TYPE="Char" ></FLD>
<FLD NAME="ITMREF" TYPE="Char" >3001003</FLD>
<FLD NAME="ITMDES" TYPE="Char" >vite TE UNI 5739 - A2-70 M 8 x</FLD>
<FLD NAME="UOM" TYPE="Char" >UN</FLD>
<FLD NAME="QTYUOM" TYPE="Decimal" >11</FLD>
</LIN>
<LIN NUM="2" >
<FLD NAME="POPLIN" TYPE="Integer" >2000</FLD>
<FLD NAME="YCANUMD" TYPE="Char" ></FLD>
<FLD NAME="ITMREF" TYPE="Char" >3001014</FLD>
<FLD NAME="ITMDES" TYPE="Char" >vite TE UNI 5739 - A2-70 M 12 </FLD>
<FLD NAME="UOM" TYPE="Char" >UN</FLD>
<FLD NAME="QTYUOM" TYPE="Decimal" >10</FLD>
</LIN>
<LIN NUM="3" >
<FLD NAME="POPLIN" TYPE="Integer" >3000</FLD>
<FLD NAME="YCANUMD" TYPE="Char" ></FLD>
<FLD NAME="ITMREF" TYPE="Char" >3001014</FLD>
<FLD NAME="ITMDES" TYPE="Char" >vite TE UNI 5739 - A2-70 M 12 </FLD>
<FLD NAME="UOM" TYPE="Char" >UN</FLD>
<FLD NAME="QTYUOM" TYPE="Decimal" >20</FLD>
</LIN>
</TAB>
</RESULT>
Thanks, Luca
Hello Luca,
Could you please also elaborate your case with an example with expected output values?
Best regards
Sabrina
Hello,
this is the expected output that i did with tFileInputXML
Thanks,
Luca
[statistics] connected
.----+------+-------+------.
| tLogRow_1 |
|=---+------+-------+-----=|
|Riga|POPLIN|ITMREF |QTYUOM|
|=---+------+-------+-----=|
|1 |1000 |3001003|11 |
|2 |2000 |3001014|10 |
|32 |3000 |3001014|20 |
'----+------+-------+------'
[statistics] disconnected