Hi Senthil/RMG,
Thanks for looking into my thread,.
PT is not a record identifier, but some constant which needs to be appended to the variable, say, ‘AAA’.
What you understood is correct. if there are 10 employee records, we need to generate 30 records in outgoing data.
The only delimiter we have in the data is * (may be we have to decide how o use this. For now we are thinking to use * as field delimiter and ‘/n’ as record delimiter.)
If you see, each record is ending again with a ‘’ which is not the case in general. For this we thought of defining an extra field at the end and nullifying that so that the service convertToString will create a '’ at the end of the record (emptyTrailingFields prop set to true)
We are working on, how best we can a single schema for this requirement (3 records) and reached out to the forum for the suggestions.
Also, another requirement given to us is,
If any of the variables is empty, then Leave out fields (this means the fieldnumber (2 digits) upto including the *)
We understand that suppose the record is as below
PTaaa50bbb13000000000CurDate_H02ccc03ddd04eee10fff
Suppose if the field ‘ddd’ is empty then the record should look like this.
PTaaa50bbb13000000000CurDate_H02ccc*04eee10fff
i.e the constant ‘03’ along with the variable ‘ddd’ and * needs to be left out.
If this possible to implement this in delimeter seperated FF?
cos, as far as I know, if filed ‘ddd’ is empty then the record looks like below.
PTaaa50bbb13000000000CurDate_H02ccc**04eee10fff
Could you please share your thoughts on this.
Thanks,
Venky
#edi#Integration-Server-and-ESB#webMethods