Order of behaviours on multiples sprites

When I add more than one behaviour to a sprite, the
behaviours are attached to the sprite in the correct order (the
same order as in which I add them.) However, when I make a
selection of multiple sprites, and then add the behaviours,
director has its own mind about the order, there is no way I can
influence this.
I have a case where the order of the behaviours is important,
and they have to be attached to 200 sprites, a lot of work when I
have to do it one by one. I could try attaching the behaviours
dynamicly, but before I go that way I would like to know if someone
ever stumbled into the same problem and knows a solution for it.
jan

Hi,
You must be having the Lot-size as EX.
In this situation, For your lot size : EX, in OPI4, Activate the MTO Lot size as "1" (Lot-for-lot with Rounding).
Maintain the Rounding Value in MRP1 View.
Now the Order will be created with Multiples of your rounding Value.
Hope this helps..
Regards,
Siva

Similar Messages

  • Behaviour of multiple queue receivers on same queue

    I have been trying to find out what exactly the jms specification states about having multiple queue receivers registered on the same queue. Some books and people say that one is only supposed to register one queue receiver per queue, if this is the case then one might as well use one topic subscriber per topic (what is the utiliy of a queue then).
    I believe that one is allowed to register multiple queue receivers on a queue, and a message will only be consumed by exactly one and only one queue receiver, thus allowing for true parallel processing. This is the behaviour I have observed when using jms on both JBoss and Weblogic (and apparantly is the same on Websphere).
    I have looked at the formal JMS spec from sun and they dont make it clear what the behaviour of multiple queue receivers on queue is. Can somebody PLEASE help me clear this up.

    The behaviour is undefined by the spec. Here is what it says:
    "Although it is possible to have two sessions with a QueueReceiver for the same queue, JMS does not define how messages are distributed between the QueueReceivers."
    However, multiple receivers on a single queue is a very popular design pattern. A typically pattern is to use the queue as a worklist and for work items to be posted to the queue. There is then a collection of workers who are registered as queue receivers picking out their work items from the queue. These workers are processing in parallel and as the workload increases you respond by add more workers.
    This pattern is usable where message ordering is not important and that the workers are stateless.
    Steve

  • How does iCal, or Calendar, order the display of multiple events for the same time?

    I can't for the life of me figure out how iCal orders the display of multiple items at the same time.  Does anyone have a clue?  It's not alphabetical.  It's not according the the order of the calendars in the left pane.  Is it just random?  Any help would be greatly appreciated.

    In the focus lost eventhandling start a thread which does
    the actual handling.
    the new thread waits for a little time (0.1 seconds)
    the click event of the button checks for a thread like the one above and tells it not to execute
    This way you execute the for the lost focus event only if
    the ok button isn't clicked in the same process ... not
    realy good, because it kind of relies on the ordering of threads ... but maybe it still works for you?

  • Create one order with reference to multiple quotations

    Hi gurus,
      Is it possible in standard SAP to create one sales order with multiple quotations, or to create one order with reference to multiple orders, if yes what is the procedure.
    Regards,
    kishore.

    Hi Kishore,
    Yes, You can create a Sales Order with reference to multiple quotes or Sales Orders.
    The Procedure is as follows
    1. Goto T. Code VA01 (CREATE SALES ORDER)
    2. Give Sales document type and Sales Area
    3. After entering into the Create Sales Order screen, click on top left menu which is "Sales Document"
    4. In that list, you have an option " Create With reference", in that again you have two options "To Sales Document" and "To Serial Number"
    5. Select "To sales Document", then a window will be opened which has all the tabs like "Inquiry, Quotation, Order, Contract, Shc. Agg, Billing doc"
    6. Select any one tab which you want to copy (say quotation), give the quotation number there and click on copy.
    7. Then all the line items and Header data will be copied from quotation to that sales order.
    8. Like this you can do for any number of times.
    Hope this is clear
    Reward if helpful
    Thanks
    Praveen

  • One order with reference to multiple contracts

    Hi,
    As we create one invoice(consolidated invoice) for multiple orders where condition is header data should be same for all the orders.In the same way can we create one order with reference to multiple contracts?
    Please suggest.
    Regards,
    SATYA

    Hi,
    Thanks alot for the information.
    Is this the only way to create one order for multiple contract? Why i am asking because in SAP we are creating contracts but the release order we are getting it uploaded from other software.I am in a service industry project where we do DP91(resource related billing) for all the contract.But in dp91 we can give only one contract at a time.
    But we want to create order where multiple contract can be used .
    And where in order we can see the contract number?
    In the table it is visible as ref doc but not in the order.
    Regards,
    SATYA

  • Value to multiple sprites through the same parameter

    I'm going to ask the same question "
    "contains" doubt in hexadecimal color value?" but in a
    different way, because I figured out that the solution is simpler
    that I thought, and the solutions goes by other way. I have this
    behavior:
    property pTargetSprite, pBlendValue
    on getPropertyDescriptionList me
    list = [:]
    addProp list, #pTargetSprite, [#comment: "Target Sprite:",\
    #format: #integer, #default: VOID]
    addProp list, #pBlendValue, [#comment: "Blend Value:",\
    #format: #integer, #default: 100]
    return list
    end
    on mouseDown me
    sprite(pTargetSprite).blend = pBlendValue
    end
    I would like to enter MULTIPLE sprites for 1 parameter, that
    is to say when the dialog box of the behavior appears and ask me
    the "Target Sprite:", I would like to input ...let's say 1 , 2 , 3
    , ... whatever numbers I want. Therefore, the blend values of that
    sprites will change according to the input Blend Value. Right Now
    is working perfect, but of course with only ONE sprite, but I want
    to be able to assign that Blend Value to multiple sprites over the
    same parameter.
    I guess it must be very simple, but I cannot get the answer
    anywhere in my brain, nor my director book, nor in the forums.
    Thanks!!!

    You have several options here. You can do as you suggest,
    create a list
    of the sprite numbers to change and then tell each of those
    sprite's
    blend value to change.
    Another method is to write a function in the behavior that
    you attach to
    each sprite and then use sendAllSprites() to fire each of
    those
    functions. If you are attaching behaviors to each sprite this
    may be the
    way to go.
    For method 1, you could amend your behavior like this:
    property spriteList
    property blendValue
    on getPropertyDescriptionlist
    myPropList = [:]
    myPropList.addProp(#spriteList,[#comment:"enter the sprite
    channel
    numbers to use, separated by
    commas:",#format:#integer,#default:"1,2,3"])
    myPropList.addProp(#blendValue, [#comment: "Blend Value:",\
    #format: #integer, #default: 100])
    return myPropList
    end
    on beginSprite me
    spriteList = stringToList(spriteList)
    end
    on stringToList(thisString)
    oldDelim = the itemDelimiter
    the itemDelimiter = ","
    thisManyItems = thisString.item.count
    tempList = []
    repeat with n = 1 to thisManyItems
    tempList.add(thisString.item[n])
    end repeat
    the itemDelimiter = oldDelim
    return tempList
    end
    on mouseUp me
    thisMany = spriteList.count
    repeat with n = 1 to thisMany
    sprite(n).blend = blendValue
    end repeat
    end
    for method 2 you could use something like this in each
    sprite's behavior:
    property blendValue
    property thisSprite
    on getPropertyDescriptionlist
    myPropList = [:]
    myPropList.addProp(#blendValue, [#comment: "Blend Value:",\
    #format: #integer, #default: 100])
    return myPropList
    end
    on beginSprite me
    thisSprite = me.spriteNum
    end
    on changeValue me
    sprite(thisSprite).blend = blendValue
    end
    and then you can call this second method from a mouse event:
    on mouseUp me
    sendAllSprites(#changeValue)
    end
    and every sprite that contains that function in the frame
    where it is
    called will execute.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • How can I affect multiple sprites?

    Hi:
    I am trying to affect multiple sprites when I roll over a
    button. Basically it says:
    on mouseEnter me
    sprite(3).visibility = 1
    sprite(4).visibility = 1
    sprite(5).visibility = 1
    end
    on mouseLeave me
    sprite(3).visibility = 0
    sprite(4).visibility = 0
    sprite(5).visibility = 0
    end
    How can I tell it to affect the 3 of them in one line? I
    tried:
    on mouseEnter me
    sprite(3,4,5).visibility = 1
    end
    but this didn't work.
    It is not an issue when its is only a few sprites...but I
    might need to affect 10-15.
    Any help would be great...
    Thanks!
    Rafael.

    You could use a repeat loop where you make a list of the
    sprite numbers
    then go through that list
    on mouseEnter me
    repeat with i in [3,4,5]
    sprite(i).visibility = 1
    end repeat
    end
    OR
    on mouseEnter me
    mySprites=[3,4,5]
    repeat with i in mySprites
    sprite(i).visibility = 1
    end repeat
    end
    That would be how to affect them directoly. You may not want
    to use a
    lot of tight repeat loops if there are large amounts of
    these, since
    that will tend to lock up Director until the repeat loop is
    finished.
    An easier way is to use sendAllSprites.
    In the script that is on the sprites that you want to control
    the
    visibility of, add a custom handler like this:
    on setVisible me, vVis
    sprite(me.spriteNum).visible=vVis
    end
    Then, on your button, you would have code like this:
    on mouseEnter me
    sendAllSprites(#setVisible,1)
    end
    on mouseLeave me
    sendAllSprites(#setVisible,0)
    end
    Now, when the mouse is over (or leaves) that sprite, any
    sprite which
    has that custom handler will turn its visibility on or off

  • Co-payment of an Order using 2 "payers" - multiple materials

    G'day
    I am working on a requirement to fix and improve a co-payment process. This was not set up by me - set up simply for a implemtation last year.
    I am looking at alternatives with less problems.
    The scenario is that a patient orders medical goods, but only pays for part of them. A second party pays the balance.
    We require 2 "Invoices".
    The current solution works by having a copy of the payer partner in the order and by using a manual header condition to enter what the patient pays. This changes the net price of the order. 
    A debit memo is then initiated from a user exit on order save to credit a debit memo against the second paying party (Hospital or medical insurance company).
    Both "payers" then have open items on their AR accounts.
    The process however falls down when not all materials in an order are avaialble on the same date and we have more than one delivery. The header condition is then split over 2 Invoices and this leads to confusion in returns and credit memo's with reference to the original order.
    I just wanted to put this out there and see if anyone has any better alternate ideas.
    I have looked at the SAP help for the IS-Health industry solution and initial views are that they have a "co-pay" solution but it is in FI only and not SD.
    My perception thus far is to continue and fix and control the behaviour of the condition via pricing formula's, requirements and possible user exits (enhancements spots).
    Wondered if anyone has any better ideas.
    I am an senior SD functional but have a good understanding of abap and can cut simple code and have been developer before my SAP life many years ago so can understansd technical and fucntional solutions, custom tables etc etc
    Thanks in anticipation
    Derrick

    Does this configuration make each GigE
    capabale device send data to others at GigE speeds
    (eg. MacPro to ReadyNAS, MacPro to Mac Mini,
    etc)?
    Yes, they are all Gigabit, but if you have multiple transfers going on at once, you are limited to the speed of the backplane of the switch.
    Is
    there any latency or collisions caused by this
    configuration?
    Prehaps a crossover cable between the switches would help. In the old days you would have had to do that, but the ports are now figuring it out on their own. It might just be more efficent go by a crossover cable (looks just like a ethernet cable but has one of the internal pairs crossed, I think- that's the idea anyway.)
    Many, Many.   Mac OS X (10.4.9)   Full time tech.

  • How to remove Sales Order to Own for multiple Batches at a time.

    Dear All,
    We use to scrap FERT materials using Mvt. Type 551 / 555, but before scrapping stocks are being removed from Sales Order using Mov. Type: 411 'E', because Batches are produced against Sales Order under MTO strategy.
    The removing process from Sales Order using T.Code MB1A & Mov. Type: 411 'E' is quite time consuming because in this case only one batch is removed from Sales Order at a time.
    So is there any way by which I can remove multiple Batches at a time from Sales Order.
    Thanks and Best Regards,
    Vivek Kumar

    Hi
    YOu can use transaction MASS with the sales document, sales document item, batch fields.
    create a variant and do the changes
    regards,
    Ramana

  • Order quantity split in multiple delivery

    Hi,
    We have a strange requirement.If we put the order quantity in the sales order line Item as 100 MT then the deliveries should be split and should contain 30,30,30 & 10 quantities respectively.
    Please suggest.
    Regards
    Rahul

    You can set delivery quantity in multiples but not like the one you have indicated.
    Go to Tab: Sales: sales org.1 in material master where you can see a field Delivery unit.  There you need to maintain in what multiples, order quantity should be saved.  Suppossing if you maintain 30 here, delivery will be created only in multiples of 30.  In order to create separate delivery for each of these multiples, you have to add this logic in your existing routine.
    Also go to OVAH, select message no.V4-081 and change it to "E". By default "W" will be there.
    thanks
    G. Lakshmipathi

  • Multiple purchase orders in a file - Multiple IDOC'S based on lineitem

    Hello All,
    I have a typical requirement where as there needs to be "separate IDOCs for different material with distribution channel X and Y".
    The input is a file with multiple purchase oders inorder to generate multiple IDOCs..
    As a prerequisite I made changes in occurrence of target structure IDOC from 1..1  to 1..unbounded.
    I came to know from some sources that it can be achieved  through Java mapping but i am not aware of JAVA.
    Can anybody has the detailed Java mapping code?
    It would be great if anybody help me out from this issue .
    Thanks in advance.
    Best regards
    Hari

    Hi Raj,
    Thanks for your reply.
    May be we can achieve it using graphical mapping but its a edifact file   with multiple purchase orders.
    Internally we have some conditions like for every repetirion of the segment UNH new idoc number needs to generate
    i.e. UNH -
    >IDOC
    along with line item requirement.
    In this case need to handle logic at the top level as well as line item level or can club both.
    If possible can you please let me know what have you done in your case so that i can compare mine.
    Thanks once again.
    Hari

  • Playlist shuffle order the same on multiple ipods?

    I'd like to have a random playlist of songs that is in exactly the same order on several ipods. I seem to recall in previous versions on iTunes that I could shuffle a playlist and save it as a new playlist, but I don't seem to be able to do that now.

    I have solved this in a roundabout way:
         Copy the song files to an old laptop that's still running an ancient version of iTunes (Vers 4)
         Shuffle the songs in a new playlist on that laptop
         Export the song list (playlist) as a text file
         Import that playlist back into my current computer and iTunes
         Voila! A random playlist that I can copy to multiple iPods

  • Conditional order by clause with multiple columns

    I would like to know whether it is possible to include multiple columns in a conditional order by clause.
    Ex: I have written the following PL / SQL :
    CREATE PROCEDURE GetProducts
    @OrderBy VARCHAR(50),
    @Input2 VARCHAR(30)
    AS
    BEGIN
    SET NOCOUNT ON
    SELECT Id, ProductName, Description, Price, Quantity
    FROM Products
    WHERE ProductName LIKE @Input2
    ORDER BY
    CASE               
    WHEN @OrderBy = 'ProductNameAsc' THEN ProductName
    END ASC,
    CASE
    WHEN @OrderBy = 'ProductNameDesc' THEN ProductName
    END DESC
    END
    Now I want to include when the Orderby - "Productnameasc" then order by productname, price, stdate
    else
    orderby productname, crdate, category
    Could this be done? I tried it, but couldn't get this to work.
    Any help is greatly appreciated.

    Since matching ORDER BY columns have different data types (first column for CLERK is sal - number, first column for MANAGER deptno is number but first column for "else" is a string) we need to convert number to string but preserve number sort order. Since DEPTNO is NUMBER(2) we will use TO_CHAR with format 'S00'. Since SAL is NUMBER(7,2) we will use TO_CHAR with format model 'S00000D00'. For EMPNO we will use TO_CHAR with format model 'S0000'.
    select  deptno,
            empno,
            ename,
            job,
            sal
      from  emp
      order by case job
                 when 'CLERK' then to_char(sal,'S00000D00')
                 when 'MANAGER' then to_char(deptno,'S00')
                 else ename
               end,
               case job
                 when 'CLERK' then to_char(deptno,'S00')
                 else job
               end,
               case job
                 when 'CLERK' then job
                 when 'MANAGER' then to_char(empno,'S0000')
               end
        DEPTNO      EMPNO ENAME      JOB              SAL
            20       7369 SMITH      CLERK            800
            30       7900 JAMES      CLERK            950
            20       7876 ADAMS      CLERK           1100
            10       7934 MILLER     CLERK           1300
            10       7782 CLARK      MANAGER         2450
            20       7566 JONES      MANAGER         2975
            30       7698 BLAKE      MANAGER         2850
            30       7499 ALLEN      SALESMAN        1600
            20       7902 FORD       ANALYST         3000
            10       7839 KING       PRESIDENT       5000
            30       7654 MARTIN     SALESMAN        1250
        DEPTNO      EMPNO ENAME      JOB              SAL
            20       7788 SCOTT      ANALYST         3000
            30       7844 TURNER     SALESMAN        1500
            30       7521 WARD       SALESMAN        1250
    14 rows selected.
    SQL>  SY.

  • Send a behaviour to a sprite

    Hello:
    I have a behaviour with 1 parameter and I want to send to a
    sprite.
    How can I do it?
    Thanks

    two ways.
    Assuming param is any type of variable that has been
    initialized and has a
    valid value, in the behavior from which you want to send the
    parameter, add:
    SendSprite (12, #TakeParam, param)
    or
    SendAllSprites (#TakeParam, param)
    then in behavior on sprite 12
    on TakeParam me, param
    put param -- (or do something else with param)
    end
    If you use the second option in the behavior of the sprite
    that is sending
    the parameter, every sprite will be checked for the TakeParam
    handler but
    only those with the TakeParam behavior will actually receive
    the message
    (and thus the parameter). Of course, I chose sprite 12
    arbitrarily.
    Craig Wollman
    Word of Mouth Productions
    phone 212 928 9581
    fax 212 928 9582
    159-00 Riverside Drive West #5H-70
    NY, NY 10032
    www.wordofmouthpros.com
    "Anne" <[email protected]> wrote in message
    news:ea25nu$b5c$[email protected]..
    > Hello:
    >
    > I have a behaviour with 1 parameter and I want to send
    to a sprite.
    > How can I do it?
    >
    > Thanks
    >

  • Order qty should be multiple of box quantity

    Hi all,
    We have material  which has box qty12.But while creating sales order we can create order  for 13 ,14 qty.
    But we want order qty can be only entered as 12,24,36.Plz advice.
    Thanks and Regards,
    Praveen

    Hi,
          In the material master mantain the Delivery Unit and the Unit of measure in the Sales Org-1 view below to be 12 . It will take the multiples of 12 only.
    Thanks
    Manoj sharma

Maybe you are looking for

  • SSRS report using mdx query to display sales of product by yearwise

    There is a requirement to create SSRS report as  Product                         +Calender2011               -Calender 2012            +Calender 2013                + Calender 2014 Jan12 Feb12 Mar12... Product 1 50    100       200 .. Product 2 150  

  • Ask a acropdf.dll question

    void __fastcall TForm1::BitBtn1Click(TObject *Sender)   AcroPDF1->LoadFile(WideString("G:\\1.pdf"));       AcroPDF1->printAll(); when i print, warning arise(content is :"Warning! The script called for the Acrobat file, this may print the whole docume

  • How do i measure frequency?

    lets say theres this signal in volts. if you plot the signal it forms a sine graph. is there any way to use labview to determine the frequency of the signal? i've tried to use the "measure frequency vi" but my device is connected to a virtual channel

  • Problem to create an Incident in EHSM 4.0

    Hi Experts!, I am writting to ask you because I am having problem to create an Incident in EHSM 4.0. Currently I have the SAP_EHSM_HSS_INICIDENT_MANAGER role, and I select "Incident-->Report Incident" After, I see this windows where I have to complet

  • I keep trying to install the latest version of firefox and it's not working

    I'm running firefox 3.something, I think, and I keep trying to install the latest version on my mac. I go through saving it, opening it, dragging the icon to my apps file...and when I drag it to my apps file it takes a few seconds to do *something*,