Budget Initialization, 8.81, US localization

Setting up a budget for the first time.
Attempting to follow SAP Help and How to guide "How to manage budgets 8.8".
On Administration  System Initialization  General Settings > Budget tab, selecting the Budget Initialization option.
After entering my data to initialize, block deviation, monthly, PO, GRPO,
I'm supposed to get a  system message to u201CMark all P/L accounts as budget accounts?u201D and I'm supposed to say Yes.
But I don't get the message. At first I assumed that maybe marking was the new default so I wasn't given the prompt. But now I've moved on to setting up scenarios and I cannot proceed. The help on my errors tells me to go back and mark my P/Ls on the Budget tab.
How to continue?
Unchecked and saved. Rechecked with 'Monthly" and got message.
Edited by: Cindy Lange on Sep 9, 2011 10:39 AM

Hi Stephanie,
I guess you license was not issued for a global system. If this is the case, you need to issue a new license file for a global system.
You should read the License Guide for B1 8.81.
Regards,
Vítor Vieira

Similar Messages

  • Unable to initialize logging infrastructure for localization

    I think this might be trouble:
    After patching LMS 3.2 up, I checked Syslog Collector status. It *looked* fine, except every number is zero across the board. Toggling subscription on/off did nothing. I see an old thread with a similar issue that indicates TAC assistance with DB queries to fix config archive unique IDs is needed. Barring that, would I be able to recover by simply restoring a copy of the old LMS backup?
    Forwarded
    Invalid
    Filtered
    Dropped
    Received
    Up Time
    Update Time
    1.
    nms.fqdn.com
    0
    0
    0
    0
    0
    Feb 25 2010 02:22:00 Eastern Standard Time(GMT -05:00:00)
    Feb 25 2010 02:28:49 Eastern Standard Time(GMT -05:00:00)
    tail -f SyslogAnalyzerUI.log
    [ Wed Feb 24  18:19:38 EST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,?,INFO: Resource Limit from License file=1500
    [ Wed Feb 24  18:19:38 EST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,?,
    [ Thu Feb 25  02:10:42 EST 2010 ],ERROR,[TP-Processor1], Unable to initialize logging infrastructure for localization
    [ Thu Feb 25  02:10:43 EST 2010 ],ERROR,[TP-Processor1],No resource is associated with key "Unable to initialize logging infrastructure for localization".
    [ Thu Feb 25  02:10:43 EST 2010 ],ERROR,[TP-Processor1],Unable to initialize logging infrastructure for localization
    I did a full dmgtd restart, but there's no new entry in SyslogAnalyzerUI.log:

    tail -f AnalyzerDebug.log
    [ Thu Feb 25  02:21:45 EST 2010 ],INFO ,[main],newsyslogqueue queue created with max size 100000
    [ Thu Feb 25  02:21:45 EST 2010 ],INFO ,[main],processorsyslogqueue queue created with max size 100000
    [ Thu Feb 25  02:21:45 EST 2010 ],INFO ,[main],Queue for new incoming syslogs created with size 100000
    [ Thu Feb 25  02:21:45 EST 2010 ],INFO ,[main],Queue for action processor created with size 100000
    [ Thu Feb 25  02:21:55 EST 2010 ],INFO ,[main],Action processors created
    [ Thu Feb 25  02:21:55 EST 2010 ],INFO ,[main],Action processors created
    [ Thu Feb 25  02:21:55 EST 2010 ],INFO ,[main],Action processors created
    [ Thu Feb 25  02:21:55 EST 2010 ],INFO ,[main],Action processors created
    [ Thu Feb 25  02:21:55 EST 2010 ],INFO ,[main],Action processors created
    [ Thu Feb 25  02:22:00 EST 2010 ],INFO ,[main],Service started...
    tail -f SyslogCollector.log
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:01:14,930, Logging System Initialized.
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:01:14,932, System Initialized.
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:01:14,962, Queue Cap 100000
    SyslogCollector - [Thread: main] WARN , 25 Feb 2010 02:01:17,330, Unable to resurrect connection to a subscriber.
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:01:17,376, Service started...
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:17:19,644, Logging System Initialized.
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:17:19,646, System Initialized.
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:17:19,666, Queue Cap 100000
    SyslogCollector - [Thread: main] WARN , 25 Feb 2010 02:17:21,947, Unable to resurrect connection to a subscriber.
    SyslogCollector - [Thread: main] INFO , 25 Feb 2010 02:17:21,993, Service started...
    tail -f SyslogAnalyzerUI.log
      repositories:
        /WEB-INF/classes/
    ----------> Parent Classloader:
    org.apache.catalina.loader.StandardClassLoader@170bea5
    [ Wed Feb 24  18:19:38 EST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,?,INFO: Resource Limit from License file=1500
    [ Wed Feb 24  18:19:38 EST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,?,
    [ Thu Feb 25  02:10:42 EST 2010 ],ERROR,[TP-Processor1], Unable to initialize logging infrastructure for localization
    [ Thu Feb 25  02:10:43 EST 2010 ],ERROR,[TP-Processor1],No resource is associated with key "Unable to initialize logging infrastructure for localization".
    [ Thu Feb 25  02:10:43 EST 2010 ],ERROR,[TP-Processor1],Unable to initialize logging infrastructure for localization

  • Budget Initialization - checking "relavant to budget" at one go

    Dear All,
    Could neone tell me how to set all the G/L Accounts as relavant to budgets at one GO, i think when we initialize the budget it happens.. please respond immediately

    Hi Suda,
           I have a question in regards Budget. I created an alert management - deviation from budget and mentioned the document as journal entry and as per that i got a warning when i did my journal entry as "Amount exceeds annual budget for account 610030 in INR Rs.40000/-", but my question is instead of 610030 account number, will i be able to get the account name as Telephone?? Please lemme know as soon as possible.
    Regards,
    Aarthi

  • Warning For a Document that Deviates from the Budget:

    Good Day!
    I want to have a warning for accounts  that I used that deviates from a monthly budget. What I did is in the General Settings>>Budget Tab, I click budget Initialization and click  WARNING", for monthly budget and also tick Purchase Orders,Goods Receipt POs and Accounting.  Upon data entry in
    Purchase order and in AP Invoice, system does not prompt any warning that the account being used already exceeds budget..
    Can anyone tell me what ser up is missing that makes the system to have warning?
    Thanks
    Sandra

    HI!
    Please close this duplicate message.

  • GL Accounts missing from Budget Scenario Definition

    Hi
    I was allocating budget amounts to few expenditure accounts and found that few expenditure accounts are missing.
    All the expenditure accounts have been marked as relevant to Budget in Chart of accounts
    Regards
    Farheen

    Hi,
    Hope it might not have been updated correctly,
    Choose System Initialization >General Settings > Select the budget tab> Check the box Budget Initialization > Click the "Update" button> The message "Select all P&L accounts as budget accounts?" appears > Select "Yes" and click "OK" to close the window> Now choose "General Ledger" defien the budget for the current year Choose Define Budget and the relevant window appears with all accounts included.
    Regards,
    Rakesh N

  • Budget setup in 2007B Ramp-Up

    Hi All...,
    Budget setup in 2007B Ramp-Up
    1.when i am doing the budget setup i am following all the steps completely but in 2005B it is showing the warning msg/Block the deviation as our about to exceed the budget.
    this msz i am not geeting in 2007B,system considering even though i cross the mothly/yearly budget also.
    regards
    Venila

    Check
    "Administation -> General Settigs -> Budget Tab"
    Budget Initialization is Checked.
    For a Document that Deviates from the Budget:
    Block Deviation from Budget is Choosen.
    Annual / Monthly Budget is choosen.
    Purchase Order/ Goods Recipts/ Accounting is Choosen.

  • No Warning Message occur when Budget change

    Hi,
    I setup a budget in SAP B1-  by configuring in Administration >> System Initialization >> General Settings >> Budget
    1) Check Budget Initialization Box
    2) Check Warning and select all four document type
    3) Upload Budget in Financials >> Budget Setup >> Budget  through DTW
    When i create a Journal Entry for the G/L Account for which was used in budget , no message can be popup and at the same time the entry will be add successfully.
    How can I popup the warning message...???
    I am Using SAP Business One Version 9 PL 8
    Thanks
    Janeesh

    Hi Jagneesh,
    Please check below links.
    SAP Business One Training - Aug 22, 2012 - Budgets and Related Financial Reporting by Vision33 - YouTube
    http://help.sap.com/saphelp_sbo900/helpdata/en/c7/471c6bb6c74085ab0cd3e52cb5fac3/content.htm?frameset=/en/45/114b7829fc4…
    http://www.vision33.com/media/5465/howto_mg_budgets_2007_0.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • Budget Settings update problem

    Hello everyone!
    I'm having a problem when I try to change the budget settings in Administration -> System Initialization -> General Settings -> Budget tab. On my actual settings, the "Budget Initialization" box is checked and the option "Block Deviation From Budget" is marked, but when I change it  to "Warning" it doesn't update.
    How can I fix this? I need to fix it as soon as possible!
    Thx in advance,
    Juan

    Juan - this was a long time ago and I am not certain whether this will help or not, but I remember two things that might do the trick. 
    ONE:  I remember we had a problem (not documented anywhere), where the GL Account was put "On Hold" and it stopped us from doing something with Budget.  The SQL is just like Jimmy's except there are a few more fields...just check to see if any accounts with Budget = "Y" also has FrozenFor = "Y"
    <b>SELECT
    T0.AcctCode,
    T0.AcctName,
    T0.Budget,
    T0.FrozenFor AS 'On Hold',
    T0.ValidFor
    FROM OACT T0
    WHERE T0.Budget = 'Y'</b>
    TWO: We changed the current period (we were in November) to be in the NEXT year and then set some budget parameters (maybe scenario under Financials > Budget Scenarios?).  But since you have run the budget before, I can't picture that being the problem...
    Please let us know how you progress...
    Zal

  • Usage of LOCALE in Localization of Presentation Layer metadata

    Hi,
    This is about usage of LOCALE in Localization of Presentation Layer metadata.
    The value of WEBLANGUAGE variable can be directly passed to the initialization block (2nd Initialization block ) which contains the sql:
    select SESSION_VARIABLE, TRANSLATION from external where LANGUAGE = ‘VALUEOF(NQ_SESSION.LOCALE)’
    So that, it comes to have the below sql:
    select SESSION_VARIABLE, TRANSLATION from external where LANGUAGE = ‘VALUEOF(NQ_SESSION.WEBLANGUAGE)’
    This avoids the need of using extra Initialization Block for LOCALE variable.
    Is there is any need to use and initialize LOCALE ?

    Each interactive object remains active even if it is covered by a non-interactive object.
    More info about using shape buttons, either on master slide or timed for the rest of the project: http://blog.lilybiri.com/why-i-like-shape-buttons-captivate-6
    Be careful: when timed for the rest of the project, to have them visible everywhere normally you put it On top. But in this case, that will mean they'll be on top of the Lightboxes. I have been presenting about lightboxes once, maybe I should write it down in a blog post.
    Lilybiri

  • Budget Scenarios - multiple columns

    Hi,
    i have a question and I hope you can help me.
    John-Michael Davis already helped me but what he told me did not help me much unfortunately, because what he told me, was done:
    "I suspect that you have enabled cost accounting in one database and not the other. You can enable cost accounting from system initialization -> Settings -> Cost Accounting Tab."
    I have two databases in different environments. In one, the budget can appear in multiple columns but another can not. In this issue, just put the sequence of steps do i try to put the columns of the Cost Accounting.
    What am I doing wrong?
    I'll explain through pictures, because it's more simple for me to explain.
    This image (from another database), appears the extra columns:
    The sequence that I do to appear the columns:
    General Settings - Cost Account using 2 dimensions:
    General Settings - Budget defined:
    Chart of Accounts -> G/L Accounts master data extension check box
    2 Cost Centers for different Dimensions:
    Distribution Rules of the 2 Cost Centers:
    The distribution rules associate at the Dimension "Areas" that correspond at the first Dimension don't present Stelle_z -> Centro Geral?
    Table of Cost Centers and Distribution Rules for the two Dimensions
    Cost Center Hierarchy for two Dimensions
    A Small example of Reports:
    Cost Center Report
    Distribution Report
    Cost Accounting Summary Report
    Budget versus Cost Accounting
    Budget Scenarios - Setup
    Budget Scenarios – Setup – > In this it's missing field "Dimension" and "Cost Accounting Columns", so this not possible across other distribution rules (cost center)
    Thanks,
    Luís Pontes

    Hi,
    Maybe this post is very confusing, so i will summarize:
    in my budget, i want to have the option of Cost Accounting, but I cannot.
    I already activated the option Use Multidimensions but I still do not see the columns.
    Does anyone know what should I do?
    Or is it a mistake SAP?
    Thanks,
    Luís Pontes

  • Budget set up navigations in 4.6C

    Hi
    I am using 4.6C version, Can I find following navigations for  budget in this verson?
    1. Financials->Budget Setup->Budget
    2. Administration -> System Initialization -> General Settings -> Budget tab.
    thanx
    sravanthi

    Post relevant portion of your code to analyse. No point in shooting arrows in the dark.

  • Budgeting and Banking

    Hi,
                     1. I want to know why budget is entered in the debit side in a journal.If an expence account is initialised for budgeting how can it be debited?From expence account we willbe crediting only.Can somebody help?
                       2.I also want to know why house bank is given both in payment method and in BusinessPartner.What is the sigificance of that?
                                                                                    Regards,
                                                                                    Sekar

    Hi,
    From your post:
    1. I want to know why budget is entered in the debit side in a journal.If an expence account is initialized for budgeting how can it be debited?From expence account we willbe crediting only.Can somebody help?
    Reply:
    Have you hear of Golden rules of accounting
    PERSONAL ACCOUNT :      Debit the receiver
                                              Credit the giver
    (Its is related to person, firm etc....................)
    REAL ACCOUNT     :      Debit what comes in
                                         Credit what goes out
    (Its related to goods, cash etc.......................)
    NOMINAL ACCOUNT  :      Debit all expenses and losses
                                            Credit all incomes and gains
    (Its related to incomes and expenditure (both Direct & Indirect))
    If you have further doubt pls connect the accounting person in your firm
    From your post:
    2.I also want to know why house bank is given both in payment method and in BusinessPartner.What is the sigificance of that?
    Reply:
    In Payment method its used as default account in  incoming payment and also used in payment run wizard.
    And in payment system,the house appears by default if you have made default bank setup in Administration->Company details(under basic initialization)
    Here after i request you to post a single query in a thread.Hope my reply is helpful.
    Rgds,
    Sundar

  • ERPI FDMEE and EBS : Error initialize source system EBS

    ODI-1227: Task SS_0 (Loading) fails on the source ORACLE connection EBS_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: "LEDGER_ID": invalid identifier
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
      at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
      at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
      at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:189)
      at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:94)
      at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
      at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1930)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1073)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:49)
      at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:41)
      at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:92)
      at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:83)
      at oracle.odi.runtime.agent.support.DefaultRuntimeAgent.execute(DefaultRuntimeAgent.java:79)
      at oracle.odi.runtime.agent.invocation.support.InternalLocalRuntimeAgentInvoker.invoke(InternalLocalRuntimeAgentInvoker.java:49)
      at oracle.odi.runtime.agent.invocation.support.InternalRemoteRuntimeAgentInvoker.invokeStartScenario(InternalRemoteRuntimeAgentInvoker.java:173)
      at oracle.odi.runtime.agent.invocation.support.InternalRemoteRuntimeAgentInvoker.invokeStartScenario(InternalRemoteRuntimeAgentInvoker.java:140)
      at com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java:271)
      at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:162)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3437)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1509)
      at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44)
      at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
      at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1930)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1073)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:662)
    I am use EPM 11.1.2.3
    Someone can help me ?

    oh sorry ,
    I failed in step initialize source system  in FDMEE...
    Source System :
    select
    #AIF.p_ledger_column_name as SOURCE_LEDGER_ID,
    null as SOURCE_COA_ID,
    'BUDGET' as LOOKUP_TYPE,
    ver.BUDGET_VERSION_ID as LOOKUP_CODE,
    bud.BUDGET_NAME as LOOKUP_DISPLAY_CODE,
    case when bud.DESCRIPTION is null then bud.BUDGET_NAME
    else substr(bud.DESCRIPTION,1,150 )end as LOOKUP_CHAR_VALUE
    from GL_BUDGETS bud, GL_BUDGET_VERSIONS ver
    where
    bud.BUDGET_TYPE=ver.BUDGET_TYPE and
    bud.BUDGET_NAME=ver.BUDGET_NAME
    Target System :
    INSERT INTO AIF_LOOKUP_STG
    ( SOURCE_SYSTEM_ID,
    SOURCE_COA_ID,
    SOURCE_LEDGER_ID,
    LOOKUP_TYPE,
    LOOKUP_CODE,
    LOOKUP_DISPLAY_CODE,
    LANGUAGE,
    LOOKUP_CHAR_VALUE
    VALUES
    ( #AIF.p_source_system_id,
    :SOURCE_COA_ID,
    :SOURCE_LEDGER_ID,
    :LOOKUP_TYPE,
    :LOOKUP_CODE,
    :LOOKUP_DISPLAY_CODE,
    '#AIF.p_source_system_base_language',
    :LOOKUP_CHAR_VALUE
    Thanks

  • Instance Initialization Question (Why Is It Required Here???)

    In the example below, I don't understand why instance initialization is required for the line below to succeed. Any chance someone can explain it to me? :) Thanks in advance.
    THIS IS THE LINE I'M REFERRING TO
    cost = Math.round(price);
    [java]
    //: c08:Parcel9.java
    // Using "instance initialization" to perform
    // construction on an anonymous inner class.
    // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
    // www.BruceEckel.com. See copyright notice in CopyRight.txt.
    import com.bruceeckel.simpletest.*;
    public interface Destination {
         String readLabel();
    public class Parcel9 {
         private static Test monitor = new Test();
         public Destination dest(final String dest, final float price) {
              return new Destination() {
                   private int cost;
                   // Instance initialization for each object:
                        cost = Math.round(price);
                        if(cost > 100)
                             System.out.println("Over budget!");
                   private String label = dest;
                   public String readLabel() { return label; }
         public static void main(String[] args) {
              Parcel9 p = new Parcel9();
              Destination d = p.dest("Tanzania", 101.395F);
              monitor.expect(new String[] {
              "Over budget!"
    [java]

    return new Destination() {
    };Here you define an anonymous local class. Anonymous classes can't have constructors, so if there are any operations that need to be done when an instance of the class is created, they have to go in the instance initializer block. (Like with regular classes, it's illegal to have anything but declarations in the class body.)
    But the particular line you refer to actually doesn't have to be there; it's possible to combine the declaration and assignment of the cost variable:    private int cost = Math.round(price);

  • BUDGET in B1 2007A

    Hi All,
    I don't know how to setup budget for PO, GRPO and Accounting. It is posible to setup budget for half year or quarterly.
    Thanks a lot
    Bambang

    Thank you Gordon,
    In the Budget Distribution I put 50% in Jan and 50% in Jul and it is work. But why when i run journal entry to account relevant to budget there is no warning on it. I already set to warning in Administration --> System Initialization --> General Setting --> Budget
    Rgds,
    Bambang

Maybe you are looking for

  • Insert Images in a report

    Hi, I have a question: I have an Oracle table with an image field, when I build a report Portlet in tabular or in form mode, it appears as a link and if I want to view it I have to click on,so the image is displayed in another window. Is there a way

  • Blue screen error on resume, Sandisk U3 suspected

    Hi all, I have a T61 running WinXP. I've noticed that whenever the machine goes into hibernation with my flash drive inserted it crashes with a blue screen error on resumption. The drive i a sandisk cruzer with u3. Wondering if anyone has experience

  • Tranfering ipod songs to new computer

    I am looking for a little help. The Apple help desk told me there is free software to assist in transfering all the songs from my ipod to my itunes library. I can see the songs I purchased, but not the list of songs I loaded on myself. Any assistance

  • How do I rename a printer in OS X 10.9?

    Greetings, I am new to OSX 10.9. I have a networked laser printer. When I set it up I set it up as a IP address. Now the printer shows up in the printer resources as a IP address. Is ther any way to rename the printer resource? (The printer is a Koni

  • Cart Image Issue

    I am trying to add a custom image to the tag "Add to Cart" {tag_addtocart} on the Online Shopping Layout, "Individual Products Large" Page. The code looks fine, I think: {tag_tellafriend,<img src="/tellafriend.gif"/>}  {tag_addtocart,<img src="/addto