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.  syntax for functional rule

    Posted 06/20/12 01:42 AM

    Originally posted by: suchi88


    i have created separate input cards for each argument of my rule.but how to write the functional rule in the main rule which is calling it.??
    i have written the functional rule like dis.

    =FunctionalMapForMaps("title Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate","note Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate"."quantity Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate","price Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate")
    we have to map dese elements as it is in the output.but its not mapping.its saying parameter expected.please help me in solving this.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: syntax for functional rule

    Posted 06/20/12 02:44 AM

    Originally posted by: richlee


    Hi,

    First, remove the quotes from around the items that you are passing in.
    Then, change the full stop between the third and fourth parameters to a comma, so your rule becomes...

    
    =FunctionalMapForMaps(title Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate, note Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate, quantity Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate, price Comp:ElemDecl item Comp:ElemDecl shiporder Element:newDate)
    


    Richard.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange