Exception in switch condition

When I compile the following fragment of BPEL:
<switch name="switch-6">
     <case condition="bpws:getVariableData('precio') &lt; bpws:getVariableData('OfertaAlsa','','/tns:OfertaViaje/tns:precio')">
it raises the following exception:
[bpelc] [Error de ORABPEL-10072]: the third argument is not admitted
[bpelc] [Descripción]: ... the third argument "/tns:OfertaViaje/tns:precio" is not admitted here, because the first and second arguments are enough to get data from the variable of the element.
[bpelc] [Possible correction]: Remove the third argument "/tns:OfertaViaje/tns:precio" from this expression.
[bpelc]
[bpelc] [Error de ORABPEL-10057]: Invalid query
[bpelc] [Description]: ... the query "" is invalid, due to Unexpected ''.
[bpelc] [Possible correction]: Check the XML schema and verify that the query string is valid.
[bpelc] .
Sorry because I had to translate the exception trace.
I've generated this BPEL source with Oracle Process Server plugin for Eclipse.
The following condition works:
<case condition="bpws:getVariableData('precio') &lt; 0">
Finally, the wsdl fragment for this type of variable is:
<element name="OfertaViaje">
<complexType>
<sequence>
<element name="empresa" type="string"/>
<element name="codigo" type="int"/>
<element name="horaSalida" type="dateTime"/>
<element name="horaLlegada" type="dateTime"/>
<element name="precio" type="double"/>
</sequence>
</complexType>
</element>
What's the problem?
Thanks in advance

It seems to me you can leave out the second (empty) parameter in the bpws:getVariableData('OfertaAlsa','','/tns:OfertaViaje/tns:precio') function. So try it with bpws:getVariableData('OfertaAlsa','/tns:OfertaViaje/tns:precio').
Andre

