3 Class Investment Account

I am writing a three class Investment Account program with the three classes being AccountInterface, AccountModel and Account.
One of the butttonclick options is to save the data entered for a certain account (name, age, deposit, rate)
Without using arrays you need to be abkle to enter the details for two different bank accounts, so in the interface you add the deatils for one, click add and it stores the data for the account, then when you clear this and add data for a new bank account it needs to check if there is anything for account 1 if yes, then add the details for account two.
I am struggling with this.
Can someone point me in the right direction of where to start with this? I know that the button click in the AccountInterface needs to call a method from AccountModel.

Your problem is very specific to the homework assignment it comes from, and you're not describing your homework assignment very well. Perhaps someone here can give you specific advice but I doubt it.
So here's some general advice:
First, separate your GUI from the application logic. Thinking about button clicks and event handlers and such will just get in the way of understanding the problem to be solved. Try writing a test class (or several) that you can execute from the command line, and that will act as a hardcoded single scenario, that will invoke the application logic code. So an example test might do a single "add" operation. Then write code that will satisfy this test class.
Secondly, make certain you understand the problem before you try to solve it. Draw diagrams, use Legos, whatever, to give yourself something tangible to work with. Once you're able to express the problem well, you're two-thirds of the way to solving it. A lot of homework just involves rephrasing what the prof said to make it make sense.
And if all else fails, as your prof for clarification.

