Error in Business Logic Handler

I am getting this error at Subscriber end. Please help.
"Error loading custom assembly "C:\Program Files\Microsoft SQL Server\100\COM\ZIMSReplicationBusinessLogicModule.dll",
Error : "Could not load file or assembly 'C:\\Program Files\\Microsoft SQL Server\\100\\COM\\ZIMSReplicationBusinessLogicModule.dll'
or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)".

sp_enumcustomresolvers
sp_enumcustomresolvers
GlobalViewCalculation 00000000-0000-0000-0000-000000000000
1 C:\Program Files\Microsoft SQL Server\100\COM\ZIMSReplicationBusinessLogicModule.dll
Microsoft.Samples.SqlServer.BusinessLogicHandler.AnimalAuditHandler
Microsoft SQL Server Additive Conflict Resolver
{D2CCB059-65DD-497B-8822-7660B7778DDF} 0
Microsoft SQL Server Additive Conflict Resolver
NULL
Microsoft SQL Server Averaging Conflict Resolver
{91DD61BF-D937-4A21-B0EF-36204A328439} 0
Microsoft SQL Server Averaging Conflict Resolver
NULL
Microsoft SQL Server DATETIME (Earlier Wins) Conflict Resolver
{2FF7564F-9D55-48C0-A4C1-C148076D9119}
0 Microsoft SQL Server DATETIME (Earlier Wins) Conflict Resolver
NULL
Microsoft SQL Server DATETIME (Later Wins) Conflict Resolver
{77209412-47CF-49AF-A347-DCF7EE481277}
0 Microsoft SQL Server DATETIME (Later Wins) Conflict Resolver
NULL
Microsoft SQL Server Download Only Conflict Resolver
{9602B431-2937-4D51-8CC3-11F8AC1EC26D}
0 Microsoft SQL Server Download Only Conflict Resolver
NULL
Microsoft SQL Server Maximum Conflict Resolver
{77209412-47CF-49AF-A347-DCF7EE481277} 0
Microsoft SQL Server Maximum Conflict Resolver
NULL
Microsoft SQL Server Merge Text Columns Conflict Resolver
{0045200C-9126-4432-BC9B-3186D141EB5A}
0 Microsoft SQL Server Merge Text Columns Conflict Resolver
NULL
Microsoft SQL Server Minimum Conflict Resolver
{2FF7564F-9D55-48C0-A4C1-C148076D9119} 0
Microsoft SQL Server Minimum Conflict Resolver
NULL
Microsoft SQL Server Priority Column Resolver
{77209412-47CF-49AF-A347-DCF7EE481277} 0
Microsoft SQL Server Priority Column Resolver
NULL
Microsoft SQL Server Subscriber Always Wins Conflict Resolver
{E93406CC-5879-4143-B70B-29B385BA80C9}
0 Microsoft SQL Server Subscriber Always Wins Conflict Resolver
NULL
Microsoft SQL Server Upload Only Conflict Resolver
{05614E0C-92A9-45F3-84A4-46C8E36424A9} 0
Microsoft SQL Server Upload Only Conflict Resolver
NULL
Microsoft SQLServer Stored Procedure Resolver
{D264B5C0-1300-471A-80C9-9C1FC34A3691} 0
Microsoft SQLServer Stored Procedure Resolver
NULL

