Account transformation business rule

Hi experts,
I hace defined Account Transformation rule in the default.lgf file. and I have defined source and destionation account in the corresponding table.
Now I am running the rule from Data manager package - Default formula.It is running successfully.
But when I see Package log it is not executing SPRUNCALCACCOUNT at all.
Would be great help if anyone can give some guidance.

Can you post the exact logic script?
Maybe a stupid guess, but did you put a *COMMIT directly after the *RUN_STORED_PROCEDURE logic statement?
Regards,
Joost

Similar Messages

  • Calcaccount procedure - account transformation business rules

    Hi I have a question concerning the calcaccount procedure.
    I already made some Cashflow accounts
    I already filled in some lines in the account transformation business rules
    But now I was wondering how to run these business rules:
    I have made the following calcaccount logic, but when I run it I get nothing for the moment
    *XDIM_MEMBERSET INTCO=GLTOT     
    *XDIM_MEMBERSET GROUPS=C_WDP     
    *XDIM_MEMBERSET ENTITY=E_TOTAL     
    *IGNORE_STATUS     
    *RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([FINANCE],[%CATEGORY_SET%],[C_WDP],[%SCOPETABLE%],[%LOGTABLE%],[CF])     
    *COMMIT     
    I don't have a clue if this logic is even correct or not
    Please help me

    Hi Alwin,
    I tried this but it doesnt work
    *XDIM_MEMBERSET INTCO=GLTOT     
    *XDIM_MEMBERSET GROUPS=C_WDP     
    *XDIM_MEMBERSET ENTITY=E_TOTAL     
    *IGNORE_STATUS     
    *RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([FINANCE],[%CATEGORY_SET%],[C_WDP],[%SCOPETABLE%],[%LOGTABLE%])     
    *COMMIT     
    I have the following in the formula log:
    Start time --->3:36:33 PM  -  Date:9/24/2008  (build code:254)
    User:WDP\Administrator
    Appset:WDP_ONTWIKKELING
    App:FINANCE
    Logic mode:1
    Logic by:
    Scope by:
    Data File:
    Debug File:D:\BPC\Data\Webfolders\WDP_ONTWIKKELING\FINANCE\PrivatePublications\Administrator\TempFiles
    DebugLogic_7_.Log
    Logic File:D:\BPC\Data\WebFolders\WDP_ONTWIKKELING\FINANCE
    ..\AdminApp\FINANCE\Calcaccount.lgx
    Selection:D:\BPC\Data\WebFolders\WDP_ONTWIKKELING\FINANCE\PrivatePublications\Administrator\TempFiles\FROM_7_.TMP
    Run mode:1
    Query size:0
    Delim:,
    Query type:0
    Simulation:0
    Calc diff.:0
    Formula script:
    Max Members:
    Test mode:0
    Is Modelling:1
    Number of logic calls:1
    Call no. 1, logic:D:\BPC\Data\WebFolders\WDP_ONTWIKKELING\FINANCE
    ..\AdminApp\FINANCE\Calcaccount.lgx
    signeddata is YTD
    Building sub-query 1
    Query Type:0
    Max members:
    Executing SPRUNCALCACCOUNT [FINANCE],[ACTUAL],[C_WDP],[SPSCOPE_312035],[SPLOG_394894]
    SPRunCalcAccount Version 2.06
    2 Rows Calculated
    2 Rows Updated
    Time to run stored procedure:26.5 sec.
    call 1 completed and data posted in 26.7 sec.
    Run completed in 27.3 sec.
    End time --->3:36:59 PM  -  Date:9/24/2008
    As you can see he doenst post records to the cashflowaccounts..
    Do you know what is wrong?

  • Account Transformation Business Rules: Apply to YTD is not working

    Hello Friends,
    I am using Account Transformation Rules for Re-classification of Accounts in MS version of BPC. And i am trying to use Apply to YTD. But it is not working and i am getting the same periodic values in YTD column also. For example if i am running a report for Dec 2009, i am getting the only Dec 2009 values under YTD also.
    I appreciate any ideas on resolving the issue.
    Regards,
    Mohan

    Hi Nilanjan,
    I observed the following:
    1. If I check the Apply to YTD in Account Transformation rules, it is always showing YTD only irrespective of what i choose in in Measures in CV.
    2. If i do not check the Apply to YTD in Account Transformation rules, it is showing only monthly values irrespectinve of what i choose in Measures in CV.
    YTD is working fine in the same Appset for other dimension members eg not used in the Account Transformation Rules.(for other reports).
    Thank you,
    Mohan

  • Currency Translation and Account Transformation Business Rules Together?

    Hi I am fresh out of college and working on a BPC project. I have this working but fear down the road problems.
    We are using currency translation and struggling with getting our NetIncome to write the correct value to the Current Year Retained Earnings when it converts from LC to USD; USD value did not match Net Income in P&L.
    Initially, we did the Account Transformation first in our default logic only on LC, then FX runs and creates the corresponding USD value which does not match the Net Income.
    It looks like the logic is correctly summing the YTD value but it converts using the AVG rate for the period (as opposed to multiplying each month by that monthu2019s average rate) creating a variance.
    Weu2019ve moved the account transformation to run after FX and have it also running on USD. This currently works but seems like a workaround, and as we configure the remaining CTA rules will we run into problems?
    Have any experts run into this issue before and what should I do?
    Edited by: MichaelUCF2010 on Oct 12, 2010 10:18 PM

    Hi, perhaps this is my lack of accounting knowledge rearing itself.
    RE = BS = End (if you take into account translation adjustment for Net Income and Additions/Substractions & OB)
    However If you are talking about the RE Reserve (and computing that correctly)
    RE Reserve
    OB - Opening
    Inc - Avg
    Sub - Avg
    NI - Avg [I assume it is this line you are talking about - please try the apply periodic option for avg]
    CTA - calculated
    CB - End

  • Help PLEASE !!!!!!!!!! Accout Transformation Business Rule

    Hi<br>
    I am trying to use the account transformation Business Rule in BPC 7 for MS. I have stored data gainst the the following <br>
    application = legal<br>
    period = 2009.006<br>
    category = Actual<br>
    ConsolView = LC<br>
    Intco = I_9005<br>
    Measure = Periodic<br>
    DataSourceL = input<br>
    Account  =650110 and 650115<br>
    I have built a report to display this data and to display account 100000
    <br>
    My logic to call the rule is
    <br>
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT( '%APP%', 'ACTUAL' ,'LC',  %SCOPETABLE%, '%LOGTABLE%', 'ABC',99 )<br>
    *Commit
    <br>
    I run my logic in debugger and in the Region tab I set Category to Actual and the Time to 2009.006
    <br>
    In the Business Rule I have a transformation group of ABC and in it I have two rows. I have tried many combinations of parameter values but generally I set the source account to 650110 and 650015 and the destination account to 100000 and leave all other fields empty.
    <br>
    When I run there are no error messages but no data is moved to account 100000.
    <br>
    The log contents are;
    <br>
    <br>
    Start time --->5:01:13 PM  -  Date:26/06/2009  (build code:254)
    <br>
    <br>
    <br>
    User:EXTENDTEC\BPC_SYSADMIN
    <br>
    Appset:Austereo
    <br>
    App:Legal
    <br>
    Logic mode:1
    <br>
    Logic by:
    <br>
    Scope by:
    <br>
    Data File:
    <br>
    Debug <br>
    File:C:\BPC\DATA\WebFolders\Austereo\Legal\PrivatePublications\BPC_SYSADMIN\TempFiles\DebugLogic.Log
    <br>
    Logic File:Acct Transform ABC.LGF
    <br>
    Selection:DIMENSION:Category|ACTUAL|DIMENSION:Time|2009.006|
    <br>
    Run mode:1
    <br>
    Query size:2
    <br>
    Delim:,
    <br>
    Query type:0
    <br>
    Simulation:0
    <br>
    Calc diff.:1
    <br>
    Formula script:
    <br>
    Max Members:
    <br>
    Test mode:0
    <br>
    Is Modelling:1
    <br>
    Number of logic calls:1
    <br>
    <br>
    Call no. 1, logic:C:\BPC\DATA\WebFolders\Austereo\AdminApp\Legal\Acct Transform ABC.LGF
    <br>
    <br>
    Building sub-query 1
    <br>
    <br>
    Query Type:0
    <br>
    Max members:
    <br>
    Executing SPRUNCALCACCOUNT  'Legal', 'ACTUAL' ,'LC',  SPSCOPE_428552, 'SPLOG_486004', 'ABC',99
    <br>
    <br>
    SPRunCalcAccount Version 7.0.112
    <br>
    <br>
    Time to run stored procedure:.6 sec.
    <br>
    call 1 completed and data posted in 0.7 sec.
    <br>
    Run completed in 0.7 sec.
    <br>
    <br>
    End time --->5:01:14 PM  -  Date:26/06/2009
    <br>
    <br>
    I have spent two days trying to get this thing to work. Am I correct in assuming the purpose of this is to copy data from the source account to the destination account. Can somebody please tell me whether there are other factors that control a business rule.
    <br>
    I have spoken to most of the Australian BPC experts and none have successfully invoked the SPRUNCALCACCOUNT. I have read all available documentation and not found an explanation that sheds light on what I am doing wrong. Has anyone successfully used theis Business rule?
    <br>
    Thanks in advance
    <br>

    Hi Bronwen
    Whether you included the System_contants.LGL and Consolidation_Library.LGL in the logic file.
    *INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB CONSOLIDATION_LIBRARY.LGL
    Syntax used & its works.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%APP%],[ACTUAL],[LC],[%Scopetable%],[%Logtable%],[ABCC])
    Give a try!
    Note: Use the Square brackets [[%APP%]] in the syntax.
    after posting this thread, syntax is showing as URL.
    Cheers
    Uma
    Edited by: Uma Swaminathan on Jun 26, 2009 9:37 AM

  • Business Rules for Account Transformation - Execute a Transformation Group

    Hello,
    when executing a package for account transformation, I want to select a specific transformation group
    only.
    The transformation group is the first column in the definitions.
    My question:
    Can I pass this to script logic as a parameter?
    What is it like?
    I think this should have a performance effect when using account transformation in default logic.
    Thanks for an answer
    Jochen

    Hi Jochen,
    Your best bet is the documentation at [http://help.sap.com/saphelp_bpc75_nw/helpdata/en/2b/8f059920de465b88be2893e2117fbe/frameset.htm], however in this case it does not do a very good job of explaining what is happening. Fortunately the CALC= property is just about the only one that you have control over for the account transformation business rules.
    The other option (and the only way to truly know what is going on) is to investigate the ABAP programs that actually execute the business rule logic in BW. You can find these programs in SE80, under the UJ package, in the UJP sub-package. You will be most interested in the classes available there. There tends to be one class per business rule group, as well as classes for allocations and validations.
    Cheers,
    Ethan

  • Account Transformation CALCACCOUNT.LGF returns 0 records

    Hi,
    Account transformation through CALCACCOUNT.LGF returning 0 records.
    Created a Account Transformation Business rule as follows -
    Transformation group Name - AST
    Source Account - CASH
    Category - ACTUAL
    Source Flow - NONE
    Source DatsSrc - SYSTEM
    Similarly maintained values for -
    Destination Account  - D_CASH
    Destination Category - ACTUAL
    Destination Source Flow - ENDBAL
    Destination DatsSrc - SYSTEM
    Source period = -1
    all other values like Source Year,Apply to YTD,Remark,Level, Forced into Member are left blank.
    Scrip Logic -
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %TIME_SET%
    ENTITY=%ENTITY_SET%
    CALC=AST
    *ENDRUN_PROGRAM
    Script runs succesfully, however returns 0 records.
    RUN CALC_ACCOUNT
    0  SUBMITTED, 0  SUCCESS, 0  FAIL.
    SCRIPT RUNNING TIME IN TOTAL:1.94 s.
    LOG END TIME:2011-06-28 01:38:25
    Can some one please advise on the "checks" to be performed to run the script succesfully.
    I know out of experience even if a simple property is not set, script does not run.
    Inputs appreciated.
    Thanks.

    With this, one thing to be aware of is that if you have run an account transformation rule on a data set already, and you a re-running it yet the data has not changed - there will be 0 records generated.
    I recommend changing the data - do a simple zero and input data then save - then re-run, check if that works.
    Nick

  • Account Transformation with 13 periods

    Hi All,
    Has anyone had experience using the account transformation using 13 periods/months?  The Account Transformation business rules have properties for SourceYear and SourcePeriod.  These fields can hold either a specific value (2009, 2010, JAN, P01, etc) or a relative value (+1, -3, etc).
    The class that implements the transformations, CL_UJP_CALC_ACCOUNT, has a method, CALC_TIMESCOPE_P, that converts a relative SourcePeriod to an absolute SourcePeriod by first adding the relative number (example +2) to the period the transformation program is being run for (example monthNum 11) and the "rolling" years.
    We are using a fiscal year variant for 13 periods and the code appears to assume that a year has 12 months.  In the example above, Monthnum 11 + 2 = 13  ==>  Month 13 is treated as month 1 of next year.  We need it to be treated as "month" 13 of the current year.
    Any, and all, suggestions are appreciated.
    Thanks,
    Pam

    Opened message with SAP; scheduled to be an enhancement in a future BPC 7.5 NW service pack.

  • Account transformation accumulating values

    Hi Forum,
    A quick question is there an option for account transformations not to 'add' to values that exist in the bpc database already. I want to overwrite values in existing accounts but the account transformation seems to be accumulating the value.
    Thanks,
    Brian

    Hi..
    I'm working on CAPEX application. My problem is :- 1st time data loading, opening and closing are correct but the subsequent data uploading, opening and closing figure will accumulate. Please advice what coding should I include in my script logic.
    In my testing,
    1) I'll upload - Jan'2006 opening, Jan'2006 to Dec'2006 Movement
    2) use account transformation to calculate "opening + movement = closing" 
    3) use script logic for carry-forward monthly opening 
    Account Transformation business rule:
    Transf group   Source Acc  Source flow            Source d/source  Destination acc
    A                        1410220          FA_ExistDepr_OPE                                1410220
    A                        1410220          FA_ExistDepr                                         1410220
    A                        1410220          FA_AddDepr_OPE                                  1410220                 
    A                        1410220          FA_AdditionsDepr                                   1410220
    A                        1410220          FA_ADepr_OPE                                      1410220
    A                        1410220          FA_ADepr                                               1410220
    A                        1410220          FA_DispDepr_OPE                                  1410220
    A                        1410220          FA_DisposalDepr                                     1410220
    A                        1410220          FA_TranInDepr_OPE                                1410220
    A                        1410220          FA_TransferInDepr                                    1410220
    A                        1410220          FA_TranOut_OPE                                     1410220
    A                        1410220          FA_TransferOutDepr                                  1410220
    Dest. flow          Dest. d/source   Rev sign Source Period  AppytoYTD  Remark  LEVEL
    FA_ExistDepr_CLO                                                                         Y
    FA_ExistDepr_CLO                                                                         Y
    FA_AddDepr_CLO                                                                           Y
    FA_AddDepr_CLO                                                                           Y
    FA_ADepr_CLO                                                                               Y
    FA_ADepr_CLO                                                                               Y
    FA_DispDepr_CLO                                                                           Y
    FA_DispDepr_CLO                                                                           Y
    FA_TranInDepr_CLO                                                                         Y
    FA_TranInDepr_CLO                                                                         Y
    FA_TranOutDepr_CLO                                                                      Y
    FA_TranOutDepr_CLO                                                                      Y
    Default.lgf Script logic:
    *INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB  SYSTEM_LIBRARY.LGL
    // Default base level logic - applies to all base members in all dimensions
    //Move Net Income to Balance Sheet
    //ROLLTOBS( CYNI, CALCNI, FINSTMT, PL, DEC )
    // Perform Currency translation
    *INCLUDE FXTrans
    Perform ACCOUNT TRANFORMATION
    *RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([CAPEX],[%CATEGORY_SET%],[LC],'%SCOPETABLE%','%LOGTABLE%', 'A')
    *COMMIT
    //-- ACCOUNT TRANFORMATION END--
    TO CALCULATE MONTH OPENING
    *SELECT(%AccountList%, "ID", "CapAccount", "[Group] = 'Test1'")
    *xdim_memberset CapAccount= %AccountList%
    *xdim_memberset CapAcctDetail = FA_ExistDepr_OPE,FA_ExistDepr_CLO,FA_AddDepr_OPE,FA_AddDepr_CLO,FA_ADepr_OPE,FA_ADepr_CLO,FA_DispDepr_OPE,FA_DispDepr_CLO,FA_TranInDepr_OPE,FA_TranInDepr_CLO,FA_TranOutDepr_OPE,FA_TranOutDepr_CLO
    *When CapAcctDetail
      *IS FA_ExistDepr_CLO
      *REC(CapAcctDetail=FA_ExistDepr_OPE,TIME=NEXT)
      *IS FA_AddDepr_CLO
      *REC(CapAcctDetail=FA_AddDepr_OPE,TIME=NEXT)
      *IS FA_ADepr_CLO
      *REC(CapAcctDetail=FA_ADepr_OPE,TIME=NEXT)
      *IS FA_DispDepr_CLO
      *REC(CapAcctDetail=FA_DispDepr_OPE,TIME=NEXT)
      *IS FA_TranInDepr_CLO
      *REC(CapAcctDetail=FA_TranInDepr_OPE,TIME=NEXT)
      *IS FA_TranOutDepr_CLO
      *REC(CapAcctDetail=FA_TranOutDepr_OPE,TIME=NEXT)
    *EndWhen
    *COMMIT
    Please advice. Thanks.
    Regards,
    Clarissa Chung

  • BPC NW - Error in Business Rule for Account transformation rule table

    hi
    I have given the Account transformation Rule to move Amount from Account A to Account B and then I have given the following script logic in the default script
    **RUN_PROGRAM CALC_ACCOUNT*
    *CATEGORY = Category*
    *CURRENCY = RptCurrency*
    *TID_RA = %TIME_SET%*
    *CALC=A*
    *OTHER = ENTITY=C1000*
    **ENDRUN_PROGRAM*
    But when I try to load data through Input schedule in Account A and expect amount to transfer to Account B, I m getting an error
    Book Name:Book4
    Application : PLANNING*
    Status : Failed*
    Submitted Count : 1*
    Accepted Count : 1*
    Rejected Count : 0*
    - Error Message -*
    Error running default logic (Business rules are not available)
    - Rejected record list -*
    Error converting records: The root element is missing.
    Can someone please advice me what to do ....

    hi Marcel,
    Lot of thanks for your answer.
    But I have used your logic after removing GROUPS as I dont have GROUPS dimension in my application.
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    TID_RA = %TIME_SET%
    CALC=FX
    OTHER = [ENTITY=%ENTITY_SET%]
    *ENDRUN_PROGRAM
    This is the error I m getting
    Book Name:Book3
         Application     :     PLANNING
         Status          :     Failed
         Submitted Count     :     1
         Accepted Count     :     1
         Rejected Count     :     0
              - Error Message -
    Error running default logic (Business rules are not available)
              - Rejected record list -
    Error converting records: The root element is missing.
    Can you please advice
    a) Does it mean some issue with my client installation as I dont see these LGF files. I even dont see the data folder in which lgf files are supposed to be present
    b) Where to find information for this interface CALC_ACCOUNT? How did you decide to use 'FX' and how do you know which dimensions to use. Like I dont have GROUPS.
    Please give me your comments.
    regards
    Gaurav

  • Business Rules: Account transformation and the source YEAR / PERIOD

    Ladies and gents,
    lets assume you have an amount of 100 on account A everymonth for 2 years.
    in my business rules, account transforamtion, i put those sales to be transfer to an  account B.
    When i put DEC in period and -1 in year, then it will post the previous year cumulated amount of A to B. So be will have 1200
    Now, lets assume  I put 9 in period and -1 in year then it will bring me the total of previous year October if i am in january Y1, or previous year November if i am in february... But then in march, april, ... until the end of the year it will bring previous year December.
    Now, when i put -3 in period and no change in year, for january, it brings january, for february it brings february, for march it brings march... But on April it brings january as expect...
    I want it to come with 0 for the first 3 month... and only start in april!! Why does it do that considering that it for the previous example +3 after march always brings december... why then -3 in january doesnt bring nothin!!
    Nic

    You can greatly improve your chance of receiving a helpful answer to your question if you state the version (MS or NW) and the release (5.1, 7.0, 7.5) of BPC which you are using.
    Also notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of this forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

  • Business rules: Account transformation

    Hi everyone.
    I am trying to populate my cash flow statement using the Account Transformation. E.g For the changes in my inventories: I want the difference between the closing balance of DEC (of the previous year) and the closing balance of the current month.
    I thought I could use "Source Period" and "Source Year" in the account transformation. Any idea how they can be used? I want to use a property: u201CPrevious yearu201D to make the time dynamic. Is that possible?
    Thanks for your help
    Esther

    I would suggest using the dimension Account library functions and a dimension calculations or script logic calculations to create the value from the cube values, rather than during the data load process.Script Logic might look something like the following:
    INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB CONSOLIDATION_LIBRARY.LGL
    // MOVE INCOME STATEMENT ITEMS TO CASH FLOW STATEMENT
    RUNSUMMARIZE(ThisApp,CF_SUMM,%CATEGORY_SET%,%LC_RPT_CURR%)
    //CALCULATE BALANCE SHEET MOVEMENTS AND POST TO CASH FLOW STATEMENT
    *SELECT(%FROM_ACCOUNT%, "[ID]", "ACCOUNT", "[CF_TO_ACCT] <> ''")
    *XDIM_MEMBERSET ACCOUNT = %FROM_ACCOUNT%
    *XDIM_ADDMEMBERSET TIME = PRIOR
    *XDIM_MEMBERSET RPTCURRENCY=%LC_RPT_CURR%
    *WHEN TIME
          *IS %TIME_SET%
                *REC(ACCOUNT=ACCOUNT.CF_TO_ACCT)
          *IS PRIOR
                *REC(FACTOR=-1,ACCOUNT=ACCOUNT.CF_TO_ACCT,TIME=NEXT)
    *ENDWHEN
    *COMMIT
    But this will require a few properties on the accounts members to support the calculations. The idea for cash flow is to have the basic values in the accounts, and then provide the calculations to place values into another set of accounts that build the CAshFLow statement.  The most difficult part will be dealing with the exceptions, changes to the Cash Flow statement process a customer will need to work with each reporting period.  But Script logic generally works the best.

  • Why not allow Business Rule Design Transformer to overwrite existing BRDDs

    Hi,
    It can be quite annoying during development to continually having to remove the BRDD Trigger and PL/SQL Definition when running the BR Design Transformer reveals missing information in the BR Analysis definition. It seems that it would be practical to have at least the option to have the Business Rule Design Transformer overwrite an existing Business Rule Design Definition.
    You could think of an additional parameter in this utilily labeled "Overwrite existing BRDD?" with allowable values Y(es) and N(o) with No as default (so that the default functionality is the same as before).
    Below you find the code that can be added to the HSU_BRTR package to realize such a functional improvement. Maybe you can consider it for a next release...?!
    best regards,
    Lucas Jellema
    AMIS Services BV
    code to add to HSU_BRTR to provide a parameter that allows the user to specify whether or not the HSU_BRTR is allowed to overwrite an existing BRDD:
    in the revision history:
    09-jan-2003 Lucas Jellema
    6.5.2.3AMIS1.1 Added new parameter and supporting code that allows user to indicate
    whether existing Business Rule Design Definitions may be/should be overwritten
    at the end of procedure install
    hsu_install.add_parameter
    ( PACKAGE_NAME -- package name
    , 40 -- sequence
    , 'Overwrite existing BRDDs?' -- prompt
    , 'N' -- default value actual
    , 'No' -- default value displayed
    , 'Y' -- mandatory
    , 'N' -- allow multi-select
    , 'N' -- include shared elements
    , '' -- element type short name
    , '' -- sql expression actual
    , '' -- sql expression displayed
    , null -- where clause
    , null -- synchronize with
    , null -- foreign key column
    , -- help text
    'Choose whether you want this utility to overwrite existing Business Rule Design Definitions.'
    hsu_install.add_allowable_value
    ( PACKAGE_NAME -- package name
    , 40 -- parameter
    , 1 -- sequence
    , 'Y' -- actual value
    , 'Yes' -- displayed value
    hsu_install.add_allowable_value
    ( PACKAGE_NAME -- package name
    , 40 -- parameter
    , 2 -- sequence
    , 'N' -- actual value
    , 'No' -- displayed value
    --------6.5.2.3AMIS1.1
    Just before procedure transform_stage2
    procedure delete_brdds
    ( p_tbl_id in ci_table_definitions.id%type
    , p_br_name in varchar2
    -- Purpose Delete existing Business Rule Design Definition
    -- Usage from run procedure
    -- Remarks Find PL/SQl Module Definition based on Business Rule Label
    is
    cursor c_brdd
    ( b_tbl_id in ci_table_definitions.id%type
    , b_br_name in varchar2
    is
    select trg.id trg_id
    , trg.name name
    , plm.id plm_id
    from ci_database_triggers trg
    , ci_plsql_modules plm
    where trg.table_definition_reference = b_tbl_id
    and trg.plsql_module_reference = plm.id
    and plm.name = b_br_name
    begin
    -- loop over journalling busrules of this application
    <<brdd>>
    for r_brdd in c_brdd(p_tbl_id, p_br_name) loop
    -- delete busrule (delete of trigger is since 6i not enough anymore, so
    -- explicitly delete PL/SQL module also)
    bllog.write
    ( 'Deleting trigger '||r_brdd.name||' and PL/SQL module '
    ||hsu_name.get_name_and_path(r_brdd.plm_id)
    ||', a new business rule design definition overwrites this old one.'
    , bllog.information
    bltrg.del(r_brdd.trg_id);
    blplm.del(r_brdd.plm_id);
    end loop brdd;
    end delete_brdds;
    inside procedure transform_stage2
    (just before the comment: -- check if BRDD with this plm_name already exists)
    if p_overwrite_br = 'Y'
         then
    delete_brdds
    ( p_tbl_id => g_trg_tbl(i).tbl_id
    , p_br_name => l_plm_name
         end if; -- find_trg and overwrite =Y
    A new parameter in procedure transform_br_fun
    procedure transform_br_fun
    , p_overwrite_br in varchar2 default 'N' -- 6.5.2.3AMIS1.1
    use the parameter p_overwrite_br in the call to transform_stage2
    transform_stage2
    ( p_fun_id => p_fun_id
    , p_fun_label => r_fun.fun_function_label
    , p_fun_short_definition => r_fun.fun_short_definition
    , p_msg_prefix => p_msg_prefix
    , p_msg_language => p_msg_language
    , p_rule_type => l_rule_type
                   , p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1
    new parameter p_overwrite_br in the procedure run
    NOTE: in both PACKAGE SPECIFICATION and BODY
    , p_overwrite_br in varchar2 default'N' -- 6.5.2.3AMIS1.1
    use the parameter p_overwrite_br in all calls to transform_br_fun inside procedure run
    transform_br_fun
    ( p_fun_id => r_fun_tree.id
    , p_msg_prefix => p_msg_prefix
    , p_msg_language => p_msg_language
    , p_create_att_usages => p_create_att_usages
    , p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • Business Rule Design Transformer fails with ORA-00001

    I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
    Exact error message: "Activity aborted with ORACLE internal errors.
    -1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
    I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
    If someone has any clue about this I would be very grateful
    Cheers,
    Dimce

    Jan,
    The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
    I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
    But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
    Dimce

  • Business Rule error: Accounts are not available in the rule table

    Hi everybody,
    I have a problem running the Business Rule for the profit/loss copy to the equity account.
    The Business Rule I set reads from all P&L accounts, P&L specific flow, acual category, all datasources and then it writes everything keeping the source settings apart from the account destination (the equity profit/loss account) and the flow destination (I write in two different flows, so the rule is made up of two equal lines differing only in the flow destination). "PROFIT" is the ID I chose.
    Then I created the related script logic (ID=CALCACCOUNT):
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY_M = %CATEGORY_M_SET%
    CURRENCYLABEL = %CURRENCYLABEL_SET%
    TID_RA = %TIME_SET%
    CALC=PROFIT
    *ENDRUN_PROGRAM
    Finally, the prompt ( process chain: CPMB/RUNCALCACCOUNT):
    PROMPT(SELECTINPUT,,,,"CATEGORY_M,CURRENCYLABEL,TIME")
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SUSER,%USER%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPP,%APP%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,LOGICFILENAME,CALCACCOUNT.LGF)
    But anytime I run the package it fails giving me the message error: "Accounts are not available in the rule table".
    I tried every possible change but nothing; if someone could help me somehow I'd be really grateful!!
    Thanks
    Filippo

    Hi James,
    Thanks for your quick response. There is no currency dimension in the application... I've tested with the correct businessrule as CALC value, but this didn't do the trick.
    Any other suggestions?
    Regards,
    Vincent

Maybe you are looking for

  • Metadata Server says content indexing is disabled, how to enable?

    My Spotlight has been hobbled for some time... I just downloaded and ran Spotless 2, and it says: The Metadata Server is reporting that content indexing is DISABLED for the volume Macintosh HD but the volume itself is reporting that the content index

  • Video not displayed in fullscreen mode in Flash CS3..

    Hi, I am bit new to flash. I had designed a flash interactive material and in it when gone to video section the screen goes black in full screen mode when the output in made into windows projector (.exe).  But in normal mode the viedo runs smoothly.

  • Getting the message: "XML code not well formed"

    Hi folks! I'm a blackberry newbie, and I love it, but I'm having a difficult time understanding why it won't allow me to download a WAP push link to download a ringtone. Every time I try to link I get the message: "The XLM code is not well-formed". I

  • How can I change my IP address in airport extreme?

    I have an airport extreme and I would like to change the IP address.  There is a renew DHCP tab next to IPv4 Address in Airport Utility, but if I click it doesn't change anything.  I'm very green on IP addresses, how can I change the IP address?

  • I'm having problems sending email attachments

    The attachement is less then 1 mb, the address is good, etc etc it takes me to the place to open the attachement i click and goes back to my email and i click send but nothing happens.