on 01-04-2016 4:21 PM
Hello,
I am trying to use Graphical mapping where my Source structure is
Records
Record
Batch_Header
Detail
Batch_Control_record
Record_trailer
I want to map Detail section into a nested XML Structure(items) which is.
Main
Batch
Details
Items
Batch_trailer
file_trailer
I am trying to do this using the graphical mapping, any suggestions ?
Pranay,
Did u try mapping source (detail) --> target (item) fields and constant([])-->target (details-node) field map some empty constant.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranay,
In the blog i am getting the data from flat file, Using FCC i am getting the Header and detail nodes are coming in separate context but in your case it is coming under same context that is why it is not working.
Are you also reading the data from flat file using sender CC then you need to apply the same FCC which mentioned in the blog, if not let me know what is the source.
Regards,
Praveen.
Hi Praveen,
Please find the FCC parameters below with file sample
Records.fieldFixedLengths | 1,50,32,30,26,461 |
Records.fieldNames | Record_Type,Main_Partner_key,Partner_Name,External_Partner_ID,DT,Filler |
Records.keyFieldValue | 0 |
Records.lastFieldsOptional | YES |
Batch_Header.fieldFixedLengths | 1,50,32,30,487 |
Batch_Header.fieldNames | Record_Type,Partner_key,Partner_name,External_Partner_id,Filler |
Batch_Header.keyFieldValue | 1 |
Batch_Header.lastFieldsOptional | YES |
Detail.fieldFixedLengths | 1,32,1,32,15,100,15,8,32,9,22,2,2,3,25,50,32,30,32,2,2,50,2,26,25,16,34 |
Detail.fieldNames | Record_Type,First_Name,Middle_Name,Last_Name,SSN,email,Amount,Payment_Date,Customer_ACC_Number,Routing_No,Acc_number,Funding_Account_type,Funding_Account_subtype,T_COde,Confirmation_Number,Partner_key,Partner_Name,External_ID,Customer_ID,Channel_type,transaction_type,Statement,Payment_type,Entry_Date,External_transaction_ID,Agent,Filler |
Detail.keyFieldValue | 2 |
Detail.lastFieldsOptional | YES |
Batch_Control_Record.fieldFixedLengths | 1,50,32,30,10,15,10,15,437 |
Batch_Control_Record.fieldNames | Record_type,Partner_Key,Partner_Name,External_Partner_ID,Num_Credit_Records,ValueOf_Credit_Records,Num_Debit_Records,ValueOf_Debit_Records,Filler |
Batch_Control_Record.keyFieldValue | 8 |
Batch_Control_Record.lastFieldsOptional | YES |
Record_trailer.fieldFixedLengths | 1,5,10,15,10,15,544 |
Record_trailer.fieldNames | Record_type,num_of_batch,Num_of_credit,Val_of_credit,Num_of_debit,Val_of_debit,Filler |
Record_trailer.keyFieldValue | 9 |
Record_trailer.lastFieldsOptional | YES |
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.