Similar Messages

  • Error in Java 'Logical handle no longer valid'

    Created 2 objects and 1 collection in Oracle.
    CREATE TYPE exe_grant_scr_dtls_t AS OBJECT
         grant_id                    VARCHAR2(8),
         option_price               NUMBER(9,4),
         option_type               VARCHAR2(3),
         total_shares               NUMBER(11),
         exercise_details          EXERCISE_SCR_DTLS_LIST
    CREATE TYPE exercise_scr_dtls_list AS TABLE OF exercise_scr_dtls_t
    CREATE TYPE exercise_scr_dtls_t AS OBJECT
         exercise_id               VARCHAR2(20),
         exercise_date          DATE,
         exercise_type          VARCHAR2(15),
         shares_exercised          FLOAT,
         total_option_value     FLOAT,
         exercise_price          FLOAT,
         total_exercise_value     FLOAT,
         gross_proceeds          FLOAT,
         taxes                     NUMBER,
         net_proceeds               FLOAT
    THE OBJECT VIEW For retrieving data for the same is as follows:
    CREATE OR REPLACE VIEW EXE_GRANT_SCR_DTLS_VW of "SSTUSER".EXE_GRANT_SCR_DTLS_T WITH OBJECT IDENTIFIER (grant_id) AS SELECT g.grant_id,
    g.option_price,
         g.option_type,
         g.total_shares,
         CAST(MULTISET(SELECT x.exercise_id,
                                       x.exercise_date,
                                       DECODE(x.exercise_type, 'Same-Day Sale', 'SDS', 'Sell to cover', 'STC', x.exercise_type),
                                       x.shares_exercised,
                                       x.shares_exercised * g.option_price,
                                       x.exercise_price,
                                       x.shares_exercised * x.exercise_price,
                                       x.taxable_income,
                                       x.total_taxes,
                                       nvl(x.taxable_income,0) - nvl(x.total_taxes,0)
                        FROM stockadm.sst_exercise_vw x
                             WHERE x.grant_id = g.grant_id
                        ) AS exercise_scr_dtls_list
    FROM stockadm.sst_grant_vw g
    When we try to access the 'exercise_details' in the readSQL method of the Java object it gives us the error that 'Logical handle no longer valid'. This happens at the following step in ReadSQL.
    Object[] o = (Object[])a.getArray();
    This error occurs when we are using a connection from the Connection pool,. If however, we use the same code, bypassing the Connection pool , the above statement work.
    How can we resolve this issue? We are using Oracle 8i for our application.

    Hi James,
    I basically happens when a connection instance is refered, which was closed by another thread. It depends on the code, how you use connection pooling.
    Post the connection pooling code, so that we can have a look.
    Regards
    Elango.

  • Business Logic Services Error

    I am getting an error - java.lang.NullPointerException - when I go to Business Logic Services.  Any ideas.

    What version of xMII and what version of the client Sun JRE?
    Also make sure you have the Java Web Start preferences set to not use a Proxy on the General tab.
    Regards,
    Jeremy

  • Invalid logic handler error

    Hi to everybody,
    I use this code to obtain a polygon´s coordinates.
    STRUCT st = (oracle.sql.STRUCT) rs.getObject(j+1);
    JGeometry geoData = JGeometry.load(st);
    double [] coordenadas = geoData.getOrdinatesArray();
    valores[j]=""+coordenadas[0];
    for(int k=1;k<coordenadas.length;k++)
    valores[j]=valores[j]+","+coordenadas[k];
    When I execute a exception is thrown and the BD message is:
    "El manejador lógico ya no es válido"
    in English (more o less): "Logic handler is now invalid".
    Any idea?
    Thank you.

    Hello again,
    I think maybe the problem was the metadata, I insert this:
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    VALUES ('LOCALIZACION', 'Poligono',
    SDO_DIM_ARRAY
    (SDO_DIM_ELEMENT('LONG', -180.0, 180.0, 0.5),
    SDO_DIM_ELEMENT('LAT', -90.0, 90.0, 0.5)),
    8307);
    The atributte "Poligono" is a polygon,
    is this correct?
    Thanks.

  • How to display values after doing some business logic in data action

    hi guys i got the same problem but iam unable to display the values..in my display page when iam trying to do some business logic in my data action class..
    can u guys help me out
    iam pasting my code which iam working here
    my struts-config.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
    </form-beans>
    <action-mappings>
    <action path="/inputform" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/inputform.uix">
    <set-property property="modelReference" value="inputformUIModel"/>
    <forward name="success" path="/inputAction.do"/>
    </action>
    <action path="/inputAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="order.view.InputAction" name="DataForm">
    <set-property property="modelReference" value="displaypageUIModel"/>
    <forward name="success" path="/displaypage.do"/>
    </action>
    <action path="/displaypage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/displaypage.uix">
    <set-property property="modelReference" value="displaypageUIModel"/>
    </action>
    </action-mappings>
    <message-resources parameter="order.view.ApplicationResources"/>
    </struts-config>
    my input form uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0" method="post">
    <contents>
    <messageTextInput model="${bindings.password}" text="username"/>
    <messageTextInput model="${bindings.username}" text="password"/>
    <submitButton text="submit" event="success" destination="inputAction.do"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    my display uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <messageStyledText model="${bindings.password}" prompt="Prompt 0"/>
    <messageStyledText model="${bindings.username}" prompt="Prompt 1"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    my model bean
    package order.model;
    public class TestBean
    private String username;
    private String password;
    public TestBean()
    public String getUsername()
    return username;
    public void setUsername(String username)
    this.username=username;
    System.out.println("the username after actions class:"+username);
    public String getPassword()
    return password;
    public void setPassword(String password)
    this.password=password;
    my data Action class
    package order.view;
    import oracle.adf.controller.struts.actions.DataAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.jbo.uicli.binding.JUCtrlActionBinding;
    import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
    import order.model.TestBean;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForward;
    public class InputAction extends DataAction
    * Delegate to the Struts page lifecycle implementation
    * {@link StrutsJspLifecycle#findForward findForward}
    * @param actionContext the lifecycle context for the DataAction
    * @throws Exception
    protected void findForward(DataActionContext actionContext) throws Exception
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    //super.findForward(actionContext);
    TestBean testbean=new TestBean();
    System.out.println("this is action form"+actionContext.getActionForm());
    String username=(String)((JUCtrlAttrsBinding)actionContext.getBindingContainer().findCtrlBinding("username")).getInputValue();
    System.out.println("this is username"+username);
    String username1=username+"hye wats up";
    testbean.setUsername(username1);
    ActionForward forward=actionContext.getActionForward();
    ActionMapping mapping =actionContext.getActionMapping();
    System.out.println("this is mapping"+mapping);
    mapping.findForward("success");
    // To handle an event named "yourname" add a method:
    // public void onYourname(DataActionContext ctx)
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".
    check this out iam unable to display in my display page so help me out if any one can

    No, in this case, I'm using standard JSP with ADF and struts validator.
    If I don't use struts validator and there are errors (such as putting a string into a number which produces a jbo-25009), the list value will be retained.
    When using the validator, it appears that it is NOT retained.
    I've written some code to attempt to set the list element back, which "looks like" it's working right now.
    There's still a problem with the second scenario:
    1. user clicks checkbox and hits [submit]
    2. get's error - you have to enter 5 address items
    3. User wants to backout, so he unchecks the box and resubmits
    4. The box redisplays as "checked"
    SO, at that point, I thought... can't I use YOUR EXAMPLE on how to handle a checkbox.
    I place some code in the reset method of the form to perform this:
    map.put("AddressChangeFlag", (String) "" );
    (that is, I've detected via the request that this flag is null), so I'm trying to make sure it retains it!
    I do that and it runs into a problem during the processUpdateModel aT:
    BindingContainerValidationForm updateForm= (BindingContainerValidationForm) actionContext.getActionForm();
    //Get the binding for our particular column JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get("AddressChangeFlag");
    call, with an error:
    JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.String
    java.lang.String
    The value for updateForm.get("AddressChangeFlag") is "", which I'm assuming means the form field is no longer in the request object??
    I'm lost at this point, and have been working on it for more than 1 day.
    Thanks for responding though, and I await feedback ;)

  • Model Object / Business Logic question

    Hello,
    Question about how to architect the model objects and services in our system. We are defining our own Model Object / Transfer Objects without the use of an ORM tool (long story). Some of these model objects have to maintain Association objects such as:
    public class Teacher {
         private List<StudentAssociation> kids;
    public class StudentAssociation {
         private Teacher teacher;
         private Student student;
         private Date fromDate;
         private Date toDate;
         // Getters / Setters ....
    }My question is, where should the logic be to add, remove student associations? Originally we had it defined in the Teacher model object with:
    public void addStudentAssociation(Student student, Date fromDate, Date toDate);
    public void removeStudentAssociation(Student student, Date fromDate, Date toDate);But I am hesitant to put such logic in the Model Object. I always thought those should be pretty empty of any sort of business logic. Instead I want to have a TeacherService that does that and instead just a getter/setter on the Teacher object for the Association List. However, in doing that, I find I have to create a new List of Associations then call the setAssociations method on the Teacher object, which seems kind of strange.
    Is it bad to put the add/remove method in the model object itself? The remove logic has a bit of business logic in it, so it seems weird being there.

    Not sure I can be of much help, but here's my two cents worth:
    You have a teacher object and student object. A teacher doesnt really have an association with a student. I think you need another object such as a class object. I class has a teacher and the students (an association can be a business association, social association, etc). That same teacher may be assigned to other classes (provided they dont occur at the same time since the teacher cant be in the two classes at the same time. Likewise, for a student. Complicating things is the fact that a teacher of one class may be a student in another class. Also, a class may exist that has students but no assigned teacher yet (your original idea wouldn't be able to handle this since you will need a teacher before you add students). Another case, you have a class without students. Still another case, you have people (either future students, or teaching staff that haven't been assigned as teachers yet), but no classes yet., I think it would be best to figure out a database schema first (you can use Oracle Lite, MySql, etc).
    here is an example:
    Assuming you are putting this in a database I would create tables and fields something like this:
    Person ((a person is either a student or teacher, or just someone that is no longer a student or teacher but may be one day))
    personId not null
    firstname not null
    middleName nullable
    lastname not null
    ssn not null
    Class ( a class is where a teacher teaches students))
    classId not null
    nameOfCourse not null
    building nullable (may not be assigned yet)
    room nullable (may not be assigned yet)
    startDate ((when the class starts)) nullable
    endDate ((when the class ends)) nullable
    teacherId ((this is the parentId from the person table)) nullable
    Students
    personId ((this is the personId from the person table))
    classId
    associations:
    a class has 0 or 1 teacher,
    0 or many students
    a teacherId must exist in the person table as a personId
    a studentId must exist in the person table as a personId
    (if you delete a personId in the person table, it cascades deletes any teacherId or studentId of the same value)
    your class has a collection of students. therefore:
    private List<Student> students
    Your class will also have something like
    addStudent(Student student) (throw exception if student already exists) (note you dont pass in the start and
    end date since its the class's responsibility for start and end date, not student)
    isStudent(Student student) (return true if student is already in class, false if not)
    deleteStudent(Student student) ((returns true if student found and deleted, false if student not found to delete)
    Your business logic can check things such as if the start date occurs before the end date (an error), you have a class with no teacher or no students, etc. The first case you can do in the database with constraints if you want, but the second you cant since you want to store info for a class even if a teacher isn't assigned to it yet.
    One way to do this is to have a validate() function in your class object. The validate() function checks such things as a class with no teacher and returns a collection of warnings if it finds anything wrong. All the above is just something off the top of my head. So there may be some issues with my approach that you will have to work out.
    Good Luck!

  • Problem in creating a callable object of type Business Logic

    Hi SDN,
    I am trying to create a callable object of type Business Logic in CE.
    When I give all information and click Next, I get this error message.
    Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui.co.CExpConfig. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Can anybody help me out with this problem.
    Regards,
    Sumangala

    Hi.
    I'm having the same problem as Senthil in NW2004s SP15 with my application service and methods not showing up in the Callable Object wizard for Composite Application Services after I choose the Endpoint.  The only application name that shows up in the wizard is caf.tc, and the only service names that show up for it are LDDataAccessor, Metadata, and PropPermissionService.
    My IDE is on one machine and the application server I deploy to is located on a different machine.  My endpoint to the remote application server looks to be correctly configured.  The Composite Application Service seems to be deployed properly as I'm able to see it and test that it works in the Web Services Navigator <http://remotehost:50000/wsnavigator/>
    My deployed application service is a remote enabled service and is also web services enabled as well.
    I'm not sure if this is relevant, but I noticed that the generated Java code does not create any remote EJB interfaces (only home and local interfaces were generated).
    Something else I noticed is that when I proceed to the External Service Configuration -> Business Entities screen <http://remotehost:50000/webdynpro/dispatcher/sap.com/cafUIconfiguration>, I only see three business entities displayed, and the following error message is displayed: "Corrupt metadata has been detected. This may prevent some objects from being displayed. Check the server log for more details."  I was unable to find anything in the instance log files.  Is the error message indicative of the problem?
    I am developing locally without a NetWeaver Development Infrastructure (NWDI) in place.
    I'm wondering if the credentials specified in the endpoint require any special roles or privileges.
    Senthil, do any of these additional descriptions apply to you as well?
    Edited by: Ric Leeds on Jun 20, 2008 4:37 PM

  • Z1-015 Error "Enter Business Area" in BAPI_INCOMINGINVOICE_CREATE

    Hi All,<br/><br/>
    Here is a scenario that has totally confused me and I don't know what to do. Any guidance in this area will be highly appreciated.<br/><br/>
    I am using BAPI BAPI_INCOMINGINVOICE_CREATE for MIRO. Our client gets invoices that contains both PO lines and some Non PO lines. For the PO lines I am populating the BAPI_INCINV_CREATE_ITEMDATA table and for the non po lines I am populating the BAPI_INCINV_CREATE_GL_ACCOUNTDATA table. In the structure BAPI_INCINV_CREATE_GL_ACCOUNT I am also populating the Bus_Area field with the Business Area value along with other values. The header Bus_Area is also populated with business area code. <br/><br/>
    However, when I try to post the invoice the bapi return me a message: Z1 015 "Enter Business Area" and the invoice does not get booked in SAP, <br/><br/>
    I have tried searching this forum and also googled about it, but I got no help in this regard. Please help me out in understanding this problem. I am attaching the code below for ease of understanding my problem. I am using SAP .Net Connector for the purpose. However, any guide related to this error (may not be .Net specific) will be appreciated.<br/><br/>
    //objects used for creating the invoice ****<br/>
    BAPI_INCINV_CREATE_ADDRESSDATA Addressdata = new BAPI_INCINV_CREATE_ADDRESSDATA();<br/>
    BAPI_INCINV_CREATE_HEADER Headerdata = new BAPI_INCINV_CREATE_HEADER();<br/>
    BAPI_INCINV_CREATE_ACCOUNTTable Accountingdata = new BAPI_INCINV_CREATE_ACCOUNTTable();<br/>
    BAPI_INCINV_CREATE_ACCOUNT Account = new BAPI_INCINV_CREATE_ACCOUNT();<br/>
    BAPI_INCINV_CREATE_ITEMTable Itemdata = new BAPI_INCINV_CREATE_ITEMTable();<br/>
    BAPI_INCINV_CREATE_GL_ACCOUNTTable Glaccountdata = new BAPI_INCINV_CREATE_GL_ACCOUNTTable();<br/>
    BAPI_INCINV_CREATE_GL_ACCOUNT Glaccount = new BAPI_INCINV_CREATE_GL_ACCOUNT();<br/>
    BAPI_INCINV_CREATE_MATERIALTable Materialdata = new BAPI_INCINV_CREATE_MATERIALTable();<br/>
    BAPIRET2Table InvReturn = new BAPIRET2Table();<br/>
    BAPI_INCINV_CREATE_TAXTable Taxdata = new BAPI_INCINV_CREATE_TAXTable();<br/>
    BAPI_INCINV_CREATE_VENDORSPLITTable Vendoritemsplitdata = new BAPI_INCINV_CREATE_VENDORSPLITTable();<br/>
    BAPI_INCINV_CREATE_WITHTAXTable Withtaxdata = new BAPI_INCINV_CREATE_WITHTAXTable();<br/>
    // ****<br/>
    // populating the header<br/>
    Headerdata.Bus_Area = invoice.BusinessArea;<br/>
    Headerdata.Comp_Code = invoice.CompanyCode;<br/>
    Headerdata.Doc_Date = invoice.InvoiceDate;<br/>
    Headerdata.Doc_Type = "RE";<br/>
    Headerdata.Diff_Inv = invoice.VendorID;<br/>
    Headerdata.Currency = invoice.Currency;<br/>
    Headerdata.Exch_Rate = 1.00M; // to be replaced<br/>
    Headerdata.Gross_Amount = invoice.InvoiceAmount;<br/>
    Headerdata.Header_Txt = "";<br/>
    Headerdata.Invoice_Ind = "X"; // X = Invoice , '' = Credit Memo<br/>
    Headerdata.Inv_Rec_Date = invoice.DateReceived;<br/>
    Headerdata.Pmnttrms = invoice.PaymentTerm;<br/>
    if (invoice.IsMatched == "0")<br/>
        Headerdata.Pmnt_Block = "A"; // in case the IsMatch Status = 0<br/>
    Headerdata.Pstng_Date = invoice.PostingDate;<br/>
    Headerdata.Calc_Tax_Ind = "X";<br/>
    Headerdata.Del_Costs = 0.00M;<br/>
    Headerdata.Ref_Doc_No = invoice.InvoiceNumber;<br/>
    Headerdata.Inv_Year = "0000";<br/><br/>
    // populating the line<br/>
    List<Invoice.LineItem> lines = invoice.LineItems.Where(item => item.PONumber.Trim() != String.Empty).ToList();<br/>
    int itemCount = 0, accSlNo = 0;<br/>
    foreach (Invoice.LineItem line in lines)<br/>
    {<br/>
        itemCount++;<br/>
        string strItemNo = FillCharacter(itemCount.ToString(), "0", 6);<br/>
        BAPI_INCINV_CREATE_ITEM Item = new BAPI_INCINV_CREATE_ITEM();<br/>
        Item.Invoice_Doc_Item = strItemNo;<br/>
        Item.Po_Number = line.PONumber;<br/>
        Item.Item_Amount = line.Amount;<br/>
        Item.Quantity = line.Quantity;<br/>
        Item.Po_Item = FillCharacter(line.PO_LineNo, "0", 5);<br/>
        Item.Po_Unit = line.PO_Unit;<br/>
        Item.Po_Unit_Iso = line.PO_Unit_Iso;<br/>
        Item.Tax_Code = line.TaxCode;<br/>
        Item.Cond_St_No = "000";<br/>
        Item.Cond_Count = "00";<br/><br/>
        Item.Ref_Doc_It = "0000";<br/>
        Item.Ref_Doc_Year = "0000";<br/><br/>
        Item.Po_Pr_Qnt = Convert.ToDecimal(Po_item["Quantity"]);<br/>
        Item.Po_Pr_Uom = Po_item["Orderpr_Un"].ToString();<br/>
        Item.Po_Pr_Uom_Iso = Po_item["Orderpr_Un_Iso"].ToString();<br/><br/>
        Itemdata.Add(Item);<br/><br/>
    }<br/>
    // populating the GL Accounts for the non PO and PM lines where the PO number will be blank<br/>
    List<Invoice.LineItem> nonPOlines = invoice.LineItems.Where(item => item.PONumber.Trim() == String.Empty && item.LineItemType == "L").ToList();<br/>
    itemCount = 0;<br/>
    foreach (Invoice.LineItem line in nonPOlines)<br/>
    {<br/>
        int multiplier = 1;<br/>
        itemCount++;<br/>
        Glaccount = new BAPI_INCINV_CREATE_GL_ACCOUNT();<br/>
        Glaccount.Invoice_Doc_Item = FillCharacter(itemCount.ToString(), "0", 6);<br/>
        Glaccount.Db_Cr_Ind = "S"; // debit<br/>
        Glaccount.Neg_Postng = "";<br/>
        if (line.Amount < 0.00M)<br/>
        {<br/>
            Glaccount.Neg_Postng = "X";<br/>
            Glaccount.Db_Cr_Ind = "H"; // credit<br/>
            multiplier = multiplier * -1;<br/>
        }<br/>
        Glaccount.Comp_Code = invoice.CompanyCode;<br/>
        Glaccount.Item_Text = line.Description;<br/>
        Glaccount.Item_Amount = line.Amount * multiplier;<br/>
        Glaccount.Gl_Account = line.GLCode;<br/>
        Glaccount.Costcenter = line.CC;<br/>
        Glaccount.Profit_Ctr = line.PC;<br/>
        Glaccount.Orderid = line.OrderNo;<br/>
        Glaccount.Tax_Code = line.TaxCode;<br/>
        Glaccount.Bus_Area = line.BA;<br/>
        Glaccount.Person_No = "00000000";<br/>
        Glaccount.Sdoc_Item = "000000";<br/>
        Glaccount.Ref_Date = "00000000";<br/>
        Glaccount.Wbs_Elem = "00000000";<br/>
        Glaccount.Profit_Segm_No = "0000000000";<br/>
        Glaccount.Alloc_Nmbr = line.Assignment;<br/>
        Glaccount.Tr_Part_Ba = line.BA;<br/>
        Glaccount.Activity = "";<br/>
        Glaccount.Acttype = "";<br/>
        Glaccount.Cmmt_Item = "";<br/>
        Glaccount.Cmmt_Item_Long = "";<br/>
        Glaccount.Co_Busproc = "";<br/>
        Glaccount.Costobject = "";<br/>
        Glaccount.Func_Area = "";<br/>
        Glaccount.Func_Area_Long = "";<br/>
        Glaccount.Fund = "";<br/>
        Glaccount.Funds_Ctr = "";<br/>
        Glaccount.Network = "";<br/>
        Glaccount.Rl_Est_Key = "";<br/>
        Glaccount.Sd_Doc = "";<br/>
        Glaccount.Grant_Nbr = "";<br/><br/>
        Glaccountdata.Add(Glaccount);<br/>
    }<br/>
    proxyPOInvoice.Bapi_Incominginvoice_Create(Addressdata, Headerdata, out FiscalYear, out InvoiceNumber,<br/>
        ref Accountingdata, ref Glaccountdata, ref Itemdata, ref Materialdata, ref InvReturn, ref Taxdata, ref Vendoritemsplitdata, ref Withtaxdata);<br/>

    Hi,
    This error was mis leading. If CalculateTax flag is set to 'X' and there is balance in the transaction currency then, instead of giving "Balance in transaction currency" error "Enter Business Area" error comes.
    There must be some logic for SAP to give this error, but it was somewhat misleading. When i removed the flag for CalculateTax="", this error vanished and "Balance in transaction currency" error came. When I retrified that my invoice got booked properly.
    Thanks to all anyway for the responses provided.
    Best Regards
    Sutirtha

  • Future support for using PL/SQL core business logic with ADF BC

    We want to migrate our large Forms client/server (6i) application to ADF, possibly using a migration tool like Ciphersoft Exodus.
    One scenario could be to use ADF BC and ADF-Faces or a different JSF-Implementation for presentation and business layer but keep our heavy PL/SQL-businesslogic inside the Oracle database in packages, triggers, functions and procedures.
    This scenario could be chosen due to the huge amount of interconnected logic inside the database (10 years of development; no technical components; any package may access any table and more of this kind of dependencies). The business logic nowadays held in Forms client will be moved mainly into the database as a prerequisite to this scenario.
    Choosing this "keep-logic-in-DB"-scenario we need a good support by ADF BC to do so. We know and prototyped that it is possible to call some PL/SQL via JDBC from ADF BC and it is possible to use stored procedure calls for standard business entity data access (ins, del, upd, ..). But this does not solve our problems. We want to reuse core business logic coded in PL/SQL. This is much more than change the ADF standard behavior for an update with an own PL/SQL-call.
    Now my question:
    Will there be a kind of sophisticated support to use ADF BC in combination with database-kept logic?
    If so, when will this happen and how will the common problems of transactional state inside the database and inside the ADF BC be solved? Any plans or ideas yet?
    Many other clients do have similar applications built in Forms and PL/SQL and would be glad to hear about a path of direction.
    I've read the technical article 'understanding the ADF BC state management feature' which you have contributed to. One current limitation is pointed out there: Using PL/SQL with ADF BC limits ADF AM pooling to 'restricted level' which reduces scalability.
    Are you aware of additional main problems/tasks to solve when using PL/SQL heavily with ADF BC, which we have to think about?
    Thank you for any response.
    Ingmar

    My main problem is two 'concurrent' areas holding state in an application system based on DB-stored PL/SQL-logic in combination with ADF BC.
    For a new System everything can be made ok:
    Sure, it is possible to build a new system with the business logic included in ADF BC only. All long-living state will be handled in the BC layer ( including support for UnitsOfWork longer than the webside short HTTP-requests and HTTP-sessions and longer than the database transactions.
    For an old system these problems arise:
    1. DB data changes not reflected in BC layer:
    Our PL/SQL-logic changes data in tables without notifying the ADF BC layer (and its cache). To keep the data in ADF BC entity objects identical to the changed database content a synchronization is needed. BC does not know which part of the application data has been changed because it has not initiated the changes through its entity objects. Therefore a full refresh is needed. In a Forms4GL environment the behavior is similar: We do frequently requeries of all relevant (base)tables after calling database stored logic to be sure to get the changed data to display and to operate on it.
    -> Reengineering of the PL/SQL-logic to make the ADF BC layer aware of the changes is a big effort (notifying BC about any change)
    2. longer living database transactions
    Our PL/SQL-logic in some areas makes use of lengthy database transactions. The technical DB-transaction is similar to the UnitOfWork. If we call this existing logic from ADF BC, database state is produced which will not be DB-committed in the same cycle.
    This reduces scalability of ADF BC AM pooling.
    Example:
    a) Call a DB-stored logic to check if some business data is consistent and prepare some data for versioning. This starts a DB-transaction but does not commit it.
    b) Control is handed back to the user interface. Successful result of step a) is displayed
    c) User now executes the versioning operation
    d) Call another DB-stored logic to execute the versioning. DB-transaction is still open
    e) Business layer commits the transaction automatically after successful finishing step d). Otherwise everything from a) to e) is rolled back.
    -> redesign of this behavior (= cutting the 1to1 relation between LogicalUnitOfWork and the technicalDatabaseTransaction is a big effort due to the big amount of code.

  • Problem with Business Logic Services Logic Editor

    Hi,
    I am trying to go to Logic Editor under Business Logic Services. I'm getting error that "Unable to launch xMII"
    Is there any java related problem in my machine?
    Regards,
    Amalesh

    Amalesh,
    What version of xMII are you using 12.0 by chance.  If so goto the Java Web Start -> File -> Preferences -> and set your proxy to "None".  I would not recommend reinstalling Java as this will not solve your problem and if you are on xMII 12.0, the recommended version is 1.4.2_13 as a minimum.
    Regards,
    Erik

  • 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

  • Unable to create Business logic Callable Object

    Hi All,
    We are working on CE 7.1 SDN trial version.
    while creating Business Logic Callble object, it is giving an error: Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui.co.CExpConfig. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Waht is the problem?.
    Thanks
    Sampath

    Hi All,
    when i try to create business logic CO, in Default Trace files it is giving following errrors:
    This callable object type is not deployed on the system: sap.com/cafeueruico~bi
    This callable object type is not deployed on the system: sap.com/cafcoregpuibackgroundco~admin
    This callable object type is not deployed on the system: sap.com/cafcoregpuivisibleco~admin
    This callable object type is not deployed on the system: sap.com/cafeueruico~r3transaction
    This callable object type is not deployed on the system: sap.com/cafeueruico~km
    Do we need to deploy any extra DCs.
    Sampath

  • Urgent: how to really seperate business logic class from data access class

    Hello,
    I've this problem here on my hand and i really need help urgently. so please allow me to thank anyone who replies to this thread =)
    Before i go any futhur, let me present a scenario. this will help make my question clearer.
    "A user choose to view his account information"
    here, i've attempted to do the following. i've tried to seperate my application into 3 layers, the GUI layer, the business logic layer, and the data access layer.
    classically, the GUI layer only knows which object it should invoke, for example in the case above, the GUI would instantiate an Account object and prob the displayAcctInfo method of the Account object.
    here is how my Account class looks like:
    public class Account
    private acctNo;
    private userid;
    private password;
    private Customer acctOwner;
    the way this class is being modelled is that there is a handle to a customer object.
    that being the case, when i want to retrieve back account information, how do i go about retrieveing the information on the customer? should my data access class have knowledge on how the customer is being programmed? ie setName, getName, setAge, getAge all these methods etc? if not, how do i restore the state of the Customer object nested inside?
    is there a better way to archieve the solution to my problem above? i would appriciate it for any help rendered =)
    Yours sincerely,
    Javier

    public class AccountThat looks like a business layer object to me.
    In a large application the GUI probably shouldn't ever touch business objects. It makes requests to the business layer for specific information. For example you might have a class called CustomerAccountSummary - the data for that might come entirely from the Account object or it might come from Account and Customer.
    When the GUI requests information it receives it as a 'primitive' - which is a class that has no behaviour (methods), just data. This keeps the interface between the GUI and business layer simple and makes it easier to maintain.
    When using a primitive there are four operations: query, create, update and delete.
    For a query the gui sets only the attributes in the primitive that will be specifically queried for (or a specialized primitive can be created for this.) The result of a query is either a single primitive or a collection of primitives. Each primitive will have all the attributes defined.
    For a create all of the attributes are set. The gui calls a method and passes the primtive.
    For an update, usually all fields are defined although this can vary. The gui calls a method and passes the primitive.
    For a delete, only the 'key' fields are set (more can be but they are not used.) The gui calls a method and passes the primitive.
    Also keep in mind that a clean seperation is always an idealization. For example verify that duplicate records are not created is a business logic requirement (the database doesn't care.) However, it is much easier and more efficient to handle that rule in the database rather than in the business layer.

  • Logical handle no longer valid

    I am getting the "logical handle no longer valid" SQLException when I reach the point in code marked by
    Object[] oaResults = (Object[])saResults.getArray();
    I can't explain this! I have talked to every Java developer I know without any answers. This code has been in implementation for the last whole year and has been working like a charm. All I changed recently was the Connection Pooling implementation to use Oracle's OracleConnectionCacheImpl class. I have my own FINAPPS_Connection wrapper around it. FINAPPS_Connection acts as a Singleton class.
    All the connection, execution and closure of statements is happening in one method. This method gets connection from the Connection Pool, instantiates FINAPPS_OracleCallableStatement which is a wrapper around OracleCallableStatement class, prepares the OracleCallableStatement, sets and register's parameters, executes the query and reads the results in the STRUCTs returned by the callable statement object. It is fine reading one of the STRUCT, then it breaks down the second struct that contains a String object and an Array object. I am able to read the String object but when it starts to read the Array object, it breaks down and gives me the "Logical handle no longer valid" error.
    Funny thing is, it doesn't happen all the time. It just happens randomly now and then. Sometimes it happens so often that a user can't do anything. In that case, I just try restarting the app server(JRun 3.0) which usually works!
    There is only ONE operation that I do per connection per statement. I only FETCH. I never update or commit or do anything. All I need to do is submit user query and return results to the screen. Thats it. I close the connection and statement object right after I am done with them. So there should be no reason for connection to hang around and I am using one connection for one transaction so there should be no confusion there either.
    Please help!!
    Janmeet.
    try
    //connect to database for stored procedure call
    FINAPPS_Connection m_cCon = connectToDB(hmDBParams);
    //setup up the oracle callable statement
    FINAPPS_OracleCallableStatement m_oCallableStmt = m_cCon.prepareOracleCall(getSpStmt(spName, placeHolder));
    //set and register parameters
    m_cCon.setRegParams(m_oCallableStmt, ht, DbNode);
    /execute stored procedure
    m_cCon.executeSP(m_oCallableStmt, 5);
    //Obtain action Struct
    STRUCT actionStruct = m_oCallableStmt.getSTRUCT(6);
    Object[] actionAttrArray = actionStruct.getAttributes();
    String theAction = (String)actionAttrArray[0];
    logMsg("DatabaseManager.storedProcedure(): Action is: " + theAction, m_bPrintMsg);
    m_sAction=theAction;
    //Output Array
    STRUCT arrayStruct = m_oCallableStmt.getSTRUCT(4);
    Object[] outputAttrArray = arrayStruct.getAttributes();
    String totalDollars = outputAttrArray[1].toString();
    m_htStats.put("TotalDollarAmount", totalDollars.toString());
    Array atrARR = (Array)outputAttrArray[0];
    Array saResults = atrARR;
    int rows = 0, cols = 0;
    String szResult=null;
    Object[] oaResults = (Object[])saResults.getArray();
    rows = oaResults.length;
    //Add the total number of rows in the Statistics Hashtable
    Integer rowsObj = new Integer(rows);
    m_htStats.put("TotalRows", rowsObj.toString());
    StringBuffer sbTemp = new StringBuffer();
    for(int i = 0; i < rows; i++)
    Struct theResult = (Struct)oaResults;
    if (theResult != null)
    Object[] oaAttributes = ((Struct)oaResults).getAttributes();
    cols = oaAttributes.length;
    sbTemp.append("<row>");
    for(int j = 0; j < cols; j++)
    sbTemp.append("<colLabel>");
    sbTemp.append(oaAttributes[j]);
    sbTemp.append("</colLabel>");
    sbTemp.append("</row>");
    szResult = sbTemp.toString();
    sbTemp=null;
    szResult = "<Data>" + getHeader(rows, cols) + szResult + "</Data>";
    setOutputArray(szResult);
    setError(m_oCallableStmt);
    m_oCallableStmt.close();
    m_oCallableStmt=null;
    m_cCon.close();
    }

    Logical handle no longer valid means your connection is stale. When using connection pooling it is sadly all too common to get handed out a connection from the pool that has actually timed out at the server side. If you look at eg the Jakarta Commons GenericDataSource they have a pingQuery property meant to support checking if a connection really is alive before handing it out, for this very reason.
    The oracle pool (last time I used it - a year ago) was pretty bad for this, and didnt provide any api help for marking connections as invalid, or telling the driver how to test for this condition. Its not the only problem with the oracle drivers, or the worst, but at least its easily avoided. Use another connection pool implementation like the jakarta one or tyrex.

  • Business Logic

    HELLO,
    I have gotten into a unique situation while builiding a business logic for below case. Here is how the process/contracts are set up. Fields: CLAIM_ID is unique and in order of the reciept of claim. M_ID is Member_ID. Reserve_Date
    is when Member reserved the Product. Rent_Cost is product rent cost listed in system. Sales Tax is 7% of Rent_Cost. ACC_Rent_Cost is accumulated (rent cost + sales tax), Also can be described as YTD Rent Cost by member by year order by reserve_date, claim_id).
    There are two threshholds in this process. 1. ACC_RENT_COST = $200 2. ACC_M_PAID = $400. The fields needed to be calculated are M_PAID, ACC_M_PAID. ( I believe both have to be calculated together claim by claim for this logic to pull
    correct numbers).
    The terms for M_PAID: Member pays(M_PAID) 75% of the (Rent Cost + Sales Tax) for Product_type: PV6, PV4, DZD. Member pays(M_PAID) 50% of the (Rent Cost + Sales Tax) for all products but PV6, PV4 & DZD. Although, when member's ACC_RENT_COST > 200 THEN
    Member pays(M_PAID) 100% of the (Rent Cost + Sales Tax) UNTIL when member's ACC_M_PAID reaches 400. When ACC_M_PAID reaches 400, on remaining amount and futures claims, member only pays(M_PAID) 10% of (rent cost + sales tax ) if (rent cost + sales tax ) > $10, else member pays (rent cost + sales tax ).
    CO_PAID will be simply (Rent_Cost + Sales_Tax - M_PAID ) per CLAIM.
    Here is walkthrough of M001 from below data:
    Total Claims = 6.
    CLAIM_ID = 1111: M_PAID = ( 25.06 + 1.75 ) * 50% = 13.41               ACC_M_PAID = 0
    CLAIM_ID = 1112: M_PAID = ( 12.06 + 0.84 ) * 50% = 6.45                 ACC_M_PAID = 13.41
    CLAIM_ID = 1113: M_PAID = ( 25.06 + 1.75 ) * 50% = 13.41               ACC_M_PAID = 19.86
    CLAIM_ID = 1114: M_PAID = ( 25.06 + 1.75 ) * 50% = 13.41               ACC_M_PAID = 33.26
    CLAIM_ID = 1115: M_PAID = ( (200(THRESHOLD) - 93.33(ACC_RENT_COST) ) * 75%) + ( ( 125.06 + 8.76 ) - (200(THRESHOLD) - 93.33(ACC_RENT_COST) ) * 100% ) = 107.15                 ACC_M_PAID = 46.67
    CLAIM_ID = 1116: M_PAID = ( ( 400(THRESHOLD) - 153.82(ACC_M_PAID )* 100% ) +  ( ( 525.06 + 36.75 ) - ( 400(THRESHOLD) - 153.82(ACC_M_PAID ) ) ) * 10% )                                  ACC_M_PAID = 153.82Again, it seems as if M_PAID, ACC_M_PAID are dependend on each other because the way M_PAID terms are set up which is what I am unable to build logic for. Anyways, Please let me know if I can provide any more detail. Below is sample
    data and required result.
    --DROP TABLE TMP_COST ;
    CREATE TABLE TMP_COST (
    CLAIM_ID    VARCHAR2(4),
    M_ID    VARCHAR2(4),
    RESERVE_DATE    DATE,
    RENT_COST    FLOAT,
    SALES_TAX   FLOAT,
    M_PAID  FLOAT,
    ACC_M_PAID  FLOAT,
    ACC_RENT_COST   FLOAT,
    CO_PAID FLOAT,
    PRODUCT_TYPE    VARCHAR2(3),
    MEMBER_TYPE     VARCHAR2(3) ) ;
    COMMIT ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1111', 'M001', '21-JAN-2011', 25.06, 1.75, 0, 0, 0, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1112', 'M001', '21-JAN-2011', 12.06, 0.84, 0, 0, 26.81, 0, 'DSD', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1113', 'M001', '23-JAN-2011', 25.06, 1.75, 0, 0, 39.71, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1114', 'M001', '24-JAN-2011', 25.06, 1.75, 0, 0, 66.52, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1115', 'M001', '21-MAR-2011', 125.06, 8.76, 0, 0, 93.33, 0, 'PV4', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1116', 'M001', '21-APR-2011', 525.06, 36.75, 0, 0, 227.15, 0, 'DZD', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1117', 'M002', '21-JAN-2011', 125.06, 8.76, 0, 0, 0, 0, 'PV4', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1118', 'M002', '21-FEB-2011', 1000.06, 70, 0, 0, 133.82, 0, 'PV6', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1119', 'M002', '21-MAR-2011', 25.06, 1.75, 0, 0, 1203.88, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1120', 'M002', '21-APR-2011', 25.06, 1.75, 0, 0, 1230.69, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1121', 'M003', '21-JAN-2011', 5.06, 0.35, 0, 0, 5.41, 0, 'PV1', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1122', 'M003', '21-JAN-2011', 25.06, 1.75, 0, 0, 5.41, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1123', 'M004', '21-JAN-2011', 25.06, 1.75, 0, 0, 0, 0, 'PV3', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1124', 'M005', '21-JAN-2011', 1000.06, 70, 0, 0, 0, 0, 'PV6', 'P' ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, PRODUCT_TYPE, MEMBER_TYPE ) VALUES ( '1125', 'M005', '21-APR-2011', 25.06, 1.75, 0, 0, 1070.06, 0, 'PV3', 'P' ) ;
    COMMIT ;Results
    CLAIM_ID     M_ID     RESERVE_DATE     RENT_COST     SALES_TAX     M_PAID     ACC_M_PAID     ACC_RENT_COST     CO_PAID     PRODUCT_TYPE     MEMBER_TYPE
    1111     M001     01/21/2011 00:00:00     25.06     1.75     13.41     0.00     0.00     13.41     PV3     P
    1112     M001     01/21/2011 00:00:00     12.06     0.84     6.45     13.41     26.81     6.45     DSD     P
    1113     M001     01/23/2011 00:00:00     25.06     1.75     13.41     19.86     39.71     13.41     PV3     P
    1114     M001     01/24/2011 00:00:00     25.06     1.75     13.41     33.26     66.52     13.41     PV3     P
    1115     M001     03/21/2011 00:00:00     125.06     8.76     107.15     46.67     93.33     26.67     PV4     P
    1116     M001     04/21/2011 00:00:00     525.06     36.75     277.75     153.82     227.15     284.06     DZD     P
    1117     M002     01/21/2011 00:00:00     125.06     8.76     100.37     0.00     0.00     33.46     PV4     P
    1118     M002     02/21/2011 00:00:00     1000.06     70     419.69     100.37     133.82     650.37     PV6     P
    1119     M002     03/21/2011 00:00:00     25.06     1.75     2.68     520.06     1203.88     24.13     PV3     P
    1120     M002     04/21/2011 00:00:00     25.06     1.75     2.68     522.74     1230.69     24.13     PV3     P
    1121     M003     01/21/2011 00:00:00     5.06     0.35     2.71     0.00     0.00     2.71     PV1     P
    1122     M003     01/21/2011 00:00:00     25.06     1.75     13.41     2.71     5.41     13.41     PV3     P
    1123     M004     01/21/2011 00:00:00     25.06     1.75     13.41     0.00     0.00     13.41     PV3     P
    1124     M005     01/21/2011 00:00:00     1000.06     70     597.01     0.00     0.00     473.05     PV6     P
    1125     M005     04/21/2011 00:00:00     25.06     1.75     2.68     597.01     1070.06     24.13     PV3     PI appreciate your time.
    Edited by: 788729 on May 14, 2011 5:18 PM

    Hi,
    First, I apoogize. I miscalculated few things and also didn't read full contract. There are few more terms that are included in the contract for the crossover claims(claims that fall in two phases) and few other scenarios/challenges.
    1. PHASE-1: ACC_RENT_COST = $0 to $2840 PHASE-2: ACC_M_PAID = After ACC_RENT_COST - $2840 but before ACC_M_PAID - $4550. PHASE-3: After ACC_M_PAID of $4550. The fields needed to be calculated are M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT.
    ( AGAIN, all these fields are depended on each other especially ACC_RENT_COST AND ACC_M_PAID to determine in what phase the member is in during each claim ). You are a genious. I believe you already know how to resolve that part. Everything should be sorted by CLM_RECIEVE_DATE to CALCULATE ACCUMULATED fields.
    The terms for M_PAID:
    1. Before Phase-1 threshold -- Member pays(M_PAID) MBR_CAP rate based on ITEM_ROW. MBR_CAP are given in below table. These CAP rates apply until ACC_RENT_COST reaches 2840. Please note that for ITEM_ROW 4, member pays
    33% of the (RENT_COST+SALES_TAX).
    2. After Phase-1 but before Phase-2: Member pays(M_PAID) following ways:
    1. If PRODUCT_CODE = P then M_PAID = 93% of the (RENT_COST + SALES_TAX). This is what goes into ACC_M_PAID.
    2. AA - If PRODUCT_CODE = V and LABEL_TYPE starts with 5 (so all 500 series) then M_PAID = ((RENT_COST+SALES_TAX)-(RENT_COST/2)). The remaining RENT_COST/2 goes to MBR_DSCNT. Although
    ENTIRE AMOUNT (M_PAID + MBR_DSCNT) goes into ACC_M_PAID.
    BB - If PRODUCT_CODE = V and LABEL_TYPE doesn't start with 5 then M_PAID = (RENT_COST+SALES_TAX). 0 goes to MBR_DSCNT. This also counts in ACC_M_PAID.
    3. In Phase -3 -- Member pays if PRODUCT_CODE = P then Greater of $2.5 or 5% of remaining or full amount
    if PRODUCT_CODE = V then Greater of $6.30 or 5% of remaining or full amount.
    CO_PAID will simply be ( RENT_COST + SALES_TAX - M_PAID - MBRDSCNT )
    For claims that crossover 2 or more phases, M_PAID will be lesser of 100% of RENT_COST+SALES_TAX. Below is an example for
    Here is walkthrough of M001 from below data:
    Total Claims = 20.
    CLAIM_ID = 1111: M_PAID = $20 (MBR_CAP for ITEM_ROW - 2) -- NO MBR_DSCNT even though LABEL_TYPE starts with 5.( bcz this is in phase 1)
    CLAIM_ID = 1112: M_PAID = ( 60 + ( ( 2840 - 2310.52(ACC_RENT_COST) ) * 93% ) = 130.8 ( there is an error here. 60 is not added in this example but, logic needs to be built as if 60 CAP + 93% on remaining )
    CLAIM_ID = 1113: M_PAID = ( 159 + 1.25 ) * 93% = 149.03
    CLAIM_ID = 1114: M_PAID = ((1.21 + 1.95) - (( 1.21 + 1.95 ) * 50% )) = 2.55 Remaining (1.21+1.95)*50% goes to MBR_DSCNT --Please note that entire M_PAID + MBR_DSCNT goes into ACC_M_PAID.
    CLAIM_ID = 1115: M_PAID = ((14.26 + 1.95 ) * 93% ) = 15.08
    skipping because of same logic
    CLAIM_ID = 1124: M_PAID = ((4550 - 4190.2(ACC_M_PAID))/2 + greater of $6.30 or 5% of ( (2306.2 + 1.25 ) - ((4550 - 4190.2(ACC_M_PAID)) which is 97.38 so total M_PAID = 277.28 Please note that both MBR_DSCNT & M_PAID
    were deducteed to get remaining balance * applied 5% on that.
    CLAIM_ID = 1127 : M_PAID = $2.5 or 5% of (RENT_COST + SALES_TAX). In this case, $2.5 is greater so M_PAID = $2.5
    Again, I really really appreciate your time and effort. I hope this is great challenege and learning experience for you. If you have any questions, please let me know. Sorry agaoin for incomplete info on previous post.
    DROP TABLE TMP_COST ;
    CREATE TABLE TMP_COST (
    CLAIM_ID    VARCHAR2(4),
    M_ID    VARCHAR2(4),
    CLM_RECEIVE_DATE    VARCHAR2(255),
    LABEL_TYPE  VARCHAR2(3),
    PRODUCT_CODE  VARCHAR2(1),
    ITEM_ROW    VARCHAR2(1),
    RESERVE_DATE    DATE,
    RENT_COST    FLOAT,
    SALES_TAX   FLOAT,
    M_PAID  FLOAT,
    ACC_M_PAID  FLOAT,
    ACC_RENT_COST   FLOAT,
    CO_PAID FLOAT,
    MBR_DSCNT   FLOAT,
    MBR_CAP FLOAT ) ;
    COMMIT ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1111', 'M001', '2011-01-05-16.31.47.000000', '551', 'V', '2', '04-JAN-2011', 2306.2, 1.25, 0, 0, 0, 0, 0, 20 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1112', 'M001', '2011-01-07-19.17.26.000000', '221', 'P', '3', '04-JAN-2011', 668.88, 1.25, 0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1113', 'M001', '2011-01-07-19.18.05.000000', '223', 'P', '3', '04-JAN-2011', 159, 1.25, 0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1114', 'M001', '2011-01-14-18.47.44.000000', '551', 'V', '1', '14-JAN-2011', 1.21, 1.95, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1115', 'M001', '2011-01-19-23.02.32.000000', '279', 'P', '1', '19-JAN-2011', 14.26, 1.95, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1116', 'M001', '2011-02-08-16.44.54.000000', '297', 'P', '3', '08-FEB-2011', 668.88, 1.25, 0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1117', 'M001', '2011-02-08-16.45.25.000000', '288', 'P', '3', '08-FEB-2011', 159, 1.25, 0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1118', 'M001', '2011-02-08-16.46.24.000000', '287', 'P', '1', '08-FEB-2011', 5.44, 1.25, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1119', 'M001', '2011-02-08-16.47.54.000000', '553', 'V', '2', '08-FEB-2011', 2306.2, 1.25, 0, 0, 0, 0, 0, 20 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1120', 'M001', '2011-02-15-14.25.54.000000', '501', 'V', '1', '15-FEB-2011', 2.42, 1.95, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1121', 'M001', '2011-03-02-16.46.15.000000', '289', 'P', '3', '02-MAR-2011', 668.88, 1.25, 0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1122', 'M001', '2011-03-02-16.48.52.000000', '268', 'P', '3', '02-MAR-2011', 159, 1.25, 0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1123', 'M001', '2011-03-02-16.50.46.000000', '267', 'P', '1', '02-MAR-2011', 5.44, 1.25, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1124', 'M001', '2011-03-02-16.52.11.000000', '564', 'V', '2', '02-MAR-2011', 2306.2, 1.25, 0, 0, 0, 0, 0, 20 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1125', 'M001', '2011-03-08-05.20.54.000000', '227', 'P', '1', '08-MAR-2011', 14.26, 1.95, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1126', 'M001', '2011-03-23-18.00.36.000000', '551', 'V', '2', '23-MAR-2011', 2306.2, 1.25, 0, 0, 0, 0, 0, 20 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1127', 'M001', '2011-03-23-18.18.17.000000', '254', 'P', '1', '23-MAR-2011', 5.44, 1.25, 0, 0, 0, 0, 0, 0 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1128', 'M001', '2011-03-23-18.21.32.000000', '241', 'P', '3', '23-MAR-2011', 668.88, 1.25,  0, 0, 0, 0, 0, 60 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1129', 'M001', '2011-03-23-18.23.38.000000', '246', 'P', '4', '23-MAR-2011', 159, 1.25, 0, 0, 0, 0, 0, 0.33 ) ;
    INSERT INTO TMP_COST ( CLAIM_ID, M_ID, CLM_RECEIVE_DATE, LABEL_TYPE, PRODUCT_CODE, ITEM_ROW, RESERVE_DATE, RENT_COST, SALES_TAX, M_PAID, ACC_M_PAID, ACC_RENT_COST, CO_PAID, MBR_DSCNT, MBR_CAP ) VALUES ( '1130', 'M001', '2011-03-28-16.05.06.000000', '599', 'V', '4', '25-MAR-2011', 155.38, 1.95, 0, 0, 0, 0, 0, 0.33 ) ;
    COMMIT ;Results:
    CLAIM_ID     M_ID     CLM_RECEIVE_DATE     LABEL_TYPE     PRODUCT_CODE     ITEM_ROW     RESERVE_DATE     RENT_COST     SALES_TAX     M_PAID     ACC_M_PAID     ACC_RENT_COST     CO_PAID     MBR_DSCNT
    1111     M001     2011-01-05-16.31.47.000000     551     V     2     01/04/2011 00:00:00     2306.2     1.25     20     0     0     2287.45     0
    1112     M001     2011-01-07-19.17.26.000000     221     P     3     01/04/2011 00:00:00     668.88     1.25     130.8     20     2310.52     539.33     0
    1113     M001     2011-01-07-19.18.05.000000     223     P     3     01/04/2011 00:00:00     159     1.25     149.03     150.8     2980.65     11.22     0
    1114     M001     2011-01-14-18.47.44.000000     551     V     1     01/14/2011 00:00:00     1.21     1.95     2.55     299.83     3140.9     0     0.61
    1115     M001     2011-01-19-23.02.32.000000     279     P     1     01/19/2011 00:00:00     14.26     1.95     15.08     306.36     3147.68     1.13     0
    1116     M001     2011-02-08-16.44.54.000000     297     P     3     02/08/2011 00:00:00     668.88     1.25     623.22     321.44     3163.89     46.91     0
    1117     M001     2011-02-08-16.45.25.000000     288     P     3     02/08/2011 00:00:00     159     1.25     149.03     944.66     3834.02     11.22     0
    1118     M001     2011-02-08-16.46.24.000000     287     P     1     02/08/2011 00:00:00     5.44     1.25     6.22     1093.69     3994.27     0.47     0
    1119     M001     2011-02-08-16.47.54.000000     553     V     2     02/08/2011 00:00:00     2306.2     1.25     1154.35     1099.91     4000.96     0     1153.1
    1120     M001     2011-02-15-14.25.54.000000     501     V     1     02/15/2011 00:00:00     2.42     1.95     3.16     3407.36     6308.41     0     1.21
    1121     M001     2011-03-02-16.46.15.000000     289     P     3     03/02/2011 00:00:00     668.88     1.25     623.22     3411.73     6312.78     46.91     0
    1122     M001     2011-03-02-16.48.52.000000     268     P     3     03/02/2011 00:00:00     159     1.25     149.03     4034.95     6982.91     11.22     0
    1123     M001     2011-03-02-16.50.46.000000     267     P     1     03/02/2011 00:00:00     5.44     1.25     6.22     4183.98     7143.16     0.47     0
    1124     M001     2011-03-02-16.52.11.000000     564     V     2     03/02/2011 00:00:00     2306.2     1.25     277.28     4190.2     7149.85     1850.27     179.9
    1125     M001     2011-03-08-05.20.54.000000     227     P     1     03/08/2011 00:00:00     14.26     1.95     2.5     4550     9457.3     13.71     0
    1126     M001     2011-03-23-18.00.36.000000     551     V     2     03/23/2011 00:00:00     2306.2     1.25     115.37     4550     9473.51     2192.08     0
    1127     M001     2011-03-23-18.18.17.000000     254     P     1     03/23/2011 00:00:00     5.44     1.25     2.5     4550     11780.96     4.19     0
    1128     M001     2011-03-23-18.21.32.000000     241     P     3     03/23/2011 00:00:00     668.88     1.25     33.51     4550     11787.65     636.62     0
    1129     M001     2011-03-23-18.23.38.000000     246     P     3     03/23/2011 00:00:00     159     1.25     8.01     4550     12457.78     152.24     0
    1130     M001     2011-03-28-16.05.06.000000     599     V     3     03/25/2011 00:00:00     155.38     1.95     7.87     4550     12618.03     149.46     0Edited by: 788729 on May 14, 2011 5:20 PM

Maybe you are looking for

  • Help!! My linked text file disappears from the links palette

    I've set my preferences so that InDesign creates a link when placing text and spreadsheet files, and when I first place the file it appears in the Links palette just fine. However, as soon as I make a change in the original text file, it disappears f

  • Wi-Fi Low Connectivity - unable to join any network

    I have an Ipod touch, which was working beautifully until about 2 days ago. Wi-fi connection was great (3 bars) and there were no problems at all. Almost overnight, my wifi connectivity seems to have disappeared (now 1 bar) and any network that I had

  • Why can't I open documents stored in the Documents app on my iPad 2

    WWhy can't I open documents stored in my Documents app, originally sent to me as email attachments

  • Add a input field

    *Hi all experts* *i want to know the procedure of adding a new input field for Maintain field status for field selection string* *in funds managements define field selection string* *regards* *archana*

  • Gmrun always on top

    There is this problem when starting multiple apps in a fast sequence that the gmrun window loses focus when the program is launched. Is there a way to make the gmrun dialog be always on top? I have tried combining the ToggleAlwaysOnTop switch in the