Linking Table between AR to GL

Hi Everyone,
I have transferred all my AR Invoices to GL. Now I want to trace which AR Invoice is linked with which GL entry. Can anyone pl help me by giving the linking tables ??
Thanx in advance.
Regards,

Hi Kiran,
I executed the below query :
select gjjlv.period_name "Period Name"
, gjb.name "Batch Name"
, gjjlv.header_name "Journal Entry For"
, gjjlv.je_source "Source"
,glcc.concatenated_segments "Accounts"
, NVL(gjjlv.line_entered_dr,0) "Entered Debit"
, NVL(gjjlv.line_entered_cr,0) "Entered Credit"
, NVL(gjjlv.line_accounted_dr,0) "Accounted Debit"
, NVL(gjjlv.line_accounted_cr,0) "Accounted Credit"
, gjjlv.currency_code "Currency"
, rctype.name "Trx type"
, rcta.trx_number "Trx Number"
, rcta.trx_date "Trx Date"
, RA.CUSTOMER_NAME "Trx Reference"
, gjh.STATUS "Posting Status"
, trunc(gjh.DATE_CREATED) "GL Transfer Dt"
, gjjlv.created_by "Transfer By"
from apps.GL_JE_JOURNAL_LINES_V gjjlv
, gl_je_lines gje
, gl_je_headers gjh
, gl_je_batches gjb
, ra_customer_trx_all rcta
, apps.ra_customers ra
, apps.gl_code_combinations_kfv glcc
, ra_cust_trx_types_all rctype
where /*gjh.period_name IN ('OCT-2008','NOV-2008')
and */glcc.code_combination_id = gje.code_combination_id
and gjh.je_batch_id = gjb.je_batch_id
and gjh.je_header_id = gje.je_header_id
and gjh.period_name = gjb.default_period_name
and gjh.period_name = gje.period_name
and gjjlv.period_name = gjh.period_name
and gjjlv.je_batch_id = gjh.je_batch_id
and gjjlv.je_header_id = gjh.je_header_id
and gjjlv.line_je_line_num = gje.je_line_num
and gjjlv.line_code_combination_id = glcc.code_combination_id
and gjjlv.line_reference_4 = rcta.trx_number
and rcta.cust_trx_type_id = rctype.cust_trx_type_id
and rcta.org_id = rctype.org_id
and ra.customer_id = rcta.bill_to_customer_id
I also saw that there is no data vailable in view GL_JE_JOURNAL_LINES_V, however I have made number of transfers from AR to GL and posted it.

