How to make stock zero

HI,
qty 10 exists in sales order stock (which is moved from unrestricted stock to sales order stock using mov type 412-E in MB1B)
case1
How to make this sales order stock  10 as zero.
case 2
suppose if stock in unrestricted stock in 100
how to make stock in unrestricted stock as zero
Pl suggest

hi guys:
I have a similar query, Is there any possible way to scrap the sale order stock in quality inspection without transferring it to the unrestricted stock and that also through inventory count(mi01,04,07),
Actually we have damage lighting stock which is received against sale order(automatically transferred to quality inspection), and customers are replaced with new units, then this stock is called back in head office, for this we have a complicated process in use, first  this stock is scraped from suppose "a" storage location after transferring it to unrestricted, then loaded back to "a", to make an STR for it from Head Office.
So is there any way to scrap all special stock(complete storage location) against different sale orders at one go. whether the stock is available in unrestricted, quality inspection or blocked stock.
I hope I am understood.
Please help me to get through this complicated process.
Regards
Salar...

Similar Messages

  • How to make stock zero after asset consumption?

    Dear all,My scernio is that our business process is cwip all the material is posted either in asset or cost center no inventory is maintained.But for one material user forgot to give account category but in backhand my fico consultant consumped that material agianst asset.But when  checking the STOCK it showing.Pls help how to make stock zero without account effect.It is not possible to reverse as the payment already done.FOR STOCK USING STANDARD TCODE.
    PLS HELP???????????????????????????????

    >
    Tanmoy_mm wrote:
    > Dear all,My scernio is that our business process is cwip all the material is posted either in asset or cost center no inventory is maintained.But for one material user forgot to give account category but in backhand my fico consultant consumped that material agianst asset.But when  checking the STOCK it showing.Pls help how to make stock zero without account effect.It is not possible to reverse as the payment already done.FOR STOCK USING STANDARD TCODE.
    >
    > PLS HELP???????????????????????????????
    how could  your fico consultant consume  that material against asset, without the stock is going down?
    did he do a FI posting only?
    if so, then he has to reverse it and has to post the consumption with a MM movement.

  • How to make stock zero in the past date

    Dear all,
    My client has implemented sap recently and during the start up the material update was done using movement 561. They have taken the physical inventory on 30.06. Now they want to undo some of the material movements so that the stock on 30.06 on the ground matches to that of the physical inventory. They do not want to use the physical inventory as that may lead to lot of descrepancies between yard and sap data causing problems.
    I have tried to reduce the stock using movement type 562 but system is giving the annunciation deficit of unrestricted stock. Kindly give some tips
    regards

    Hi
    If still the Period 30.06.2008 is open for Postings then you can perform the 562 movment , but for performing this there should be some stock presnt for the material as on date.
    For eg. if you have found that material A was uploaded with 10 no's excess, then for rermoving this you need to ensure that  10 Qty is still vailable in Unrestricted use for performing the reversal.
    Thanks & Regards
    Kishore

  • Want to make stock ZERO from KE5Z report

    Dear Expert,
    I have posted this requirement to CO and MM side. Please extend support of  expertise and help me on this issue.
    Requirement : Client want to make stock zero  which is appearing in KE5Z transaction. see below "83" qty
    The input data while running the above transaction is :
    Controlling Area:
    Company Code:
    Posting period : 10
    Fiscal year : 2009
    Profit center : DE14*
    Account : S240075000
    Plant : DE01
    After entering above data I am getting following result , just pasting as it is ;
    Profit center     account        Acc text                    Material         period  year  cumm PCLC curr    qty BUN
    DE14010000     S240075000 productive material   D-12578510  10          2009  0.00               EUR   83  EA
         In above , client want to make 83 qty to Zero.
    I am not getting how come this posting has been happen.
    In a material master the profit center maintained is : DE14010000 , and I check all the inventory posting related to this material in MMBE, but I found that this GL is not being enter in any of the inventory posting , the GL which is getting in inventory posting is : S009430000.
    Suppose I will make a stock Zero at inventory level ( MMBE) still it is not making stock zero at KE5Z ( because the GL is different)
    Basically I am a MM consultant I need your expertise to solve this issue, how we can make this stock to zero in KE5Z report.
    Thanks & Regards
    Om

    KE5Z is a profit center report. So better check for profit center than for GL accounts.
    Your problem usually arises when a profit center in material master gets changed while there is stock.
    so you received stock to profit center A, then profit center was changed to B, all goods issues will be done from profit center B. You never issue the stock from profit center A, but as well you have an issue with the value in profit center B, because you never received stock into profit center B, you only issued.
    Check your material master change history to find when the profit center got changed. Then you may have to change it back to the old profit center, goods issue your stock, then turn it to the new profit center and cancel your goods issue..

  • If physicaly checked the stock found zero. how to enter stock zero in systm

    if physicaly checked the stock found zero. how to enter stock zero in system
    thanx

    Hi
    You can follow the following physical Inventory transaction for updating ZERO stock in the system.
    Please go with following transaction
    MI01>Create physical inventory document>Enter Document Date>Planned count date>Plant Code>Storage Location>Click on Enter button>you will get the separate screen>Enter material code>and click on SAVE button (Ctrl+S)>you will get Physical inventory document number. (MI02-Use for delete)
    (After getting Physical inventory document number you go with MIO4)
    MI04>click on enter button>you will get "Enter inventory count screen>Enter Phys. inventory doc.no>Fiscal year>Count date>click on enter button>you will get separate screen>Enter physical qty>and click on save button ((Ctrl+S)>you will get massage from the SAPu201D Count entered for phys. inv. doc. 100000112"
    (After completed above transaction you please go with MI07)
    MI07>you will get Post inv.differences: initial screen>Enter Phys. inventory doc.> Fiscal year> Posting date>click on enter button>you will get separate screen with deference qty>click save button (Ctrl+S)> you will get document number generated from the system (Diffs in phys. inv. doc. 100000112 posted with m. doc. 4900001246)
    Physical Inventory:
    Physical Inventory is a business process in which physical stock is matched with book (system) stock. It is legal requirement to carry out physical inventory at least once in a year.
    Physical inventory can be carried out both for a companyu2019s own stock (Unrestricted, Quality, Blocked Stock) and for special stocks (Customer Consignment stock, Vendor consignment stock from vendor, Returnable packaging). This inventory is carried out saperately for both type of stocks.
    Physical Inventory Processes:
    Several inventory processes available for physical inventory which includes as follow:
    1. Periodic Physical Inventory
    o All stocks of the company are physically counted on the balance sheet key date
    o Every material must be counted
    o Entire warehouse must be blocked for material movements during count.
    2. Continuous Physical Inventory
    o Stocks are counted continuously during the entire fiscal year.
    o It is important to ensure that every material is physically counted at least once during the year.
    3. Cycle Counting
    o In this method of physical inventory, inventory is counted at regular intervals within a fiscal year.
    o These intervals (or cycles) depend on the cycle counting indicator set for the material in Material Master record as CC indicator in plant view data.
    o With this Cycle Counting Method of Physical Inventory allows fast-moving items to be counted more frequently than slow-moving items.
    4. Inventory Sampling
    o Randomly selected stocks of the company are physically counted on the balance sheet key date.
    o If found not much variance between the counted stock and the book book stock, it is presumed that the book inventory balances for the other stocks are correct.
    Physical Inventory Process Cycle Flow
    1. Creation of physical inventory document
    - Physical inventory document(s) is created individually or using the batch program, click for more information
    - The transaction codes for creation physical inventory are as follow
    Individual Inventory documentation creation
    MI01 - Individual physical inventory creation
    MIS1 - Inventory Sampling document creation
    MICN - Cycle count inventory document creation
    Collective Inventory document creation
    MI31 - Own stock without special stock
    MIK1 - Vendor consignment
    MIQ1 - Project stock
    MIM1 - Returnable Transpiration material
    MIW1 - Customer Consignment stock
    MIV1 - Returnable material with customer
    MIO1 - Material provided to Vendor (Subcontracting material)
    2. Print physical inventory document
    - Physical Inventory document can be printed based on the physical inventory document status and or item status
    - Transaction code MI21 is used to print the inventory document where print default value can be populated
    3. Count the physical stock
    - Based on the inventory document printout, the warehouse person will check the stock of material physically and note that on print out. This is completely physical process.
    4. Enter count in system
    - On completion of physical count, the count result is needs to be entered in the system. This can be with reference (using Tcode MI04) or without reference (using Tcode MI04) to the physical inventory document.
    - If count quantity for that material is ZERO then select ZC (zero count) column instead of putting 0 in qty field. If 0 is used for zero count then systm will consider that as "not counted"
    5. Analyze difference
    - Once count is posted in the system, difference analysis can be carried out using transaction MI20
    - The output gives information based on the input criteria i.e. physical inventory document, plant, material etc.
    - The output gives information about the book quantity, Counted quantity, difference in quantity and value.
    - From this output list, you can carry out further process ie initiate recount, change count quantity, post difference
    6. Initiate recount and follow the steps 3,4,5
    - If found unacceptable difference, recount is initiated using directly from difference analysis list (transaction code MI20) or using transaction code MI11.
    - New inventory document will be created for selected items or for entire document
    - The original document items will be deactivated once recount is initiated so original document will not be available for further process.
    - On initiating recount, you need to process same as for new count document.
    7. Post the difference
    - Several options are available for posting difference
    - Post difference after count is posted using transaction code MI07
    - Posting the count and inventory differences using transaction code MI08, here you have created physical inventory but not counted so with this you can count and post difference in sinle step.
    - Entering the count without a document reference using trasnaction code MI10, with this you can create inventory document, enter the count and post difference in single step.
    some more points for posting difference
    - Posting period must be open to post inventory difference.
    - The fiscal year is set by specifying a planned count date when creating a physical inventory document.
    - Tolerence to crear difference per user group can be set in customization.
    - The system will generate material document for the difference qty and post the value to appropriate account (for valuated stock)
    - The movement type in material document will be 701 or 702 based on gain or loss of material.
    Serial Numbers in Physical Inventory
    If material is managed with serial number then it is possible to carry out physical inventory for material with serial number. There are some pre-requisite before you carry out physical inventory for serialized materials.
    - Serial number profile must be maintained in the material master.
    - the serialization procedure MMSL (maintaining goods receipt and goods issue documents) has to be assigned to serial number profile.
    - The stock check indicator in the serial number profile should be configured.
    - Maintain basic settings for the serial numbers in customization for Serial Number Profile.
    - Configure serial number management for physical inventory in the Settings for Physical Inventory step in Customizing for Inventory Management.
    Blocked Stock Returns are the stock which is return stock from Customer or the stock which can be return back to vendor. To restrict the usage of this stock mostly business do transfer posting for this mateial as BLOCKED stock
    Thanks & Rgds,
    Rajesh

  • HT5622 How I can spend the rest of money $0.58 on my account? I need make it zero.

    How I can spend the rest of money $0.58 on my account? I need make it zero.

    If you are looking for a free alternative to Photoshop look at
    Gimp
    http://gimp.lisanet.de/Website/Download.html
    You can't just resize an image using Preview.
    Resizing an image will change its dimensions, but not the DPI/resolution.
    Images on the Internet are usually at computer screen resolution of 72 DPI. Some images in the web might be at 150 DPI depending on the type of website it is.
    Just resizing an image will make the image worst as you are only making the available pixels in the image larger and more spread out causing an even blurrier image.
    You need an image editor that will increase the number of pixels in an image as you increase the size.
    This is called interpolation. You are adding artificial pixels to an image to boost its DPI resolution.
    These pixels are created from the surrounding existing pixels in an image.
    Done correctly, you can get a pretty sharp image from a low DPI image.
    Done incorrectly, you can make the image very ugly, blurry and look very out of focus.
    You minimize this effect by  increasing the DPI of an image in small increments. I use 50 DPI increments.
    Some users use even smaller DPI increments like 25 DPI or smaller.
    I have a certain amount of impatience, so I use a larger upscale amount. I still get pretty good results that are more than just acceptable. Some user are just more particular about how much detail and sharpness they want their final image to be. I feel increasing the resolution of an image to 300-350 DPI using 50 DPI increments is a good compromise. My own user preference.

  • ThinClient t5565z ThinPro Zero how to make custom localizati​on

    Does anyone know how to make a custom language pack for thin clients?
    All I managed is to edit *.mo and *.qm from EasternLanguagePack and pack it into a xar archive, so I was able to see russian text if I choose for example Japanese. But the problem is that this xar is installed every time a thin client is rebooted. And it is not convenient to choose Japanese (or say French) to get Russian translation.
    Any information on creating translations for thin clients would be helpful.
    We tried to ask russian HP office (becuase we need russian translation), but they refused to help.

    Hi,
    Take a look here:
    Re: Fill empty cell with '0'
    Steps to fill empty cell with '0':-
    1. Select intersection cell in cross tab.
    2. Go to properties tab.
    3. In Text Format section, click on Number Format button.
    4. Select Format type is 'Number' and check the Custom check box.
    5. Enter 0 in all text boxes(Positive, Negative, Equal to zero, and Undefined).
    6. Click ok.
    Now you can see 0 in the Emply cells of cross tab.
    If you want decimal values, enter 0.00 in Positive box.
    Edited by: Swarna K on Mar 12, 2011 9:25 AM

  • How to create stock in Make to order and make to stock segments?

    Hi,
    Could u please tell me how How to create stock in Make to order and make to stock segments?
    Regards,
    AS

    Hi,
    If you are processing production order, use tcode MB31with mvt type 101, system will create stock. This method is same for both make to order and make to stock scenarios.
    For initial stock upload you can use 501 or 561 mvt for make to stock and for Make to order use same mvt typt with special indicator E.
    Regards,
    Dharma

  • Unable to see Inspection lot stock tab in UD??? how to make it appear?

    Hello Friends
    Some how i am getting three unexpected observation
    1. Inspection lot stock tab in UD is not there.....how to make it appear so that i can do the quantity posting can be done.
    For your information this is against good receipt & QA32 quantity to be posted is showing the qty correctly.....which means stk is in quality
    2. In MMBE transaction i am not able to view batch & qty posting
    3  In MB51 i can see the document details but qty is showing in unrestricted....which means stk in unrestricted which contractdory to my first statement.
    Kindly let me know
    1. How to make Inspection lot stock table available in UD
    2 Any clue for 2 & 3 point if possible.
    Thanks & Regards
    Swanand

    Thanks for reply
    But the problem is not of stock going to quality or not.....anyway i checked it and it's correct.
    Problem is i am not getting Inspection lot stock tab in UD.......here this inspection lot is created due to good receipt (inspeciton type 01)
    My query is not yet answered
    Thanks & Regards
    Swanand

  • How do I properly zero out or erase the hard drives in my early 2009 Mac Pro 4,1 tower?

    How do I properly zero out or erase the hard drives in my early 2009 Mac Pro 4,1 tower?
    I assume there are already instructions on Apple.com someplace but haven't seen them yet… I have to one terabyte drives one the operating system the other is blank I want to start fresh I want to zero out both drives but I didn't want to make any mistakes
    I know I can use disk utility to 0 Out Dr., #2 that means I will have to take out the operating system hard drive out of my 2008 Mac Pro and put it into my 2009 Mac Pro to use the disk utility to zero out drive one the OS drive in my 2009 Mac Pro am my correct
    I just need a little bit a help I want to go slow so I don't make any mistakes with the sleds or with the erasing process which journaled to choose encrypted or not etc. etc.
    Furthermore is there instructions on the site on how to change the hard drive into a different sled because the sleds and my 2009 are different than my 2008 any advice
    Thank you

    I'm doing this because my friend told me that zeroing out the drive can nap bad sectors and also later for some kind of diagnostics usage of the drive or something like that he wasn't really clear
    My friend was really specific he said choose the option that writes zero's once over the drive that is plenty good enough I was inclined to use the maximum seven write ...I just want to make sure the drive has no bad sectors and that's it's it's zeroed out for possible future diagnostics usage or something that he said was usable later
    he also advised me to run a test on it but I don't have the software you mentioned or the software that he has… So I may have to take the drives over to his house unless you have some kind of free software that's easy to use that you could suggest that will not only zero out the drive but test the drive completely
    I am completely new to Mac I'm no dummy but at the same time I'm not super technically capable I mean I can surprise myself I'm pretty good but I need a good teacher… How expensive is this lifeguard software?
    Thank you

  • How to remove stocks, weather,clock, notes, reminders, youtube, game center calc, voice memos,calendar, maps, and stocks? As a person who blew 300 bucks I think I should have a choice if I want to remove this crap but can't figure out how.

    How to remove stocks, weather,clock, notes, reminders, youtube, game center calc, voice memos,calendar, maps, and stocks? As a person who blew 300 bucks I think I should have a choice if I want to remove this crap but can't figure out how.
    any help would make me happy. As it stands now from looking on the web it can't be deleted but making sure before i return this ipod touch. I wan't a clean item the way I wan't it and not how they want it. Like I do not need Itunes and App Store on this ipod because I use my computer only to shop, So many things i like out of the ipod and I am sure lots more people also would like a cleaner ipod/phone or what ever.
    from looking at what I never use I see a total of 14 app's I not want taking up space and my screen.
    yup with the 5.0 came another stupid icon i not like. ( Newsstand )

    yes i moved them into a folder, but I not want them at all on my screen. Guess I return this and pick up a
    Zune HD
    less app's on that then ipod touch. thank you for the responce.

  • How to make a RESET button in labview ?

    how to make a RESET button in labview which resets all the elements in an array back to inactive element. Rather than deleting values in every column of array its better to create a RESET button ... how to make it ???

    abhinavb wrote:
    how to make a RESET button in labview which resets all the elements in an array back to inactive element. Rather than deleting values in every column of array its better to create a RESET button ... how to make it ???
    You seem to have some misconceptions.
    Is the array a control or an indicator or just some data held in a shift register or feedback node?
    What you are probably looking for is an empty array. An empty array has a size of zero and has no elements (active or inactive). From your mentioning of "rows", you seem to have a 2D array.
    The size of the array is independent of the visible size of the container.
    Clearing an array means simply writing an empty array of the same datatype to it's terminal (or internal data structure). If the array is a control, you need to write to a local variable of it instead.
    Can you show us some code so we can have a better understanding what exactly you mean by "array" in this context? Thanks!
    LabVIEW Champion . Do more with less code and in less time .

  • Suggestions on how to make this coding better?

    Hey everyone, I was just wondering if anyone had any suggestions on how to make my code better. It's for a project and I want to get a good grade on it. It works fine but I just want to see what everyone thought before I hand it in.
    import java.io.*;
    import java.util.StringTokenizer;
         This class process the input expressions containing rational expressions and proecesses them and then outputs the results.
         @author *****
         @version 1.0
    public class Proj1
         private static String buffer = null; //User input
         private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         private static PrintWriter outfile = null;
         private static int totCount = 0, goodCount = 0, badCount = 0; //Total, Valid, and Invalid counts
         private static boolean fileInput = false; //File to read data
         private static boolean fileOutput = false; //Output for the data
         private static boolean screenOutput = false; //Output so the user can view it
         private static String outFile = null; //File for output
         private static String inFile = null; //File for input
              Main method
         public static void main (String[] args) throws Exception
              Proj1 proj1 = new Proj1();
              proj1(args);
              runs the program
         private static void proj1(String [] args) throws Exception
              if (args.length == 0)
                   printBanner();
                   System.out.println("\n" + "\n" + "Please enter an expression, or type quit");
                   do
                        screenOutput=true;
                        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                        processData();
                   }while(!buffer.equals("quit"));//exits if quit is entered
              if (args[0].charAt(0) != '-')
                   badOption("Invalid Option Specified ");
              for(int i=1; i<args[0].length(); i++)
                   switch(args[0].charAt(i))
                        case 'f': fileInput = true;
                                    break;
                        case 'o': fileOutput = true;
                                    break;
                        case 'b': fileOutput = true;
                                    screenOutput = true;
                                    break;
                        default:  printBanner();
                                    invalidOption("Proj1: Invalid Option Found: " + args[0].charAt(i));
              if(fileInput && args[0].length() == 2)
                   screenOutput = true;
              if(fileInput && !fileOutput)
                   if(args.length == 1)
                        badOption("No Input File Specified.");
                   else
                        File inFile = new File(args[1]);
                        if(!inFile.exists())
                             nonExist("Input File " + args[1] + " not found");
                   br = new BufferedReader(new FileReader(args[1]));
                   printBanner();
                   processData();
                   closeFiles();
              if(fileOutput && fileInput)
                   printBanner();
                   if(args.length > 2)
                        outFile = args[2];
                   else
                        if(args.length > 1)
                             outFile = "proj1.dat";
                             noOut("No output file specified , defaulting to proj1.dat");
                   inFile = args[1];
                   br = new BufferedReader(new FileReader(inFile));
                   processData();
                   closeFiles();
              if(fileOutput && screenOutput)
                   printBanner();
                   if(args.length == 1)
                        outFile = "proj1.dat";
                        noOut("No output file specified, defaulting to proj1.dat");
                        System.out.println("\n" + "\n" + "Please enter an expression, or type quit");
                        BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
                        processData();
                        closeFiles();
                   else
                        outFile=args[1];
                        System.out.println("\n" + "\n" + "Please enter an expression, or type quit");
                        br = new BufferedReader(new InputStreamReader(System.in));
                        processData();
                        closeFiles();
         Processes the input data by the user by doing the specified operations and then displays the output
         private static void processData() throws Exception
              if(fileOutput)
                   outfile = new PrintWriter(new FileOutputStream(outFile), true);
              else if(fileOutput && screenOutput)
                   outfile = new PrintWriter(new FileOutputStream(outFile), true);
              buffer = br.readLine();
              while(!buffer.equals(""))
                   StringTokenizer reader = new StringTokenizer(buffer);
                   int count = 0;
                   String number1 = null;
                   String number2 = null;
                   String op = null;
                   boolean valid = true;
                   boolean secondNumber = true;
                   while (reader.hasMoreTokens())
                        switch(count)
                             case 1: number1 = reader.nextToken();
                                       break;
                             case 2: op = reader.nextToken();
                                       break;
                             case 3: number2 = reader.nextToken();
                                       break;
                        count++;
                   if(number1 == null || number1.equals("quit"))
                        printSummary(goodCount, badCount, totCount);
                        closeFiles();
                   if(number2 == null)
                        secondNumber = false;
                   char character;
                   int position = 0;
                   String s = "0123456789/-";
                   for(int i = 0; i < number1.length(); i++)
                        character = number1.charAt(i);
                        position = s.indexOf(character);
                        if(position == -1)
                             valid = false;
                   if(secondNumber)
                        for(int i = 0; i < number2.length(); i++)
                             character = number2.charAt(i);
                             position = s.indexOf(character);
                             if(position == -1)
                                  valid=false;
                   int denomin2 = 0;
                   int numer2 = 0;
                   String n1 = null;
                   String d1 = null;
                   int izerCount = 0;
                   StringTokenizer st2 = new StringTokenizer(number1,"/");
                   while(st2.hasMoreTokens())
                        switch(izerCount)
                             case 1: n1 = st2.nextToken();
                                       d1 = "1";
                                       break;
                             case 2: d1 = st2.nextToken();
                        izerCount++;
                   int numer1;
                   int denomin1;
                   int tokenCount = 0;
                   if(valid)
                        numer1 = Integer.parseInt(n1);
                        denomin1 = Integer.parseInt(d1);
                        String n2 = null;
                        String d2 = null;
                        if(secondNumber)
                             StringTokenizer st3 = new StringTokenizer(number2, "/");
                             while(st3.hasMoreTokens())
                                  switch(tokenCount)
                                       case 1: n2 = st3.nextToken();
                                                 d2 = "1";
                                                 break;
                                       case 2: d2 = st3.nextToken();
                                  tokenCount++;
                             numer2 = Integer.parseInt(n2);
                             denomin2 = Integer.parseInt(d2);
                             RationalNumber z1 = new RationalNumber(numer2, denomin2);
                        RationalNumber z = new RationalNumber(numer1,denomin1);
                        RationalNumber z1 = new RationalNumber(numer2,denomin2);
                        boolean lt = true; //whether the first number is less than the second
                        boolean gt = true; //whether the first number is greater than the second
                        boolean eq = true; //whether the first number is equal to the second
                        boolean le = true; //whether the first number is less or equal to the second
                        boolean ge = true; //whether the first number is greater than or equal to the second
                        boolean zeroDenom = true; //whether the denominator is zero
                        if(denomin1 == 0 || denomin2 == 0)
                             zeroDenom = true;
                             badCount++;
                        else
                             zeroDenom = false;
                        if(!zeroDenom && secondNumber)
                             if(op.equals("+"))
                                  RationalNumber z2 = z.add(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z2.getNumerator()+ "/" +z2.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z2.getNumerator()+ "/" +z2.getDenominator());
                                  goodCount++;
                             else if(op.equals("-"))
                                  RationalNumber z3 = z.sub(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z3.getNumerator()+ "/" +z3.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z3.getNumerator()+ "/" +z3.getDenominator());
                                  goodCount++;
                             else if(op.equals("*"))
                                  RationalNumber z4 = z.mlt(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z4.getNumerator()+ "/" +z4.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z4.getNumerator()+ "/" +z4.getDenominator());
                                  goodCount++;
                             else if(op.equals("/"))
                                  RationalNumber z5 = z.div(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z5.getNumerator()+ "/" +z5.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z5.getNumerator()+ "/" +z5.getDenominator());
                                  goodCount++;
                             else if(op.equals("<"))
                                  lt=z.lt(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + lt);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + lt);
                                  goodCount++;
                             else if(op.equals(">"))
                                  gt=z.gt(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + gt);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + gt);
                                  goodCount++;
                             else if(op.equals("="))
                                  eq=z.eq(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " +  eq);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " +  eq);
                                  goodCount++;
                             else if(op.equals("<="))
                                  le=z.le(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + le);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + le);
                                  goodCount++;
                             else if(op.equals(">="))
                                  ge=z.ge(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + ge);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + ge);
                                  goodCount++;
                             else
                                  if(op==null)
                                       if(screenOutput)
                                            System.out.println("Invalid expression: " + buffer);
                                       if(fileOutput || fileOutput && screenOutput)
                                            outfile.println("Invalid Expression: " + buffer);
                                       badCount++;
                             else
                                  if(screenOutput)
                                       System.out.println("Invalid expression: " + buffer );
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println("Invalid expression: " + buffer);
                                  badCount++;
                        else
                             if(screenOutput)
                                  System.out.println("Invalid operand: " + buffer);
                             if(fileOutput || fileOutput && screenOutput)
                                  outfile.println("Invalid operand: " + buffer);
                   else
                        if(screenOutput)
                             System.out.println("Invalid operand: " + buffer);
                        if(fileOutput || fileOutput && screenOutput)
                             outfile.println("Invalid operand: " + buffer);
                        badCount++;
                   buffer = br.readLine();
         Prints the banner for the program
         private static void printBanner()
              System.out.println("+++++++++++++++++++++++++++++++++++++++++"+"\n"+"+Welcome to the expression connection   +"+"\n"+"+++++++++++++++++++++++++++++++++++++++++");
         Prints the total number of expressions, total number of valid expressions, and total number of bad expressions.
         private static void printSummary(int goodCount, int badCount, int totCount)
              totCount = goodCount + badCount;
              System.out.println("\n");
              System.out.println("+++++++++++++++++++++++++++++++++++++++++");
              System.out.println("+ Total Expressions:        "+totCount);
              System.out.println("+ Total Valid Expressions   "+goodCount);
              System.out.println("+ Total Bad Expressions     "+badCount);
              System.out.println("+++++++++++++++++++++++++++++++++++++++++");
         Prints the error message if there is no output file specified
         private static void noOut(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " + errorString);
         Prints the error message if there is an invalid option input by the user
         private static void invalidOption(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " + errorString);
              System.out.println("Proj1: Usage is: java proj1 [-fob] [input] [output]");
              System.exit(0);
         Prints the error message if there is a bad option input by the user
         private static void badOption(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " + errorString);
              System.out.println("Proj1: Usage is: java proj1 [-fob] [input] [output]");
              System.exit(0);
         Prints the error message if the input file does not exist
         private static void nonExist(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " +errorString);
              System.out.println("Proj1: Usage is: java proj1 [-fob] [input] [output]");
              System.exit(0);
         Closes the files used by the user
         private static void closeFiles( )
              if(fileOutput && !screenOutput)
                   outfile.close();
              System.exit(0);
    }

    Well working is good...
    The code itself is less than spectacular I'm afraid. There is very little
    OOness to this. For your future reference when you complete a program
    and it consists of nothing but static methods you have done something
    incorrectly.
    As far as the code you do have goes some refactoring would be nice.
    The two main methods you have (proj1 but especially processData) are
    too long and unwieldy. processData seems to be a program in an of
    itself. It's complicated and hard to follow.
    My recommendation to you would be to read this http://java.sun.com/docs/books/tutorial/java/index.html
    Especially focus on the sections dealing with explanation of Object
    programming. These terms and concepts can certainly be confusing to
    new programmers so you may also want to consider finding yourself a
    tutor to help you get a better grasp of these concepts.
    In short if it works that's good. And it's also good to see that you put the
    effort and time in that you have. However if I was grading your project
    I'd give it a C- at best because this is a Java program in syntax only.

  • How to make this effect ? ( video )

    Hi all
    how to make the screen blink dark like in this video  http://www.youtube.com/watch?v=TszuTgFx93U
    starts at 0.46 end at 0.50
    can anyone tell me hows it called ?

    If you mean this effect and then changing to a black screen then this is a glow with an add blend mode and a blur followed by a black layer multiplied with opacity keyframes.
    I would put the video on the bottom layer, then add an adjustment layer and set the in and out point of the adjustment layer to the length you want to have this effect. It's only a few frames in the sample video. Then I'd go to the middle of the adjustment layer and add Glow to see if you could get close to this effect. Then I'd animate the opacity of the adjustment layer from zero to 100 over a few frames. I'd then set a new black solid above that and set the blend mode to Multiply. Set the in point just past the second keyframe in the adjustment layer and set the opacity to 0. Then move in a few frames and set the opacity of the black solid to 100% and set the out point of the adjustment layer to the same spot. Then move down a frame or two and set another opacity keyframe for the black solid at 100% then move down a few frames and set the opacity to zero and set an out point for the black solid.
    Figuring these things out is just a matter of looking at the frames and trying to figure how to stack layers up to achieve the effect. Grab some stills from various parts of an effect you are trying to copy and then try and figure out what you could do to the footage to get the same result. Only a few of the effects you see are just a single plug-in applied to a single layer. This is the best way to learn After Effects.
    Here's what a comp would look like using a frame from the sample video. Note that the adjustment layer and the black solid are only a few frames long. I made a quick stab at the color grading of the frame by making some adjustments to the A and B colors of the glow, added some blur, and added a little color correction to the adjustment layer using curves. This should get you started.

  • How to make chart scrollable?

    Hi everybody,
    I want to ask how to make a chart become scrollable (just like a chart with a scroll bar that help us see all content in this chart when this content become to large).
    Because my line chart adding series data based on real time, so the content change dynamically. And when the content change, I don't want the axis change its size to fit the chart size, because it make the line chart smaller and narrow.
    I have seen in JavaFx Ensemble the example *"Advanced Stock Line Chart Sample"*, it seem like what I looking for. But this chart clear the old data after a period. I want chart to keep the old data and when I want to review, just scroll back
    Can anyone give me suggestion?

    Have you looked at ScrollPane.... http://docs.oracle.com/javafx/2/api/javafx/scene/control/ScrollPane.html
    You can just throw your chart in there. Then if your chart gets bigger then the screens dimensions the ScrollPane will become scrollable.

Maybe you are looking for

  • Cisco Jabber for Mac 9.2.1: slow to register with CUCM

    Hi, We have this specific problem on our Jabber for Mac 9.2.1 client only: the client takes 60 to 70 seconds to connect to CUCM (running 8.6.2) when it starts. After Jabber registers with CUCM, there is no issue, it's just very slow to register. Anyb

  • Dell Inspiron 14R WLAN Card Disabled

    Hello, I have a Dell Inspiron 14R running Windows 7 64 bit. I have had my PC from this past November; about 7 months. I was using my PC, and suddenly, I started to experience wireless problems. I was unable to get onto the internet. Other devices on

  • Can no longer connect to music store

    I'm not sure what happened. After I did a clean install of WinXP, I downloaded the latest version of iTunes and connected to music store and bought some music. I couldn't burn it onto a CD. I uninstalled everything, re-installed the original iTunes f

  • I just purchased a macbook air and want to transfer files from my macbook (5 years old!). Can I transfer any of my software from one to the other?

    Help!  Can I transfer my SPSS software to my new computer? How about End Note? I just purchased a macbook air and need to move files, etc., from my old MacBook. 

  • Mrp md50

    Hi Iam having MTO scenario. I have created sales order and run MRP. It creates planned order and purchase requisitions for procured items. All procured items are individual. When planned order of header material is converted into production orders. W