on 10-30-2007 12:15 PM
Hi Friends
Can you please clear my following doubt.
As we know target fields are filled wit the values from the result queues. In doing so the values are compared to the attributes for occurrence.
If the upper limit for the number of cocurecces of a target field is exceeded, additional result values from the result queue are ignored -- this is fine.
But if the lower limit is not reached, an exception is triggered. I am confused with this. While testing it was running fine by appending the last values.
For example:
Source : VendorNo (minocc=1 maxoccur=6)
Target: VNo (minocc=3 maxoccur6)
Now source has
VendorNo - v1,v2 --- only 2 values
exception should occur right as minocc of the target field is not met. But while testiing it was running fine.
Target is getting:
VNo - v1,v2,v2
Confusedd????
Please let me know your comments on this
regards
sam
hi samuel,
if minOccurs of target ELEMENT are not met last value of source is repeated.
if minOccurs of target NODE is not met exception is triggered.
if minOccurs of source is not met exception is triggered.
[reward if helpful]
regards,
latika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Generally it takes value of the last value.
You can see the exception when the value is SUPPRESS.
You can test by deleting VendorNo in test of the mapping program.
Hope this helps.
Prasad Babu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.