Similar Messages

  • Valuation class and Account Category reference

    Dear Friends.
    Please Can I know Valuation class and Account Category reference for following Material Types?
    1)     Advertisement material- what is Valuation class and Account Category reference ?
    2)     Asset Material- what is Valuation class and Account Category reference ?
    3)     Trading goods-what is Valuation class and Account Category reference ?
    4)     Engineering Material-what is Valuation class and Account Category reference ?
    regards,
    Mahesh.
    Edited by: mahesh A on Jun 8, 2011 8:17 AM
    Note : Please search forum before posting,follow forum rules.
    Edited by: Jeyakanthan A on Jun 8, 2011 11:54 AM

    Please check these answered links:
    Re: What is account category reference in Account determntn??
    changing the account category reference
    Re: account category reference
    Change of Account Category Reference
    Re: What is account category reference in Account determntn??
    Edited by: Afshad Irani on Apr 29, 2010 12:07 PM

  • Natures of classes of accounts for posted document are not balanced

    Hi
    Can anyone help me with this error:
    "Natures of classes of accounts for posted document are not balanced"
    I am getting this error while doing GR(posting goods) using 561 movement type for a material.
    While I am able to post Goods with another material having same valuation class and Profit Center.
    Thanks
    Neha

    better post this question in procurement or (pure) finance forum!

  • Tranfer Balnce from Investment Account to Equity Account

    Hi Gurus,
    1. I have a wrong balance in my Investment Account. I want to transfer it to Equity Account. I post on Entry at Posting Level 10 by Credit Investment Account (Movement Type 125), and Debit Equity Account (Movement Type 139). I get Error in validation for this amount that
    "Variance between investment data and totals data"
    Diagnosis:
    An entry in the totals database exists for investee unit(s) 082, item 30001038, and subassignments Investee (Company) 0082/ Movement Type 125/ Prof (with balance 951,999.15- USD), but there are no matching entries in the investment data.
    Any Suggestion, how to carry out this corrections?
    Thanks in advance,
    Ashwin Nagar

    I have a wrong balance in my Investment Account. I want to transfer it to Equity Account.
    Sorry, Ashwin. It sounds somewhat strange for me. I do not think, it's a proper decision from the business point of view.
    Amount on investment account do not have to be equal to the equity of the acquired company. That's why a goodwill appears.
    The error you encountered, most likely, arised because of work of special items.
    If, anyway, you want to make such entries, you'd better consider the additional fin data load for either investments or equity.

  • Is it Possible to assign Valuation class without accounting view in MM

    Hi all,
    I have check my client system for materials having without accounting view while checking in table mbew for this material having valuation class.can anyelse say is it possible to assign valuation class without having  accounting view.
    Advance thanks,
    raraja

    Hello ,
    It is not possible to have a valuation class without accounting view.
    There is some mistake that you are possibly making . pls check the same .Pls check if u r viewing the material master at the correct plant level .Also if you say that in MBEW valuation class exists , find out l the corresponding valuation level, the see the material master at the same level . You will definitely find the accounting view.
    Regards
    Anis

  • Segregation of FAGLL03 data on asset class or account determination

    Hi friends,
       in fixed asset config my down payments for assets go to a single gl for all asset classes, at FAGLL03,I have some data related to this gl, is it possible to break this data on asset class or account determination, kindly help me to resolve this issue.
    thanks,
    nagaraj.j

    Hi,
    In down payment line item, you can get the asset no only. Using this asset number you can get the asset class and its account determination from the other sources.
    Any this exercise can be done outside SAP. (In Excel)
    Thanks,
    Srinu

  • How do i run a new software program (Investment Account Manager for Windows) using Windows emulation software?

    How can I run a new software program (Investment Account Manager for Windows) using Windows emulation software?

    You will need a licensed copy of Windows 7, and I recommend VMFusion. You can run the program in Unity mode just as if it were a Mac application. Or, you can install Windows in Bootcamp and run the Mac in Windows when you boot and run it that way. Depends on the resources. I prefer the VM method because it is cleaner and gives you more options as far as backups, etc.

  • Use of Object Class-INVESTMENT on KO04

    Dear experts,
    Pls explain me what is purpose of using Investment as the Object class??
    by using this object class is it possible to prevent cost going to consumption Account(P&L)??
    My requirement is to capture cost to balance sheet once u done the GR for materials which u procure using Internal order...
    Your advices are highly appreciated..
    Reg,
    Sampath

    Hi Sneha,
    Object Class "Investments" is realted to Investment Orders. Especially when you implement "Investment Management" module, once the "Apporpriation Request" (in IM Module) is of "Approved" status, then, we need to have some "Investment Measures" (Internal Orders or WBS Elements) ready in the system so that the Plan Values on the Appropriation Requests can be moved to Investment Measures.
    You make settings about the Object Class in the "Order Types".
    If there is no Investment Management module implemented, still, Investment Object class is useful to capture the cost of AUC.
    Hope this clarifies, pls revert back for further explanation...
    Srikanth Munnaluri

  • Changing an asset class determination account

    I have an asset class numer 233 this class has a determination acount numer 1 configured in its class master record. One asset was created using tx as91 with this class and 6 months depreciation was run (tx AFAB).
    Now I need to change the asset class account determination from 1 to 2. Is this posible ?, how ?.

    One you have assets with postings in an asset class you can no longer change the account determination.
    As an alternative you can create a new asset class with the correct/new account determination.  Than you can transfer the assets from the existing asset class to the new one using transaction code ABUMN.  If you have many assets to transfer than you can use the mass change functionality.

  • No clearance in Inventory class Clearing account

    Work order information on projects captured thru PAE batch inventory class...accounting is
    DR cost of project
    CR ws clearing a/c
    then AP invoice in receiving company the following transaction
    Dr ws clearing a/c
    cr Supplier Liablility
    the setup carried out in the above way...now the Clearing a/c is retaining some cost.....how to trace y not clearing??
    As per my understanding once v distribute the cost 4m PAE batches it directly hit GL...Pls anybody clarify...
    Thanks a lot in advance

    Hi
    It is not clear to me what is the scenario you are describing.
    For Expense Destination PO:
    When you are receiving items from vendor the accounting is - Dr charge account, cr AP Accrual.
    The Supplier invoice matched to the same PO will - Dr AP accrual and Cr Supplier liability.
    If supplier invoices were not entered on time, or there is a variance in quantity or between quantity received and quantity billed, the clearing account (AP Accruals) will not zero.
    Dina

  • Is there a way to upload a batch file to register all of the students in my class into accounts to use popcorn maker?

    Pawcatuck Middle School uses a lot of technology in our 8th grade classes. We are a Google apps school, so all of our students have G-Mail accounts as their login for everything here at school. These students G-mail accounts only work for email within our domain, not the outside world. Is there a way to upload a file of their school user names and passwords so that my teacher can use Popcorn Maker with all students?

    Hi,
    Right now we don't have that option. Because of bulk spam registration.
    Could you send your email ID to my PM. So that, we can get back to you.

  • Valuation class- GL accounts

    Dear Experts,
    Is it possible to maintain 2 GL accounts for one Valuation clas?
    Regards
    babu.

    Hi,
    account assignment in OBYC is based on chart of accounts / transaction / valuation modification / general modification / valuation class.
    For each combination only 1 account assignment is possible.
    But if you use different valuation modifications you can assign more than 1 account number.
    Best regards, Christian

  • Different GL Account for WRX - based on Valuation Class (No Material Master

    Hi Gurus,
    My scenario is as given below.
    1. We do not have any Material Master. We create short text PO's with account assignment category "P".
    2. We are also using Material Group in our PO. We have one Material Group for Domestic Purchases (say M1) and another Material Group (say M2) for Import Purchases.
    3. We have assigned valuation class say 3100 for Material Group M1 and valuation class 3101 for Material Group M2.
    4. Our plant is say RBUP and our valuation grouping code is say 0001 which is assigned to the same plant.
    Objective:
    While doing MIGO we want to have different GR/IR Account for domestic purchases say 108 and different GR/IR account for import purchases say 109.
    Issue:
    1. In OBYC setting GR/IR account is picked from transaction key WRX.
    2. Our entries in WRX are as given below for our Chart Of Accounts say DMN.
    Valuation Modifier Valuation Class GL Account
    0001 108
    0001 3100 108
    0001 3101 109
    3. But even when i am creating the PO with Material Group M2, it is not picking the GR/IR account 109, based on the valuation class i.e. 3101 which is assigned to the Material Group M2.
    Query:
    1. How can I achieve my objective of selecting GR/IR Account 109 for Import PO's and GR/IR Account 108 for Domestic PO's.
    Pl note we will not be maintain material master.
    Will give full 10 points if anyone can help me reslove this issue.
    Pl also do not waste any of your valuable time to address the account assignments for BSX or GBB-VBR. I am fully aware that in VBR this differentiation is possible.
    Rgds,
    Prasad.

    I suggest you to create a Dummy Materials. Lets say,
    material number: 1001
    enter material description as Domestic
    material number: 1002
    enter material description as Imports
    and in OBYC for GBB
    make the following settings:
    val grp      gen mod    val cla      gl a/c dr     gl a/c cr
    0001     VBR     4000     74180040     74180040
    0001     VBR     4001     78020091     78020091
    so that when u create PO u can get default GL (consumption GL )  for the material (u can use the same for material group also) and u can maintain WRX acc determination as follows ..
    val grp   val cla    gl a/c dr   gl a/c cr
    0001      4000     123456     123456
    0001      4001     456789     456789
    Thus u need to create 2 different valuation class for these material group specific and in PO while entering the text u can add the text which is displayed along with material description
    hope this helps

  • One valuation class per G/L account

    Hello gurus,
    is it correct that if I want to differentiate my account determination by material, I will have to create one valuation class for every G/L account used and then assign those classes to my materials?
    And second question: Is it correct that I can assign valuation classes to materials or material types only? So I cannot group several materials using the same G/L account on any other level?
    Thanks in advance
    Alicia

    Hi
    To refine it a bit.
    If you have 10 Inventory Accounts maintained in the Chart of accounts then you create 10 Valuation classes
    Inventory Account means in whih you load the Stock value not the Consumption
    Accounts
    You can assign 1 valuation class to n - Similat type of materials .
    or based on your requiremnt you can maintain 1 : 1 relation ship also.
    You can ssign the valuation class to the Material group in
    SPRO-> IMG-> MM- > Purcahsing-> Material Master-> Entry Aids for Items Without a Material Master . This is done if you are not using material master
    Thanks & Regards
    Kishore

  • ASSET CLASS for GL account

    HI All,
    Can you please help to find a ASSET CLASS for GL account?
    I have GL account number, i need asset class of that gl account.
    please reply.

    Hi,
    please see than transactions AO90, AO99 and AO87 or  the corresponding tables T095, T095B and T095P.
    There is no context from asset class to account.
    Of course every asset class has a account determination.
    You can see this in table ANKA or transaction OAOA.  Ans with the account determination you can find the account in transactions AO90, AO99 and AO87 or the corresponding tables T095, T095B and T095P.
    But the asset class is a kind of template.
    regards Bernhard

Maybe you are looking for