Similar Messages

  • Link Table between CRM and ERP

    Hi Experts,
    Does anyone knows the link table between CRM and ERP for Contact Person (Buss Part) CRM and Contact Person ERP.
    In my customer system, contacts are automatically duplicated in CRM.
    When you make a change in ERP, this change is automatically done in CRM.
    So I suppose that there is a table between the both systems to find the corresponding number...
    Thank you for your help and hope my English is good enough to understand :o)
    Best regards,
    Luis.

    Hi Micky,
    Thanks for your answer.
    Unfortunatelly, number are differents...
    I move this question to CRM forum ;o)
    Kr,
    Luis.
    This has been solved in this thread:
    Link Table between CRM and ERP
    Edited by: Luis Loredo Marino on Feb 24, 2010 1:24 PM

  • Link table between AP Invoice and AP Downpayment Invoice

    Hi,
    I want to get the link between the table OPCH and ODPO,
    so that I can monitor the cash advances,
    Thank you very much,
    Regards,
    Clint

    Hi Gordon,
    I have tried that already, if we follow the process, First we enter the Downpayment from AP Down module, after that we go to the AP Invoice and we click the button Total Down Payment to call the amount from Downpayment, we cant see the Base Entry and Target entry since both have different module but we can see they must have be a connection since Ap Invoice can call the payment from Downpayment and there must be a connection between them but I cant see how.
    Thank you very much.
    Clint

  • Linking tables between Pages and Numbers

    I would like to link a table in Numbers to Pages so that the table can auto update in Pages when it is changed in Numbers. Anyone know if this is possible?
    thanks!

    This is not possible at the present time.
    Regards,

  • Linking Table Between Database

    How can I link my table to 1 view in other database?
    I know, we can estalish the connection but I don't know how to do that.
    Please help,
    Thank You,

    What do you mean "link"? You can create a database link
    CREATE [PUBLIC] DATABASE LINK database_link_name
      CONNECT TO username_on_remote_machine
      IDENTIFIED BY password_on_remote_machine
      USING 'tns_alias_to_remote_database'and query tables across the database link. You cannot, however, define foreign key constraints across instances, which is a good thing considering the performance implications of doing so.
    Justin

  • V _T702B link table between expnse key and expnse typ

    Hi ,
    I have a question regarding the assignment table for credit card clearing(v_t702b). We have 26 custom expnse typs that are paid by company but I see only few expense keys (around 7) supplied by credit card company like "MEALS....", "CAR.RENTAL.." etc. How do I map all the 26 expense types with only few expense keys(around 7) supplied by credit card company?
    Thanks, Patt

    Umer,
       For example, the credit card key for MEALS...., should be copied to MEALS1...., MEALS2....and MEALS3....etc and assign the custom expense type ZBRKFST to MEALS1.... and ZLUNCH to MEALS2.... and ZDINNER to MEALS3....correct? Then we should tell the credit card company about our assignment of these expense types to their keys MEALS1..., MEALS2.... and MEALS3....
    My question is how will the transaction done by traveller be known as Brkfast, Lunch or Dinner for the credit card company to assign to proper MEALS code and send it back to us? Ex: traveller swipes card at a restaurant for a meal and credit card company will assign it to which expense key MEALS1, 2 or 3? Thanks, Patt

  • Defining Dimensions, Attribute Hierarchies for a Link Table(Many to Many)

    I have 3 Tables in the Database
    Table 1: Transactions (Fact Table) - PK(TransactionId)
    Table 2: Relationship (Dimension1) - PK(Relationship Id), FK_TransactionId, FK_CompanyId, RelationshipType
    Table 3: Companies (Dimension 2) - PK(CompanyId)
    Table 2: Relationship table is a link table between Transactions & Companies to facilitate many to many relationship. 
    I defined Fact and Dimension tables accordingly but having issues defining Dimension & Attributes for Relationship tables
    Relationship Dimension:
    I have 3 hierarchy groups defined
    Hierarchy 1 - Relation -Relationship Type,Relationship Id(PK)
    Hierarchy 2 - Transaction - Transaction, Relationship Id(PK)
    Hiearchy 3 - Company - CompanyId, Relationship Id(PK)
    Defined the attribute relationship in the following way
    RelationshipID(PK) ---> CompanyId , RelationshipID(PK) ---> TransactionId, RelationshipID(PK)
    ---> RelationshipTYpe
    I am getting incorrect results when I deploy the cube. Not all the types are being displayed only 4 types are being displayed out of 27 types though there exists Transactions for all the Types.
    To fix the incorrect results, I tried to break the Relationship Dimension into 2 dimensions seperating Transaction(Relationship Dim) & Company,Type (Companies Dim). I tried to configure a many
    to many Relationship type between my  Companies Dim & Fact Table Transaction. But I get the error that says 
    "Companies Dim many to many dimension in the Tansaction measure group requires that the granularity of the Relationship dimension is lower than that of the Relationship measure group "
    Any help regarding how to difine Dimensions & Attribute Hierarchies on a Many to many link table is appreciated.

    Hi Jaya,
    According to your description, you are experiencing the issue when implement many to many relationship by using a bridge table in your SQL Server Analysis Services project, right?
    Generally, a bridge table will have a surrogate key for the dimension and a surrogate key to the fact table or a degenerate dimension based on the fact table. Here are some blogs which describe how to implement many to many relationship using a bridge
    table.
    http://bifuture.blogspot.com/2011/06/ssaskimball-modeling-nm-relation.html
    http://www.sqlchick.com/entries/2012/1/22/data-modeling-tip-when-using-many-to-many-bridge-tables-in-s.html
    http://social.technet.microsoft.com/wiki/contents/articles/22202.a-practical-example-of-how-to-handle-simple-many-to-many-relationships-in-power-pivotssas-tabular-models.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Linked tables, stored procedures, and locking

    I'm working on an interface between two Oracle systems. I don't know if they're on the same server or not, but they are definitely two different database instances. The plan for this interface is that when a record is created on one of the systems, it will call a stored procedure on the other system to create the record there as well. I believe the relevant information will be passed via parameters to the stored procedure (not by querying the data in the first system). The ID number created on the second system gets passed back to the first system via an output parameter.
    A concern was raised about whether something like this might cause "rev-locking". Similar issues were raised on a different interface, but that interface used a linked table between the two systems. The original design for that interface had a stored procedure initiated from the second system, and it was to update data via the linked table in the first system. But this caused some locking issues. So a different interface was written, that only used the linked table as read-only.
    So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? And a better question is, is there a document or white paper out there somewhere that describes the locking issues between linked databases, and presenting the "best practices" for this type of coding?
    Any help is appreciated!
    Christine Wolak
    [email protected]

    So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? I'm not aware of any issues with updates across databases. can you post a more detail version of what exact issues did you encounter when updating tables across database using database links?
    when you update a row in a table, from the same database or another one, a lock on that row will be placed for the duration of the transaction. Others will be able to read that row but not update it till the end of the local (or the remote) transaction.
    What issue(s) did you encounter?

  • Link Pivot tables between workbooks

    I have two BEx workbooks A and B.  Workbook A has the query data, pivot table and a pivot chart.  I need to create a new Workbook B and link only the pivot table from Workbook A to the Workbook B. 
    Can we link a pivot table between two workbooks?
    Raadooo

    Thanks a lot,  Chivukula !!!
    This is what I got.  I have 5 huge separate queries  saved as workbooks.  Each of these workbook has the query data.  I created pivot table from this data and generated charts in the workbook for each of the seperate queries. 
    But now, I need to join or link only the charts into one workbook, to display a dashboard view.  This dashboard view should have all the charts.
    Since I would like to get the charts as a dynamic pivot charts, I want to link the pivot table from the exisiting workbook to the new workbook.
    Can this be acheived?  If not what is the other possible solution?
    Thanks a lot for your help again!!!!

  • How can I get the difference of  tables between two oracle server?

    We team have 2 oracle servers in the same version.
    one is develop server and the other is priduct server.
    I want to know what is difference in tables define between the two oracle servers.
    give me a method or a step or a sql script or a tool to compare these two set of tables.
    Edited by: Oracle-Sunmeng on Aug 1, 2012 6:36 PM

    Hi Sunmeng,
    Does Database Link exists between Databases ??
    If I am Clear, Are you looking Something like this.
    To Identify the tables difference, you can query the USER_TAB_COLUMNS view.
    SELECT DISTINCT table_name, 'User1' AS user_table
               FROM user_tab_columns
    UNION ALL
    SELECT DISTINCT table_name, 'User2' AS user_table
               FROM user_tab_columns@dblink
           ORDER BY 1;Which gets us all the Tables available in Both User. where you can filter based on what
    you require.
    Similary, you for column difference
    SELECT   table_name, column_name, 'User1' AS user_table
        FROM user_tab_columns
    UNION ALL
    SELECT   table_name, column_name, 'User2' AS user_table
        FROM user_tab_columns@dblink
    ORDER BY 1;If you need to count the no of columns in both Tables of different databases. Then try this,
    SELECT table_name, 'User1' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables b
    UNION ALL
    SELECT table_name, 'User2' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns@dblink a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables@dblink b;And, what the Columns in both tables may be same but, if datatype and length of column differs ?????
    Thanks,
    Shankar
    Edited by: Shankar Viji on Aug 1, 2012 10:47 PM
    Edited by: Shankar Viji on Aug 1, 2012 10:49 PM

  • FBCJC1 and FBN1 linking table and field

    Dear
    I am trying to link fields BELNR from BKPF table and field D_POSTING_NUMB from TCJ_POSITIONS table to get a report for displaying Addl. Text1 column in FBL3N report. 
    BELNR is FI document number field and
    D_POSTING_NUMB is internal document number field generated by the system while doing FBCJ.
    In which table the link between FBCJC1 and FBN1 is stored?   What is the linking table for these two fields.  Early reply is highly solicited.
    Regards

    Hi Arvind,
    I think, there is no one-to-one link between FBCJC1 and FBN1.
    Every posting in Cash Journal will post the CJ document with the next available number in FBCJC1 and similarly the corresponding FI posting will post the FI document with the next available number in the interval in FBN1 assigned to the relevant document type.
    Regards,
    Shilpi

  • 3 way one-to-many through a single link table

    I have 3 tables that are linked through one to many relationships in a single link table. Here's the real relationships:
    assay(id)
    multiplex(id, assays)
    markerset(id, assays, multiplexes)
    Here's the database schema:
    assay(id, name)
    markerset(id, name)
    multiplex(id, name)
    assay_marker_set(assay_id[not null], marker_set_id[not null], multiplex_id[nullable])
    I've mapped one-to-many relationships between markersets and assays, and multiplexes and assays, and BOTH of these one-to-manys need to be writable. In the record creation process, assays are associated with markersets, and then assays are associated with multiplexes, which in turn are associated with markersets.
    Here's our dilemma. When committing multiplexes through a unit of work, the one-to-many with assays can't see the one-to-many with markersets, so the commit fails because the markerset key is null.
    We've gotten around the problem by creating a postSave() method in markerset that writes multiplex changes once they are created. But again, in a unitofwork commit, saving a markerset fires the postSave() method, which writes assays and multiplexes that have not yet been written to the database.
    We've gotten around THAT by only turning on postSave() when creating multiplexes, not when associating assays with markersets.
    My question is, is there a more conventional approach to this problem? Clearly, the database needs to be reworked, but time constraints and the quantity of data to be curated makes changing the schema impossible. Or have we arrived at the most sensible solution to a ridiculous problem? Currently what we have works, it's just incredibly complicated, and nearly unmaintainable.
    Thanks for the time to even read this post, and mocking is permitted ;-)
    Paul Cooper
    GlaxoSmithKline US Bioinformatics

    Looks like your object model does not match your data model.
    From you object model you seem to have,
    Assay
    MarkerSet 1-m Assay, 1-m Multiplex
    Multiplex 1-m Assay
    From your data model you have,
    Assay 1-m AssayMarkerSetAssociation
    MarkerSet 1-m AssayMarkerSetAssociation
    Multiplex 1-m AssayMarkerSetAssociation
    AssayMarkerSetAssociation 1-1 Assay, 1-1 MarkerSet, 1-1 Multiplex
    (your object model seems to be also missing the name)
    I'm not exactly sure how you have your mapping working, but it would seem the best solution is to introduce an AssayMarkerSetAssociation object into your object model.
    If you do not wish to use this object in your model, you could just use it internally to store the relationship and still have get/set methods for the relationships that you want that initialize themselves from the associations.
    So your object model would be,
    Assay
    MarkerSet 1-m AssayMarkerSetAssociation (+ getAssays, getMultiplexes methods)
    Multiplex 1-m AssayMarkerSetAssociation (+ getAssays, method)
    AssayMarkerSetAssociation 1-1 Assay, 1-1 MarkerSet, 1-1 Multiplex
    In general you seem to be able to get your mapping working without changing your object model, but are probably better off for maintainability to change your model slightly.

  • Link table/References table

    Hi folks, looking for some advice, I have the same product supplied by many suppliers the only difference is the price.
    I have a Products table and a Suppliers table was thinking of adding a link table. This will allow the products to have many suppliers i.e. I would only need to enter the products once into the database.
    The problem is each supplier charges a different price for the same product; do I need a price table linked to the SupplierProduct link table?
    Open to ideas
    Ps what is the difference between a Link table and Reference table, to me they are just the same thing?

    Take a look at the AdventureWorks example:
    BusinessEntityID is actually VendorID.
    SQL Server uses the junction table terminology for link (bridge, crossref) table.
    The "Reference" terminology: FOREIGN KEY reference, parent-child tables.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • JPA: how to map a link table

    I have two tables:
    t1(t1_Id, col1, col2, col3)
    t2(t2_Id, col2, col2)
    and a link table
    link_table(t1_Id, t2_Id)
    Relationship between link_table and t1, link_table and t2 is many to one. Enties in link table are updatable.
    Any idea or suggestion about mapping (anotation) in JPA?

    Hello,
    EclipseLink has support for database object-relational datatypes, but they are not supported or exposed through JPA. Instead, you will need to leave it unmapped and then change the mapping, using a customizer to create the mapping described:
    http://wiki.eclipse.org/Introduction_to_Object-Relational_Data_Type_Mappings_(ELUG)#Object-Relational_Data_Type_Array_Mapping
    Best Regards,
    Chris

  • Joining three tables through link tables

    I have three separate tables that are related to each other through two link tables.
    Employees have a many to many relationship with Programs (1 link table)
    Employee + Programs have a many to many relationship with Attributes (The employee attributes depend on the program). This is another link table.
    So, the first link table (emp_prog_lk) has two columns, employee_id and program_id. The second link table has three attributes, employee_id, program_id, and attribute_id.
    The question is, how can I map the Employee object so that I can call getAttributes(Program) and receive the list of attributes for the specified program? Is this even possible without writing custom SQL?
    Thanks.

    How do you want your object model to look? Do you want Employee to simply have a Collection of Attributes? If so, then you're right, I don't think this is possible -- but to me if you'd like this association table between employees and Attributes to have extra info (in this case a Program), then you need to consider and model it in your Object model.
    I.e., when you have a relationship table that has anything other than the PK's of the 2 tables it's relating, then you really need to model that in Java and aren't really able to rely on the java.util.Collection to suffice.
    - Don

Maybe you are looking for