Similar Messages

  • BPM switch condition xPath

    All,
    Inside the BPM there is a switch condition -
    which checks whether ( InXML\Item1\Key = "COMPNAME" AND InXML\Item1\Value="HRB" ) - if this condition is true, then it sends the whole xml to a particular receiver.
    For this condition to work - does the Item1 node (with COMPNAME key value) be first? Currently we are getting it in random places within the Item1 nodes.
    Sample Input message -
    <InXML>
    <Item1>
    <Key>CODE</Key>
    <Value>CC</Value>
    </Item1>
    <Item1>
    <Key>COMPNAME</Key>
    <Value>HRB</Value>
    </Item1>
    <Item1>
    <Key>REGSTATUS</Key>
    <Value>Y</Value>
    </Item1>
    <Item1>
    <Key></Key>
    <Value></Value>
    </Item1>
    </InXML>
    Thanks.

    I think my initial question is not clear... let me rephrase it.
    In the following XML there are 4 Item1 nodes. Does the one that is bold (this is the one that will satisfy the condition), need to be the first in the 4 or will it work immaterial of the position within the Item1 node collection?
    <InXML>
    <Item1>
    <Key>CODE</Key>
    <Value>CC</Value>
    </Item1>
    <Item1>
    <Key>COMPNAME</Key>
    <Value>HRB</Value>
    </Item1>
    <Item1>
    <Key>REGSTATUS</Key>
    <Value>Y</Value>
    </Item1>
    <Item1>
    <Key></Key>
    <Value></Value>
    </Item1>
    </InXML>

  • BPM- Switch Condition ?

    Hi All,
    I have a question regarding the usage of Switch condition (Like Option) in BPM.
    For Example I want to give a condition such that I should pass all the messages starting with 'J' followed by any letter.
    Thanks in advance

    The Operator that you are talking about is the Contains Pattern...
    Have your Left Operand the node that you have to impose the condition on
    Middle Operand as the Contains Pattern
    Right Operand as Constant and it should be
    * J  (or J* )
    just check it not quite sure......dont have an access to 7.0 right now
    Check with this
    For more info refer: http://help.sap.com/saphelp_nw70/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jul 29, 2009 9:38 AM

  • Contains (String function) is not working in switch condition .

    Hi All ,
    I have a interface in which there are two projects.
    1 notification interface
    2 DFW interface .
    Project 1 Has Mediator in it where I am checking a Filter condition on DESTINATION PARTNER ID as below
    contains($in.request/inp1:TSOHoldCommon/inp1:Destination_Partner_ID,'DFW')
    as you all know this is the string function(containd) I have used.
    But there is a problem I am facing , when i use the same condition in DFW INTERFACE in all the switch conditions i have used .
    So now the problem is in switch condition used in BPEL of DFW INTERFACE.
    I have a asign statement after this condition,and i am getting assign pending so flow is faulting.
    please help me in this regard or give me any suggestions for fixing this .
    BPEL VERSION 1.1
    SOA 11.1.1.6

    Please post the error log which you are getting in EM.
    Thanks,
    Ashutosh

  • BUG: JDeveloper 10.1.3.0.3 EA - Exception in switch using enum

    Hi,
    I was encountered runtime exception in switch statement, if I use enum.
    In the next example the exception:
    Exception in thread "main" java.lang.ClassFormatError: Invalid field attribute index 0 in class file com/crcdata/enumtest/client/EnumTest$1
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at com.crcdata.enumtest.client.EnumTest.main(EnumTest.java:13)
    is thrown on line "switch (season)".
    package com.crcdata.enumtest.client;
    public class EnumTest {
      public enum Season { WINTER, SPRING, SUMMER, FALL }
      public EnumTest() {
      public static void main(String[] args) {
        EnumTest enumTest = new EnumTest();
        Season  season = Season.WINTER;
        switch (season) {
          case WINTER:
            System.out.println("Season: " + season.name());
            break;
          default:
            System.out.println("Another season");
            break;
    }This exception occur only if use ojc compiler. The javac compiler is OK.
    Versions:
    JDeveloper 10.1.3.0.3 EA
    J2EE 1.5.0_05
    Regards,
    Petr

    Thanks for reporting this. I filed bug 4720493 on this.

  • Switch: Condition table B499 cannot be used

    Hello,
    When trying to create a Access sequence using the condition table 499, (Movement Type) the following error message is occuring:
    "Switch: Condition table B499 cannot be used".
    When we check the switch(DIMP_GENERAL_APP) relevant for this, the status is "OFF"
    Our question is By activating the switch are there any implications?
    Kishore

    hi, whould you please give some more detail instruction? thanks.

  • Why can't I except Terms and Condition for iCloud? All I get is unable to connect to server

    Why can't I except Terms and Conditions for iCloud Iphone?  All I get is unable to connect.

    There's a discussion here with several solutions you could try: https://discussions.apple.com/thread/5321627?start=0&tstart=0.

  • Using Voice Over in the ios5 music app, when tapped into an album there is no way to back out of it except by switching off voice over! Help.

    Using Voice Over in the ios5 music app, when tapped into an album there is no way to back out of it except by switching off voice over! Help. This is preventing me upgrading the iPad2 to iOS5 for a blind man I work with. Am I missing something or is it a bug?

    here is a link to macosxhints.com that tells you how to output all of your feed URLs to a terminal window. from there you can cut and paste them into your new feed reader of choice...
    http://www.macosxhints.com/article.php?story=20080319094830396
    and if you are in the marked for a new reader may i suggest David Watanabe's excellent NewsFire. he had just recently made it totally free as a gift to the macintosh community.
    best of luck.

  • Switch doest not evaluate the switch conditions

    Hello again,
    I have the following, fine working, switch condition:
    <case condition="bpws:getVariableData('name') = 'aktiv'">
    Some lines later within the same source, I have the following, not working, switch condition:
    <case condition="bpws:getVariableData('lieferrichtung') = 'ABS'">
    or
    <case condition="bpws:getVariableData('lieferrichtung') = 'BEZ'">
    The variable types are in both cases xsd:string (SimpleType), and the variables are local to a scope.
    Here a "printout" from the variable "lieferrichtung" while runtime:
    <lieferrichtung>BEZ</lieferrichtung>
    or
    <lieferrichtung>ABS</lieferrichtung>
    What's wrong?
    Best regards
    Harald
    For anyone who can not believe my question, here are the sources:
    <switch name="prüfeZustandsnamen">
    <case condition="bpws:getVariableData('name') = 'aktiv'">
    <bpelx:annotation>
    <bpelx:pattern>NameIsAktiv</bpelx:pattern>
    </bpelx:annotation>
    <assign name="getZustandOid">
    <copy>
    <from expression="concat('/ns1:getZustaendeResponse/ns1:getZustaendeReturn[', bpws:getVariableData('iterator'), ']/ns19:OID')"/>
    <to variable="xpath"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('getZustaende_getZustaende_OutputVariable','parameters',bpws:getVariableData('xpath'))"/>
    <to variable="zustandOid"/>
    </copy>
    <copy>
    <from variable="count"/>
    <to variable="iterator"/>
    </copy>
    </assign>
    </case>
    <otherwise/>
    </switch>
    <switch name="prüfeLieferrichtung">
    <case condition="bpws:getVariableData('lieferrichtung') = 'ABS'">
    <bpelx:annotation>
    <bpelx:pattern>isAbsatz</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_13">
    <assign name="setSchlüsselMitBkVES">
    <copy>
    <from expression="concat('11XVE-SALES----7 ', bpws:getVariableData('getVertragsbezeichnungFromMasterDB_getVertragsinfoFromMasterDB_OutputVariable','getVertragsinfoFromMasterDBOutputCollection','/ns16:getVertragsinfoFromMasterDBOutputCollection/ns16:getVertragsinfoFromMasterDBOutput/ns16:text'))"/>
    <to variable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    part="parameters"
    query="/ns1:saveEingangsgroesse/ns1:pEWSVersionen/ns26:schluessel"/>
    </copy>
    </assign>
    <invoke name="saveEingangsgrösse"
    partnerLink="ecas"
    portType="ns1:EWebService"
    operation="saveEingangsgroesse"
    inputVariable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    outputVariable="saveEingangsgrösse_saveEingangsgroesse_OutputVariable"
    bpelx:inputHeaderVariable="customSoapHeaderIn"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('lieferrichtung') = 'BEZ'">
    <bpelx:annotation>
    <bpelx:pattern>isBezug</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_12">
    <assign name="setSchlüsselMitBkKunde">
    <copy>
    <from expression="concat('Anderer BK ', bpws:getVariableData('getVertragsbezeichnungFromMasterDB_getVertragsinfoFromMasterDB_OutputVariable','getVertragsinfoFromMasterDBOutputCollection','/ns16:getVertragsinfoFromMasterDBOutputCollection/ns16:getVertragsinfoFromMasterDBOutput/ns16:text'))"/>
    <to variable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    part="parameters"
    query="/ns1:saveEingangsgroesse/ns1:pEWSVersionen/ns26:schluessel"/>
    </copy>
    </assign>
    <invoke name="saveEingangsgrösse"
    partnerLink="ecas"
    portType="ns1:EWebService"
    operation="saveEingangsgroesse"
    inputVariable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    outputVariable="saveEingangsgrösse_saveEingangsgroesse_OutputVariable"
    bpelx:inputHeaderVariable="customSoapHeaderIn"/>
    </sequence>
    </case>
    <otherwise/>
    </switch>
    Message was edited by:
    user570114

    "lieferrichtung" is a scope local simple type variable... (The dots in the following lines are a placeholder for other activities)
    <scope name="setEingangsgrössen">
    <variables>
    <variable name="gueltigBis" type="xsd:string"/>
    <variable name="lieferrichtung" type="xsd:string"/>
    </variables>
    <sequence name="Sequence_10">
    <while name="While_4"
    condition="bpws:getVariableData('iterator') &lt;= bpws:getVariableData('count')">
    <sequence name="Sequence_11">
    <assign name="setSwitchParameter">
    <copy>
    <from expression="concat('/ns1:searchEingangsgroesseResponse/ns1:searchEingangsgroesseReturn[position()=', bpws:getVariableData('iterator'), ']/ns26:name')"/>
    <to variable="xpath"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('getEingangsgrössen_searchEingangsgroesse_OutputVariable','parameters',bpws:getVariableData('xpath'))"/>
    <to variable="lieferrichtung"/>
    </copy>
    <copy>
    <from expression="substring(bpws:getVariableData('lieferrichtung'), string-length(bpws:getVariableData('lieferrichtung')) - 3)"/>
    <to variable="lieferrichtung"/>
    </copy>
    </assign>
    <switch name="prüfeLieferrichtung">
    <case condition="bpws:getVariableData('lieferrichtung') = 'ABS'">
    <bpelx:annotation>
    <bpelx:pattern>isAbsatz</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_13">
    <assign name="setSchlüsselMitBkVES">
    <copy>
    <from expression="concat('11XVE-SALES----7 ', bpws:getVariableData('getVertragsbezeichnungFromMasterDB_getVertragsinfoFromMasterDB_OutputVariable','getVertragsinfoFromMasterDBOutputCollection','/ns16:getVertragsinfoFromMasterDBOutputCollection/ns16:getVertragsinfoFromMasterDBOutput/ns16:text'))"/>
    <to variable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    part="parameters"
    query="/ns1:saveEingangsgroesse/ns1:pEWSVersionen/ns26:schluessel"/>
    </copy>
    </assign>
    <invoke name="saveEingangsgrösse"
    partnerLink="ecas"
    portType="ns1:EWebService"
    operation="saveEingangsgroesse"
    inputVariable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    outputVariable="saveEingangsgrösse_saveEingangsgroesse_OutputVariable"
    bpelx:inputHeaderVariable="customSoapHeaderIn"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('lieferrichtung') = 'BEZ'">
    <bpelx:annotation>
    <bpelx:pattern>isBezug</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_12">
    <assign name="setSchlüsselMitBkKunde">
    <copy>
    <from expression="concat('Anderer BK ', bpws:getVariableData('getVertragsbezeichnungFromMasterDB_getVertragsinfoFromMasterDB_OutputVariable','getVertragsinfoFromMasterDBOutputCollection','/ns16:getVertragsinfoFromMasterDBOutputCollection/ns16:getVertragsinfoFromMasterDBOutput/ns16:text'))"/>
    <to variable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    part="parameters"
    query="/ns1:saveEingangsgroesse/ns1:pEWSVersionen/ns26:schluessel"/>
    </copy>
    </assign>
    <invoke name="saveEingangsgrösse"
    partnerLink="ecas"
    portType="ns1:EWebService"
    operation="saveEingangsgroesse"
    inputVariable="saveEingangsgrösse_saveEingangsgroesse_InputVariable"
    outputVariable="saveEingangsgrösse_saveEingangsgroesse_OutputVariable"
    bpelx:inputHeaderVariable="customSoapHeaderIn"/>
    </sequence>
    </case>
    <otherwise/>
    </switch>
    <assign name="incrementIterator">
    <copy>
    <from expression="bpws:getVariableData('iterator') + 1"/>
    <to variable="iterator"/>
    </copy>
    </assign>
    </sequence>
    </while>
    </sequence>
    </scope>

  • Hi, my iPad 2 startd tapping on its own. it keeps repeating the tap on the same spot. i can't seem to find any remedy for it except to switch off and on it again, and even that is a temporary fix. any ideas please?

    hi, my iPad 2 startd tapping on its own. it keeps repeating the tap on the same spot. i can't seem to find any remedy for it except to switch off and on it again, and even that is a temporary fix. any ideas please?

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    If that doesn't help I and the problem persists I would have a technician take a look at your iPad. Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • How to use switch condition in XMII??

    Hi ,
    I am not able to find the output path for the match values of switch statement.
    Please explain in detail.

    Hi Ravi,
    I added 3 inputs by using configure button of switch action->results 3 matchvalues.
    After that i placed the condition in each MatchValue expression by mapping it to the Repeater output variable on which i written the condition in above expression.
    first sqlquery--> xMII xml document --> Repeater --> switch
    And i did the calculation after switch by using assignment and row.
    but after executing the above transaction in the output trace it is entering into repeater and switch but it is not entering into sequences after switch.
    But it is repeating switch based on the number of rows of output by using repeater
    Means some problem with switch can u pease clarify it
    after adding the condition for each match value i added 3 sequences below that switch and there i had used assignment action to assign the value from repeater which has to be calculated to transaction variable.
    then i had used xMII xml row and i am getting the values from transaction and repeater and i am configuring this row to document output which i used above repeater.

  • Error in multiple switch condition

    Dear All,
    In my workflow i have a multiple condition step in which i am using SWITCH which on execution gives the following error :
    1.Work item 000000004008: Object FLOWITEM method EXECUTE cannot be executed
    ->Error when starting a SWITCH branch.
    This switch has 3 conditions: based on the parameter &decision&.
    At this i am checking there is a value in the workflow container for the decision,still gives this error.
    Please tell any possible resons for this.

    I am using the RFC to trigger and after the approval step
    i am passing the value of the decision into the container.
    Now tell me where do i pass the workitem_id??
    What RFC you are using to trigger the approval step
    See all I want to say is for every BO you ll have a key attribute through which it will instantiate the BO so for FLOWITEM BO workitem id is the key attribute
    and
    For e;g
    in the FM
    SWE_EVENT_CREATE
    EXPORTING
    Business Object name = 'FLOWITEM'.
    Business Object Key  = '16033'.

  • Exception after switching weblogic 10 To oracle 10g

    Hi Folks
    I have switched weblogic from 10.0 to oracle 10g ( 10.3 ), I got following exception on deploying the project, while in earlier weblogic 10.0 version, it was working fine.
    Nov 19, 2010 4:12:07 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
    INFO: WSSERVLET12: JAX-WS context listener initializing
    Nov 19, 2010 4:12:10 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
    SEVERE: WSSERVLET11: failed to parse runtime descriptor: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
    com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException

    Hi Folks
    I have switched weblogic from 10.0 to oracle 10g ( 10.3 ), I got following exception on deploying the project, while in earlier weblogic 10.0 version, it was working fine.
    Nov 19, 2010 4:12:07 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
    INFO: WSSERVLET12: JAX-WS context listener initializing
    Nov 19, 2010 4:12:10 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
    SEVERE: WSSERVLET11: failed to parse runtime descriptor: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
    com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException

  • Cannot throw exception from switch-"unreachable statement"

    Hi,
    why is this an unreachable statement?
      public static Msg newMsg(int type, Object data)
          Msg msg;
          switch (type)
              case MsgTypes.MSG_CLUSTER_CREATED:
                  msg=new MsgClusterCreated(); break;
              case MsgTypes.MSG_REPLY:
                  msg=new MsgReply(); break;
              default:
                  throw new MessageTypeNotDeclaredException(); break;     //unreachable statement!!!        
          msg.setDataSegment(data);
          return msg;
      }

    When you throw an exception, the program flow never continues "normally" on the next line --- control is always transferred to the nearest exception handler. Thus control never reaches the break statement on the same line, and "unreachable statements" like this are illegal in Java.
    Solution: remove the unnecessary "break;"

  • Building a "switch" condition

    Hiya!
    Im trying to build a little "switch" function, similiar to
    this one...
    on(release) {
    if(testing = "a"){
    testing = "b"
    } else {
    testing = "a"
    The result will always return "a"
    its annoying
    Any tips?

    Yes. I've done this many times myself.
    When doing a comparison you need to use the comparison
    operator not the assignment operator. In other words.
    if(testing="a")
    is not the same as
    if(testing == "a")
    It will make all the difference.

Maybe you are looking for

  • Can I copy Power Query queries to other Excel workbook ?

    Can I copy Power Query queries to other Excel workbook ? I want to copy some Power Query queies to other Excel workbook. a workbook have some queries about population. a workbook have some queries about labor market. I want to build a workbook with p

  • Newbie question about Logical Data services

    Lets say we want to create a Logical Data Service that will retrieve data from several web-services and aggregate the results. When a client requests data from the logical data service, a number of webservices will get invoked. Response time of these

  • Workaround for using the latest nightly SDK 4.0 builds with Flash Builder Beta 2

    The latest builds of SDK 4.0 have been updated in preparation for including playerglobal.swc for Flash Player 10.1. Flash Builder Beta 2 can not find playerglobal.swc due to the addition of the {targetPlayerMinorVersion} variable found in the flex-co

  • DBACOCKPIT saptools

    Dear Experts, In our organization there is no Database Administrator.I only the BASIS administrator. Now i am facing one issue.In DBACOCKPIT when we going to configure any thing it is showing "Repair Data Collector". Instructions from SAP support tea

  • Dummy profit center posting

    We have postings coming up in dummy profit center each month,and we need to remove it, one fix could be to reverse those entries and repost it with assignment of a profit center, but I heard there is some tool available where you can just transfer th