IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Functional map call

    Posted 09/29/04 03:57 AM

    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


  • 2.  Re: Functional map call

    Posted 09/29/04 04:02 AM

    Originally posted by: SystemAdmin


    You can only call the functional map if all parameters are present. You could either call 2 different functional maps depending on parameter availability or pass dummy data if a parameter ia not present.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: Functional map call

    Posted 09/29/04 04:59 AM

    Originally posted by: SystemAdmin


    Oh I see!
    That explains it.
    Thanks
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: Functional map call

    Posted 09/29/04 05:21 AM

    Originally posted by: SystemAdmin


    Yup, that did the trick.

    Thanks again
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange