Reclassification where target/source does not equal trigger?

A challenge for reclassification, allocation or other BCS functionality:
Requirement:
Where two accounts net to either an asset or a liability, then the accounts that show the opposite sign to the net result must be reclassified to asset or liability.
Example:
Load from Data Stream:
Acct 1000 (asset) = +$1000
Acct 2000 (liability) = -$500
Net result = +$500 (asset)
-This is a positive number, therefore Acct 2000 (liability) value must be reclassified to Acct 1000 (asset):
and vice versa
Desired BCS reclasification:
Acct 1000 (asset) = -$500
Acct 2000 (liability) = +$500
BCS data after reclassification:
Acct 1000 (asset) = +$500
Acct 2000 (liability) = 0
Net result = +$500 (asset)
Standard reclassification
Standard Reclassifications don't seem to work because the source/target is always equal to the trigger (unless you add a percentage, which would not help this requirement)
Two steps would be required:
step 1. the trigger condition that the sum of both Acct 1000 and Acct 2000 = >0
Source is Acct 2000
Target is Acct 1000
but how do we reclassify only the Acct 1000 value NOT the whole amount?
step 2 would be the opposite:  the trigger condition that the sum of both Acct 1000 and Acct 2000 <0
Source is Acct 1000
Target is Acct 2000
Again, how do we reclassify only the Act 2000 value?
Allocations
Allocation functionality contains a few options but I can't see any that would succeed:
- A specific fixed distribution wouldn't help because the values will change each period
- A distribution by ratio of existing results (usually used to allocate eg costs by proportion of sales) doesn't seem helpful either
Next steps
There might be some combination of (one-sided) reclassifications to statistical accounts, which then become a condition for a subsequent reclassificition or allocation but I haven't got anywhere.
Any suggestions?

Thansk Marsy, here it is here:
Dr/Cr Sign-triggered Reclassification
I hadn't realised (due to not having used it before) that once selected, the condition selections can be independent of the trigger selections.
Looks like this should give me what I need:
Example 1:
Load from Data Stream:
Acct 1000 (asset) = +$1000
Acct 2000 (liability) = -$500
Net result = +$500 (asset)
-This is a positive number, therefore Acct 2000 (liability) value must be reclassified to Acct 1000 (asset)
Example 2
Load from Data Stream:
Acct 1000 (asset) = +$1000
Acct 2000 (liability) = -$1500
Net result = -$500 (liability)
-This is a negative number, therefore Acct 1000 (asset) value must be reclassified to Acct 2000 (liability)
BCS reclassification setup (step 1 - net result is an asset)
Trigger = Accounts 2000
Condition = Acct 1000+2000 >0
Source = Acct 2000
Target = Acct 1000
BCS reclassification setup (step 2 - net result is a liability)
Trigger = Accounts 1000
Condition = Acct 1000+2000 <0
Source = Acct 1000
Target = Acct 2000
BCS data after reclassification - example 1:
Acct 1000 (asset) = +$500
Acct 2000 (liability) = $0
Net result = +$500 (asset)
BCS data after reclassification - example 2:
Acct 1000 (asset) = $0
Acct 2000 (liability) = -$500
Net result = -$500 (liability)

Similar Messages

  • In a purchase order for 3 GR's Quantity does not equal the value

    Hi,
    I have found the difference in one purchase order, there have been 3 GRs where the Qty does not equal the Value.  How has this happened?
    Any guesses why the difference has come.
    Thanks&regards,
    Veena

    Hi Vishal,
    In po history for agt 3 Gr's  Quantity does not equal the values. I hope the difference is Movement types. But exactly where to check this movements i am not getting.
    Can you tell me this which T.code.
    Tx,

  • GR  Qty value does not equal the value

    Hi,
    In PO,there have been 4 GRs where the Qty does not equal the Value.  How has this happened? 
    Could you please suggest me why the difference has come.
    Thanks in advance,
    Cheers,
    Veena

    Hi,
    Yes.you are right.My suggestion does not work here.
    Mr.Adam has given the perfect solution.
    But the problem is the limitations on availability to
    define Before aggregation as the aggregation property
    for CKF,even in Version older than 7.
    So try to implement the solution given by Mr.Adam with
    reference to version7 in your query even though your
    version is less than version 7.
    With rgds,
    Anil Kumar Sharma .P

  • Stored Procedure Help: Source does not have a runnable target

    I'm an MS-SQL guy, so I'm fairly familiar with T-SQL syntax, but am having one heck of a time trying to take code I've written for SQL and transform it to work with Oracle.
    Anyways, I'm using Oracle's SQL Developer, and I've got a stored procedure that calls the Alter Table statement and adds a column to it. I'm just trying to get this one to work before I move on to the other one's I have. I keep getting the message Source does not have a runnable target when I try running this command.
    create or replace PROCEDURE rta_conv_addcolumn(rtatablename1 in varchar(20),
    rtatablename2 in varchar(20),
    rtacolumnname in varchar(256),
    rtacolumninfo in varchar(256))
    AS
    DECLARE rtasql VARCHAR(4000);
    BEGIN
    IF EXISTS (SELECT * FROM user_tables WHERE table_name = rtatablename1)
    AND NOT EXISTS (SELECT * FROM user_tab_columns WHERE column_name = rtacolumnname
    AND table_name = rtatablename1)
    AND NOT EXISTS (SELECT * FROM user_tab_columns WHERE column_name = rtacolumnname
    AND table_name = rtatablename2)
    Then rtasql:= 'ALTER TABLE ['+rtatablename2+'] ADD ' + rtacolumnname + ' ' + rtacolumninfo;
    Execute (rtasql);
    END rta_conv_addcolumn;
    If I try compiling it I get the following messages, which don't make sense, since the syntax I'm using for declaring the input variables looks to be right.
    Error(1,54): PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
    Error(2,29): PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
    Error(3,29): PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
    Error(4,29): PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
    Error(6,1): PLS-00103: Encountered the symbol "DECLARE" when expecting one of the following: begin function package pragma procedure subtype type use <an identifier> <a double-quoted delimited-identifier> form current cursor external language The symbol "begin" was substituted for "DECLARE" to continue.
    Error(15,5): PLS-00103: Encountered the symbol "RTA_CONV_ADDCOLUMN" when expecting one of the following: if

    What table you want to add the column to? rtatablename1 or rtatablename2? I assumed 1 for now.
    I tried to preserve your code structure so you can familiarize with it.
    This piece should work, but you need to make sure you validate the parameters you concatenate to your strings when you use dynamic SQL.
    That's when SQL injection takes place: when you trust the parameters you are receiving and don't validate them.
    Also remember that DDL statements execute an implicit commit. Any previous DML operations you have pending will be commited by
    this EXECUTE IMMEDIATE call if it succeeds.
    I'd recommend some reading at the Oracle docs regarding those topics and the invoker's vs definer's rights for procedures.
    It basically means that as a default behaviour, the user running the procedure "borrows" the rights and privileges of the procedure owner,
    and that guy is usually super-privileged.
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/subprograms.htm#LNPLS00809
    CREATE OR REPLACE PROCEDURE rta_conv_addcolumn
      rtatablename1 IN VARCHAR,
      rtatablename2 IN VARCHAR,
      rtacolumnname IN VARCHAR,
      rtacolumninfo IN VARCHAR
    ) AS
      rtasql VARCHAR(4000);
      v_count NUMBER;
    BEGIN
      SELECT COUNT(*)
        INTO v_count
        FROM user_tables
       WHERE table_name = upper(rtatablename1)
             AND NOT EXISTS (SELECT *
                               FROM user_tab_columns
                              WHERE column_name = upper(rtacolumnname)
                                    AND table_name = upper(rtatablename1))
             AND NOT EXISTS (SELECT *
                               FROM user_tab_columns
                              WHERE column_name = upper(rtacolumnname)
                                    AND table_name = upper(rtatablename2));
      IF v_count > 0
      THEN
        -- is it to the rtablename1 or 2 you want to add this column to?
        rtasql := 'ALTER TABLE ' || rtatablename1 ||' ADD ' || rtacolumnname || ' ' || rtacolumninfo;
        EXECUTE IMMEDIATE rtasql;
      END IF;
    END rta_conv_addcolumn;Edited by: fsitja on Dec 11, 2009 11:21 PM

  • Source does not have a runnable target.

    I am just learning Stored Procedures. I have Oracle SQL Developer Version 1.5.1 loaded, going against 11G running on Ubuntu Linux.
    I try to build a very basic Stored Procedure:
    CREATE OR REPLACE
    PROCEDURE HR.TEST AS
    BEGIN
    Select * from hr.jobs
    NULL;
    END HR.TEST;
    I always receive the following error:
    Source does not have a runnable target
    I always post these question in the wrong area on this Forum, so go ahead and just direct me to the correct forum if applicable.
    Any ideas?
    Thanks Zach

    Ah, so Tom O'Neill was not writing about Oracle. The clue was in the title, "SQL Server Stored Procedures for Beginners". Easy to miss perhaps ;)
    This is a valid procedure:
    CREATE OR REPLACE PROCEDURE test
        ( p_salary       IN  jobs.min_salary%TYPE
        , p_out_results  OUT SYS_REFCURSOR )
    AS
    BEGIN
        OPEN p_out_results FOR
            SELECT *
            FROM   jobs
            WHERE  p_salary BETWEEN min_salary AND max_salary
            ORDER BY min_salary, max_salary, job_title;
    END test;Here's how you might call it from SQL*Plus:
    SQL> var results refcursor
    SQL> exec test(3000, :results)
    PL/SQL procedure successfully completed.
    SQL> print :results
    JOB_ID     JOB_TITLE                           MIN_SALARY MAX_SALARY
    ST_CLERK   Stock Clerk                               2000       5000
    PU_CLERK   Purchasing Clerk                          2500       5500
    SH_CLERK   Shipping Clerk                            2500       5500
    AD_ASST    Administration Assistant                  3000       6000
    4 rows selected.or if you prefer,
    SQL> set autoprint on
    SQL>
    SQL> exec test(3000, :results)
    PL/SQL procedure successfully completed.
    JOB_ID     JOB_TITLE                           MIN_SALARY MAX_SALARY
    ST_CLERK   Stock Clerk                               2000       5000
    PU_CLERK   Purchasing Clerk                          2500       5500
    SH_CLERK   Shipping Clerk                            2500       5500
    AD_ASST    Administration Assistant                  3000       6000
    4 rows selected.No idea how to call it from SQL Developer, sorry.

  • IMPORT Target Portal does not match the Source Portal version

    Hi,
    Executing the import via the command line gives me the following error: Error: Target Portal does not match the Source Portal version
    Cannot proceed with Import
    Checking the output of the script tells me that the portal source has version 9.0.2.6 and the target 9.0.4.0.
    Does this mean that there is no backwards compatibilty?
    How should I continue from here?
    Best Regards

    Portal Export/Import utilities are designed only to work between Portals which are at the same version level.
    For more information, please see this section in the Portal Export/Import FAQ for 9.0.2.6:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/9023_EXPORT_IMPORT_FAQ_0308.HTM#question_5
    OracleAS Portal allows you to upgrade your existing content to the latest release of Portal.
    What you need to do in your particular case is to upgrade your existing portal installation from 9.0.2.6 to 9.0.4 before using Portal Export/Import between your two portal instances.
    Best Regards,
    Harry

  • Target data source does not support the AGO operation

    Hi,
    In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
    When I remove the relational columns or run Essbase current-date messures, the result is fine.
    So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?

    to clarify:
    fail case:
    criteria
    YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    relational source: month_name
    cube measure using AGO(): sales(year_ago)
    result: error messageSuccess case:
    criteria
    YEAR | YTD,gen03 | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    cube measure using AGO(): sales(year_ago)
    result: success~! how can i solve it? thx

  • Building SCD Type2 changes. Any record deletion in Source does not expire the Target Record

    Building SCD Type2 changes. Any record deletion in Source does not expire the Target Record. When I Delete any Record in Source Table, I expect the same record should be 'Expired' with 'End_Date' with Active = 'N'. 
    BTW: In 'Table Comp',  I have Checked the 'Detect Deleted rows(s) ...'. /  ' ... largest generated key'  is selected by default..
    This is not happening..! My Update and Insert works fine..!

    Hi
    Do you have detect deletes set on Table Comparison?
    I also add the Map operations to the output of History Preserving and manage each stream of the Insert/Update/deletes separately and control the record start/effective & record end/Expiry dates with more variables based on the stream req, ie updates to end previous record have record end date set to variable for business or run date set to date - 1.
    You only need key gen for inserts (including the deleted record final state)
    Use merge to bring back together.

  • KE5Z drilldown report does not equal grr3 report values

    Hello,
    We have a grr3 report where the COGS line is based on functional area and account ranges.  The total displayed on the GRR3 report for the COGS cell matches the values I would expect based on the specified account and functional area restrictions assigned to that cell.  When I drill into the KE5Z report (Profit Center: Actual Line Items), which is identified as a receiver report, the summed value of the "In Company Code Currency" field does not equal what is displayed in GRR3.  The GRR3 report is returning results in the same currency as the company code currency that the report is being executed for so that is not the problem.  During my investigation it looks like the functional area restrictions are not being accounted for when I drill into KE5Z.  Any recommendations on why the restrictions identified for the cell in the GRR3 report would not be carried through to the KE5Z results?  I have been playing with this for hours and have run out of ideas.  I can't determine why the COGS cell value is different than the actual line items sum.  Any help would be greatly appreciated.
    Thanks,
    Jordan

    Hi Jordan,
    in my experience the report-report interface can only pass through selections independently.
    To give an example: I had a report painter report with line 1 that had a selection on two characteristics (say cost element A and cost center B) then a second line with selection cost element C and cost center D selected and finally a line with the sum of the two lines above.
    Now when I jump to a connected line item report by double-clicking on the line with the sum, the parameters passed on are:
    cost centers: B, D
    cost element: A, C
    Therefore, the sum of my line items is not equal to the sum that I departed from, as I get line items with cost element A and cost center D, for example, a combination that was excluded from my original report.
    I hope I made the point clear.
    Another possibility is of course, that the receiving report has additional selection active (in the form used in the dril down report) that were not present in the original report
    Regards
    Nikolas
    Edited by: Nikolas John on Mar 24, 2011 9:21 AM

  • 30:6519:Target application does not exist.

    Hello,
    I want to delete an existing application, but I'm getting the following error "Target application does not exist" and I can't delete neither deploy.
    Do you know what I can do to resolve this issue?
    Regards,
    Rodrigo

    Hello Tod,
    I'm talking about EPMA, version 11.1.1.3.
    I can see the application in EAS and in the Planning Database.
    In the log I'm get the following errors:
    java.util.MissingResourceException: Can't find bundle for base name HspImgs, locale pt_PT
    java.util.MissingResourceException: Can't find bundle for base name HspCustomImgs, locale pt_PT
    java.lang.Exception: APP_NONE_SELECTED
         at HspLogOn.Handle(Unknown Source)
         at HspLogOn.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    As aditional information this happened after I migrate the application artifcats.
    Your help is much appreciated. I don't know what to do.
    Regards,
    Rodrigo

  • Why does my LabVIEW Run-time server return the message "source does not exist Last UI message: Start Execution"?

    I am trying to build a stand-alone application on a target pc for which I have built a LabVIEW server that TestStand can use as an adapter.
    In order to do this, I searched this site and found the topic: "How do I build and Use the LabVIEW Operator Interface as a LabVIEW ActiveX Run-time server?" After following the procedure to the letter, I ran the testexec.exe file as instructed and loaded my sequence file. As soon as I try to "Single Pass" or "Test UUT" I get an error which says "source does not existLast UI message: Start Execution". This error appears when running the testexec.exe file on the target pc or the development pc.
    I have found though, th
    at if I open the Operator interface through the Start: Programs>National Instruments>TestStand>Operator Interfaces>LabVIEW then the sequence file runs without these errors.
    Any ideas why this is happening?

    Hello Robroy,
    The KB you mentioned explaines how to build the LV Operator Interface (OI). So, I assumed you built the LV OI and also configured the LV adapter to use the TestStandGUILVRTS server without problems.
    The error you are getting may be due to missing VIs. In other words, the LabVIEW OI may not be finding all the VIs your sequence is calling.
    In order to deploy sequences that call VIs, you need to first run Tools >> Assemble VIs for Runtime Distribution. This tool gets all the VIs your sequence needs and saves in a separate directory.
    For more information, you may check the TestStand User Manual chapter 17, it describes how to distribute TestStand and sequences.
    Regards,
    Roberto Piacentini
    Applications Engineer
    National Inst
    ruments
    www.ni.com/ask

  • Multiple selection in Query Panel. Operator Does not equal generates error.

    Hi,
    I'm using Jdeveloper 11.1.1.4 and creating Oracle Fusion Web Application with ADF Business Components.
    I want to use multiple selection on LOV in ADF Query Panel with Table, but I get the following error
    when I use operator "Does not equal":
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    A simple example:
    Schema: HR
    Generate default Business Components for tables Departments and Employees.
    Model:
    Create List of Values for EmployeesView(DepartmentId)
    List Data Source: DepartmentsView1
    List Attribute: DepartmentId
    Display Attributes: DepartmentName (UI Hints)
    Create View Criteria EmployeesByDepartmentVC for EmployeesView
    Criteria Item:
    Attribute: DepartmentId
    Operator: Equals
    Operand: Literal
    Select "Support Multiple Value Selection" (UI Hints)
    ViewController:
    Create blank JSF Page: showEmployees.jspx
    Drag EmployeesByDepartmentVC from Data Controls to showEmployees.jspx
    Create Query=>ADF Query Panel with Table
    Run application.
    Press Advanced button.
    Select operator "Does not equal" and department names "Administration;Marketing"
    Press Search
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    Note: it works fine with operator "Equals"
    Best,
    Kees.

    Hi,
    I was reading:
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html#bugs_fixed_in_11.1.2.2.0
    Bugs Fixed in 11.1.2.2.0
    Bug.No. 13508184
    unsupported model type error thrown for multi select view criteria
    I have tested the use case described in this thread with JDeveloper 11.1.2.2.0 but I still get the same error.
    when I use operator "Does not equal":
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    Is there anybody who can tell me more about this bug fix?
    Thanks,
    Kees.

  • Showing Booking amount when it does not equal Opportuity Revenue Total

    I there a way to create a report to easily show where the booking amount of an opportunity does not equal the sum of the products in the product revenue section? I tried Sum(Product revenue), can't quite remeber the field name, but that did not work
    Also, we would like to see any opportunity that has no predict revenue associated with it, either in the same report or a different report.
    Thanks

    David,
    The Opportunity-Product subject areas contain both Opportunity Revenue fields and Opportunit-Product Revenue fields. The Opportunity-Product Revenue field located in Columns/Opportunity-Product/Revenue/Revenue will aggregate the total amount of all products for the opportunity. There is no need to SUM this field.
    Build a report and filter it based on a field that calculates the difference between the two revenue columns and you should get your desired list of opportunities.
    Now that you know where the right fields are, you other report should be a simple filter on the appropriate revenue field = 0
    Mike

  • [svn] 3045: Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'

    Revision: 3045
    Author: [email protected]
    Date: 2008-08-29 10:59:25 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'
    Ticket Links:
    http://bugs.adobe.com/jira/browse/FB-13900
    Modified Paths:
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

    Revision: 3045
    Author: [email protected]
    Date: 2008-08-29 10:59:25 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'
    Ticket Links:
    http://bugs.adobe.com/jira/browse/FB-13900
    Modified Paths:
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

  • Error MSB4057: The target "PlatformPrepareForBuild" does not exist in the project._

    Hi to all,
    I tried to compile my .sln with VS2010 but I had this error.
    error MSB4057: The target "PlatformPrepareForBuild" does not exist in the project.
    It occurs only compiling with win32 configuration but not with x64 one.
    Ideas?
    Thank you in advanced

    In which version of Visual Studio did you create this solution? And What type of the project in this solution? And could you please post the proj file here?
    If this solution is created in VS2012 or VS2013, please make sure the original solution is not corrupt, it can be opened and built successfully in the corresponding Visual Studio. For probable compatibility issues, you could check the documents here:
    Visual Studio 2012 Compatibility
    Visual Studio 2013 Compatibility
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • S_ALR_87013019 -List: Budget/Actual/Commitments Report Error

    Dear All I would like to bring your kind information that while executing the SAP standard T.code: S_ALR_87013019 - List:Budget/Actual/Commitments,we are not able to get the report based on the year wise. As in the SAP release 4.7, when we run the sa

  • XI Queries

    Hi Everybody, I have a few questions on XI, I am new to XI 1)what is PRODUCT?why we wil create PRODUCT?use of product? 2)what is technical system and business system?diference between the two?use of tech system and bus system? 3)for a product y we ar

  • Terms of payment field on 3rd party condition record

    Hello, Does anyone currently utilize the terms of payment field (Payment terms) on the 3rd party condition record?  At this point, it is a field that can be populated and saved to the condition table (KONP) but it does not appear to influence the pur

  • Sales BOM Component not in order

    Hi All, I have created some Sales BOMs. I selected 3 Sales BOMs into Sales Order at one go using the block select. It is displayed without issue when there are no formatted searches setup at Sales Order row level. as shown below. SalesBom-01   SalesB

  • .srf Form ItemUID is invalid from B1DE

    Hi Guys, I've created a .srf form from Screen Painter and I am using the B1DE to develop a solution.  There is no UDF or UDT or UDO in the system and the form is not linked to any of the DataSources...So it is displaying well. I am trying a simple ge