Originally posted by: SystemAdmin
Hello
I do the below functional map call with 2 parameters to create some orderlines. There is allways data in the first parameter but only sometimes in the second. My problem is that when the second parameter is not present in the XML document that I pull the data from,
the functional map is not triggered and therefore no orderliens created. Should I put an if statement around the second parameter or something ?
=F_Create_Orderlines(
DetailRecord Sequence Expression:DetailRecord #CHILDDATA:DetailRecord Element:PurchaseOrderRecord #CHILDDATA:PurchaseOrderRecord Element XML:XML_Data,
DropShipHeader #CHILDDATA:DropShipHeader Element:HeaderRecord #CHILDDATA:HeaderRecord Element:PurchaseOrderRecord #CHILDDATA:PurchaseOrderRecord Element XML:XML_Data)
Thanks
ALex
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange