Hi , i have 3 cdts namely A , B , C and three data store of the same i.e

Hi ,
i have 3 cdts namely A , B , C and three data store of the same i.e .A,B,C . The relationships are A has one to many relationship with B and B has one to many relationship with C . While feeding the data into A and B . I used the cdt of type A and date store of type A and i was able to successfully populate my tables . Now while i am feeding data to C , i am using the data type of B (as B has one to many relation with C) and the data store of C . But it is giving me an error . How should i write to table C filling it foreign key which is of B ?...

OriginalPostID-80528

OriginalPostID-80528

  Discussion posts and replies are publicly visible

Parents
  • @michael : I made a single XSD wherein i made three CDT'S A,B,C . In this A has a one to many reference of B , B has a one to many reference of C (like you've shown) .I was successfully able to populate the tables A and B using cdt of A and filling into data store A . Now i am trying to populate the table C so i am using the cdt of type B and feeding into data store C so it is showing an error and when i tried to populate C using cdt of type C and feeding into data store C ,it populates but the reference of B isnt populated .
    I hope i am able to explain my doubt
Reply
  • @michael : I made a single XSD wherein i made three CDT'S A,B,C . In this A has a one to many reference of B , B has a one to many reference of C (like you've shown) .I was successfully able to populate the tables A and B using cdt of A and filling into data store A . Now i am trying to populate the table C so i am using the cdt of type B and feeding into data store C so it is showing an error and when i tried to populate C using cdt of type C and feeding into data store C ,it populates but the reference of B isnt populated .
    I hope i am able to explain my doubt
Children
No Data