Zeroing in on the number of inventories

How do we zero in on the number of inventories to be incorporated? Why is it that we cannot have one central inventory and designate all other storehouses as subinventories? What is the business logic?
thx

I would have implemented the requirement in the following way:
In the rule I would have added a flag. The decison task at which the rule is applicable will be in side a loop step.
At first loop pass the flag will have blank value. In the FM attached with rule you implement the following logic.
Block1) If flag value is initial. check if manager exists. if manager found set the flag with M and populate agent accordingly. If not found set the flag = MX.
Block2) If flag value is M or MX. check if director exists. If director found populate agent with director and set the flag with D. If not found set the flag = DX.
Block3) If flag value is D or DX. Check if financial director exists. If financial director found populate agent with financial director and set the flag to c. Assuming fin diector will be there.
Loop condition will be flag = C. If flag = c then complete the loop else continue for the next pass.
At the first loop pass the execution will go to the block1. The workitem will go to manager. IF manager not found the 2nd loop paas will start as the flag <>c.  In the second loop pass block 2 will execute. If director is determined workitem will go to director. In this way the execution will move from manager to director and financial director.
This logic will not require any other activity to check if the manager is there or not. only one decision step with in a step loop will complete the requirement.

Similar Messages

  • When I press 0 I get the number 9

    When I press the numeral 0 (zero) I get the number 9.  Can I rotate the screen sideways like an iPad or any other work arounds?

    Hey WShimet,
    I found the following troubleshooting steps for when your touchscreen is giving you issues:
    Restart your device
    Hold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    If you can't restart your device, reset it by pressing and holding the Sleep/Wake button and the Home button at the same time for a least ten seconds, until the Apple logo appears.
    Clean the screen with a soft, slightly damp, lint-free cloth.
    Avoid using the device while wearing gloves, with wet hands, or immediately after applying hand lotion.
    If you have a protective case, or if you are using a plastic sheet or film on the display, try removing them and testing the device without it.
    If the steps above don't resolve your issue, please schedule a service appointment with an Apple Retail Store for evaluation. If an Apple Retail store is not an option, contact Apple to find out your best service option or see theService FAQ for your product.
    via: iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/TS1827
    Welcome to Apple Support Communities!
    Regards,
    Delgadoh

  • Fast way to find the number of non-zero terms in an array or image

    I am trying to use the Standard Deviation PtbyPt Vi.  It takes in a series of points, can be reset when beginning the calculation.  There is also an input for sample size.  I am calculating some statistics on an array...and would only  to include like the non-zero elements that are  in the sample. 
    Is there a quick way to look at an array and find the number of non-zero elements?
    Thanks.
    Solved!
    Go to Solution.

    GerdW wrote:
    - for big arrays this may lead to "out of memory" problems because of creation of data copies
    Here's a quick rundown on memory allocations based on the algorithm.
    (case 1&3)
    If you do the "!=0, ?1:0, I32, sum" shuffle, each step needs to allocate a new array, so if the input array is DBL and uses N amount of memory, we need 7N/8 more memory.
    (Total of 15N/8, or 13N/8 if we don't need the I32, but in this case the array are too small to worry about anything )
    The nice thing is that it works for any array dimensionality (1D, 2D, 5D, etc...)
    (Case 2&5)
    If you do the summing in a shift register, No additional array memory is needed. Unfortunately, the code needs to be changed by adding an extra FOR loop for each dimension (see case 5 for 2D inputs).
    (Case 4)
    If we reshape the N-D array to a 1D array, we need to create a second copy, so the memory usage is about twice. This also works for any dimension.
    In real life, and if memory is a potential issue, you should always do some benchmarks.
    Often, the issues are more complex, so this is just a quick summary.
    Message Edited by altenbach on 10-23-2008 11:59 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CountNonZero.PNG ‏29 KB

  • Forgetting to enter zeroes in front of the number

    Post Author: ANTJIM
    CA Forum: Deployment
    I am new to CrystalReport XI and any of its versions. How do you write the script so that if enduser forgot to enter zeroes (ie.,00504), the application will know to pull the data on number 504  from {Log.TicketNumber}?  Thanks.

    It just happens on calls.It doesn't cause any issues when calling.I don't 
    store contacts with "+1" in front of their name.Can you ask if it's just a 
    software issue or a carrier issue?
    In a message dated 3/27/2015 9:29:52 A.M. Eastern Daylight Time, 
    [email protected] writes:
             (https://community.verizonwireless.com/)      
    A  message from the Verizon  Wireless Community
    (https://community.verizonwireless.com/) 
          (https://www.verizonwireless.com/wcms/consumer/explore.html)  
    (http://www.verizonwireless.com/wcms/consumer/shop.html)  
    (http://www.verizonwireless.com/b2c/myverizonlp/)   (http://www.verizonwireless.com/support/) 
    I  just bought the Nexus 6.Everytime I go to make a cell or receive a  call
    there's a +1 in front of the number?Any way to turn the +1  off?
    created by Verizon  Wireless Customer Support
    (https://community.verizonwireless.com/people/vzw_customer_support)  in Android - _View  the full
    discussion_ (https://community.verizonwireless.com/message/1239836#1239836)

  • Need to show leading zeros in the number field when printed from RDF

    We have a requirement to show leading zeros in the rdf output.
    We cannot use a format mask to achieve the same as the length of the field is not fixed.
    for ex if we have 0.68 then the same is printed in RDF as .68
    we cannot use a format mask as the length of the field is not fixed.
    we need to
    Kindly suggest if any solution exists for the same.

    the numbers after the decima can be anything..
    it can range between 2 to 10 or more...
    as told by you if we put the format as to_char(.68,'90.99') it shall give 0.68 but what for numbers like0.678,0.4567,0.765433 it will display only 2 digits after the decimal...
    The requirement is to dispaly the number as it is ,only the zeroes before the decimal should stay intact..
    we are not able to achieve this in rdf output..
    if it is
    0.678 then 0.678 shld be dispalyed
    0.4567 then 0.4567
    0.765433 then 0.765433
    one format mask shld wrk for all the above..
    we would not be changing the format mask for each number....

  • ORA-24333: zero iteration count  Cause: An iteration count of zero was specified for the statement Action: Specify the number of times this statement must be executed

    Get the following error from Oracle 
    ORA-24333: zero iteration count
    Cause: An iteration count of zero was specified for the statement
    Action: Specify the number of times this statement must be executed
    Any suggestions on whether is this a Oracle bug or if not what should be set to avoid this failure.

    Hello get this from executing the following.
    Occurs intermitently.
    select MAX(LENGTH(lxVal)) from lxString_74501fb6 where lxType=910231053
    Find the MaxLenght(LxVal) returned is null for this query.
    Did google it but says the iterator not initialized. But not the case here
    Thanks

  • The leading zeros are removing from Number field

    Hi,
    How can i keep the leading Zeros in the number field. For eg, when validating the field, 00123 becomes 123, how to prevent it,
    Thanks in advance

    Hi
    I tried with LPAD(:numberfield,5,'0') in the validate field, but it is not working, I am getting the error , it is not a procedure....., I working with Forms 10g
    Thanks in advance

  • How to slash the number zero

    I want to know how to get a slashed zero by using the iMac Standard wired keyboard.
    I have found out how to get a slashed capital letter O which looks like this: Ø
    This is done by pressing option key plus Shift plus letter o
    But I want to overlay the following two characters: 0 and /
    Is there a combination of keys that will give me a slash through the number 0 ?
    Thanks,

    That seems quite time consuming. Although I don't quite understand all the directions below -- perhaps this is clear to someone else -- I wonder if this would work to make a keyboard shortcut, if not for the whole figure, at least to add the slash?
    http://www.macosxtips.co.uk/index_files/the-input-menu-and-character-viewer.html
    +To create a keyboard shortcut for it, open up Automator (in the Applications folder) and create a new Service. Add the “Run Applescript” action, and paste the following lines in:+
    +tell application "CharacterPalette"+
    activate
    +end tell+
    +Change the “text” drop-down menu to “no input,” then save the Service. You can then add the keyboard shortcut from the Keyboard section of System Preferences.+

  • TS2662 number zero only types the symbol

    My keyboard will not type the number zero only the symbol the zero "[" anyone know what to do to get my zero back>

    OK. I'm getting you moved to the forum for newer iMacs. The smartest person in the world would have trouble with the non-intuitive labeling for some of these forums! You have an Intel iMac; this forum covers pre-Intel iMacs that were discontinued in 2006.
    I think someone can help you there much faster and better than can I.

  • [Tweak needed] - Generate a Complex Password without the number 0 (zero)

    Hi there,
    I've been reading this forum a lot, and happens to be the first time I need to post something on my own.
    I've found this very useful piece
    of code from your script repository and I've been able to tweak it for my needs but for one thing: eliminate the number 0 (zero) from the list of possible list of numbers to be used.
    I know I could read the string and if 0 (zero) is found, reject the password, but would rather understand/find a way how to make it not an option at all to generate
    the password.
    Thanks a lot in advance for your answers.
    Patrick

    Change the following line in the script:
    iAsc = Int(Rnd*10)+48
    To: 
    iAsc = Int(Rnd*9)+49
    The original code generates a random ASCII character value for the numbers 0 to 9 (ASCII 48 to 57). The new code generates a random ASCII character value for the numbers 1 to 9 (ASCII 49 to 57).
    As has been mentioned already, by not allowing zeros you are effectively (slightly) weakening your algorithm for generating complex passwords.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • How to get the number from a xml file to flash as3 Text Box "Get_Days"?

    Hi,
    I have to daily update the number of days finished from the specified days. Say, One work to be finished in 30 days. And the start day is today. So, tomorrow it will be 29 days left. and so on....
    So, instead of reducing one number everyday from the last days number using flash, it will be easy changing in xml file.
    How can I do that?
    I have a simple text box "dynamic text box" and the instance name : "Days_Left". Since I am learner, I cannot make complex projects. I am learning small things with very few lines of code which can be modified using xml files.
    So, Whatever I type in a xml file, it should appear in a text box called "Days_Left".
    Thanks.

    then you can use:
    var currentDate:Date = new Date(); 
    // this is today's date
    var projectDueDate:Date = new Date(2010,11,29); 
    // use whatever date you want for the due date.
    // months are zero-based.  (ie, jan is month 0, dec is month 11.)
    var daysToCompleteProject:Number = (projectDueDate.getTime()-currentDate.getTime())/(1000*60*60*24);
    // this is number of days between currentDate and projectDueDate.  you probably want to round or use days:hours:minutes for your display

  • Is there a way to count the number of times an array moves from positive to negative?

    I have an array of values, and I need to find the number of times that the array changes signs (from positive to negative, or vice versa). In other words from a graphical standpoint, how many times a certain line crosses the x-axis. Counting the number of times the array equals zero does not help however, because the array does not always equal exactly zero when it crosses the axis (ie, the points could move from .1 to -.1).
    Thanks for you help. Feel free to email me at [email protected] I only have lv 5.1.1 so if you attach any files, they cannot be version 6.0.

    Attached is a VI showing the # of Pos and Neg numbers in an array, with 0 considered as non-Pos. It is easily modifiable to other parameters - including using the X-axis value as your compare point versus only Zero.
    This is a modified VI from LV (Separate Array.vi)
    Compare this with your other responses to find the best fit.
    Doug
    Attachments:
    arraysizesposneg.vi ‏40 KB

  • How to get the Number of lines displayed in  table control in bdc

    Hi,
    when we write a  bdc for a standard transaction, if we encounter a table control, we fill the values for each record like field(01), and the second record field(02) .......and so on..
    if only 3 records are displayed in the screen and if we have 5 records to be filled in the table control, how to write the logic for that?
    how to track of how many lines are getting displayed in the table control .. again it depends on the screen resolution i think..
    useful answers will be rewarded
    shekhar

    Hi,
    Here is the solution code for this :-
    data for controlling paging on screen 0102 
    DATA: W_MAXLINES(2) TYPE N, 
    W_NEXT_LINE(3) TYPE N, 
    W_PAGE(1), "y = page forward, n otherwise 
    W_SCRLEN(2) TYPE I, 
    W_SCRLINE(2) TYPE I. 
    DATA: BEGIN OF W_HDR. 
    INCLUDE STRUCTURE D020S. 
    DATA: END OF W_HDR. 
    DATA: BEGIN OF W_FLD OCCURS 100. 
    INCLUDE STRUCTURE D021S. 
    DATA: END OF W_FLD. 
    DATA: BEGIN OF W_LOG OCCURS 20. 
    INCLUDE STRUCTURE D022S. 
    DATA: END OF W_LOG. 
    DATA: BEGIN OF W_MC OCCURS 20. 
    INCLUDE STRUCTURE D023S. 
    DATA: END OF W_MC. 
    DATA: BEGIN OF W_DYNPRONAME, 
    PROGRAM(8) VALUE 'SAPMM60X', 
    DYNPRO(4) VALUE '0102', 
    END OF W_DYNPRONAME. 
    FORM GET_MAX_LINES. 
    set w_maxlines to the number of var-loop occurrences on the screen so 
    that we know when to page forward on screen 0102 
    also initialise w_next_line to zero for GET_NEXT_LINE 
    this subroutine caters for all cases - including screens without loops 
    CLEAR: W_MAXLINES, 
    W_NEXT_LINE. 
    IMPORT DYNPRO W_HDR 
    W_FLD 
    W_LOG 
    W_MC 
    ID W_DYNPRONAME. 
    LOOP AT W_FLD WHERE LTYP EQ 'L'. 
    MOVE W_FLD-LINE TO W_SCRLINE. "first var-loop line 
    MOVE W_FLD-LBLK TO W_SCRLEN. "depth of loop block 
    EXIT. 
    ENDLOOP. 
    IF SY-SUBRC EQ 0 
    AND W_SCRLEN NE 0. 
    sy-srows = total no of lines on screen 
    w_scrline = actual first line of loop so that 
    w_scrline - 1 = number of heading lines (before loop) 
    4 = no of lines at top of screen - command line, pushbuttons, 2 ulines 
    3 = no of lines after loop - uline & Page count 
    w_scrlen = no of lines in loop block 
    w_maxlines = sy-srows - ( wscrline - 1 ) - 4 - 3 
    and then 1 less but not sure why! 
    W_MAXLINES = SY-SROWS - W_SCRLINE - 1 - 4 - 3. 
    W_MAXLINES = W_MAXLINES - 1.
    W_MAXLINES = W_MAXLINES DIV W_SCRLEN. 
    ELSE. 
    MOVE 99 TO W_MAXLINES. "this required if no screen loop 
    ENDIF. 
    ENDFORM. 
    FORM GET_NEXT_LINE. 
    set w_page if page forward is required 
    W_NEXT_LINE = W_NEXT_LINE + 1. 
    IF W_NEXT_LINE GT W_MAXLINES. 
    W_NEXT_LINE = 1. 
    W_PAGE = 'Y'. 
    ELSE. 
    W_PAGE = 'N'. 
    ENDIF. 
    ENDFORM. 
    Hope it helps.
    reward if helpful.
    Regards,
    Sipra

  • What's wrong with the built-in keyboard on my macbook? The caps button does not work rite, no matter what letter button i push they all come out capitals and the number keys when pushed display the special characters instead of the numbers!

    the built-in keyboard on my macbook is not functioning right, the number keys when pushed display the special characters instead of the numbers,
    the caps button doesn't work at all, the letter buttons display capitals when pushed whether the caps button is on or off, the shift keys are also out of whack!!
    It seems it somehow got relocated to the "0" button because if you push and hold the zero button down the keyboard seems to operate normally, the number keys display numbers when pushed the letter keys display lower case when pushed but release the zero button and your back in the twilight zone!! Can anybody help me resolve this issue? one more thing im using an external usb keyboard right now and it seems to function properly if that helps any.

    You would do better in the actual macbook pro forums (this is not).

  • Problem with a script making the number of lives change

    http://www.zshare.net/download/super...flash-fla.html
    - The fla file (As my code is all over the place you probably might
    want to look at this)
    The lives doesn't work. I made a movie clip with different
    frames and on each frame there are different numbers of hearts
    on.The code on the frame mario dies is:
    Code:
    onEnterFrame = function () {
    if (_root.healtha._currentframe != 1) {
    _root.healtha.gotoAndPlay(_root.healtha._currentframe-1);
    if (_root.healtha._currentframe == 1) {
    _root.healtha.gotoAndPlay(_root.healtha._currentframe+3);
    if (_root.healtha._currentframe == 3) {
    _root.gotoAndPlay("scene2", 1);
    } else {
    _root.gotoAndPlay(2);
    The movie clip containing the hearts should be at
    _root.healtha So i want when mario dies the number of hearts goes
    down and when the number of hearts is zero and he dies (when
    _root.healtha is on frame 3) you go to scene2.
    Thats the code for the fla file i uploaded the new code is:
    onEnterFrame = function () {
    if (_root.healtha._currentframe == 1) {
    var aa:Number = _root.healtha._currentframe+3;
    _root.healtha.gotoAndStop(aa);
    } else if (_root.healtha._currentframe != 2) {
    var bb:Number = _root.healtha._currentframe-1;
    _root.healtha.gotoAndStop(bb);
    } else if (_root.healtha._currentframe == 2) {
    _root.gotoAndPlay("scene2", 1);
    _root.gotoAndPlay(2);

    does that onEnterFrame only execute when mario dies? if so,
    it doesn't need to be in an onEnterFrame loop? if not, that code
    won't work.
    so, assuming it works (label the first frame in scene 2 and)
    use:

Maybe you are looking for