Inclusion of AP_INVOICE_LINES_ALL  table.

In oracle11 to R12 upgrade am editing an sql query on forms in AP module,
Do i need to include the AP_INVOICE_LINES_ALL table in the query? and AP_INVOICES_ALL is already there in the query.

Did you find anything on this? I don't see that anyone responded to your post.

Similar Messages

  • Why ap_invoice_lines_all table added in r12?

    Hi,
    In r12 ap_invoice_lines_all table added, what is the functionality added and what is the use of it.
    Thanks,
    Sreenu

    Hi Sreenu,
    Refer below as well....
    http://ivruksha.com/index.php?option=com_kunena&view=topic&catid=4&id=38&Itemid=58
    Regards,
    Ivruksha

  • Alternate table of AP_INVOICE_LINES_ALL in 11i

    hi 2 all
    I have developed Supplier Statement of Account report in oracle apps r12 and use AP_INVOICE_LINES_ALL table.
    it running fine in R12 , but when i run in 11i , compiler raised error on AP_INVOICE_LINES_ALL table , b/c this table is not
    available in 11i , so plz guide me what is alternate table in 11i ?
    Thanks
    Zulqarnain

    Hi,
    There is no equivalent table of ap_invoice_lines_all of R12 in 11i, this is a new feature/ table structure only in R12. The main table in 11i for AP invoice is ap_invoices_all -> ap_invoice_distributions_all, while in R12 it is ap_invoices_all -> ap_invoice_lines_all -> ap_invoice_distributions_all. The information of the ap_invoice_lines_all in R12 should be available in ap_invoice_distributions_all in 11i.
    For the prepayment, you should be able to get it by using ap_invoice_distributions_all.prepay_distribution_id
    Hope this helps.

  • "Factless" fact table join warning

    We have a physical fact table that only contains keys for a given day in order to track changes to Employment history over time. The compensation "facts" are contained in a dimension that is joined to the factless physical table in the logical layer. I use the factless fact as the table source and inner join it to the dimension to create the logical fact source. This seems to be working fine, but is creating a warning when I check consistency: "There are physical table sources mapped in Logical Table Source [...] that are not used in any column mappings or expressions." Is there a better way to model this in the logical layer that this warning is trying to alert me to?
    Thanks!

    Thank you,
    The error does go away when I insert into the logical fact table the key from the factless physical table. The error is gone whether or not I define the physical column as the Logical fact table key. Will defining it as a logical key change anything?
    I am curious as to why it would want me to include a field in the fact table that will never be used in the presentation layer. Is the warning mainly for accidental inclusion of physical tables that aren't used?
    Thank you for the response. Nice blog by the way.

  • Payable Open Interface Import---Asset Book name is being generated

    Hi,
    I am working on Payables Open Interface Import in R12.
    I am not generating the 'Track as Asset Flag' and 'Asset Book Type Code' fields in Ap_invoice_lines_nterface table.
    And the distribution account is also an Expense account.
    But after the payables open interface import is completed, the asset book name is being populated in ap_invoice_lines_all table.
    and as a result, recoverable and non recoverable tax lines are being created in the ap_invoice_distributions_all table making the invoice total and line total unequal.
    Did any body faced a similar issue?
    Please help....
    this is really very urgent.
    Any queries, please ask me [email protected]
    Thanks in advance,
    Sharmila

    Hi,
    I have raised a SR with Oracle and got following suggestion:
    === ODM Solution /Action Plan ===
    To implement the solution, please execute the following steps:
    1. Download and review the readme and pre-requisites for Patch.9577089:R12.AP.B.
    2. Ensure that you have taken a backup of your system before applying
    the recommended patch.
    3. Apply the patch in a test environment.
    4. Confirm the following file versions:
    120.67.12010000.27 of apiimutb.pls
    You can use the commands like the following:
    strings -a $XX_TOP/filename |grep '$Header'
    5. Retest the issue.
    6. Migrate the solution as appropriate to other environments.
    Will keep you all posted.
    Regards,
    Sharmila

  • SQL Query taking long time....its very urgent !!!

    Hi All,
    Can any body help me out to tune this query... its cost is 62,900.. and thete is full table scan on ap_invoices_all...
    For one invoice ID its taking 20 sccs...
    SELECT /*+ INDEX  ( i2 AP_INVOICES_N8 )  INDEX  ( i1 AP_INVOICES_N8 )   */ DISTINCT ou.name operating_unit,
    NVL(SUBSTR(UPPER(TRANSLATE(i1.invoice_num,'a!@#\/-_$%^&*.','a')),
    1,:P_MATCH_LENGTH),'NomatchKluDge1') match_string,
    UPPER(v.vendor_name) upper_supplier_name,
    i1.invoice_num invoice_number,
    to_char(i1.invoice_date,'DD-MON-YYYY') invoice_date,
    --i1.invoice_date invoice_date,
    NVL(i1.invoice_amount,0) invoice_amount,
    i1.invoice_currency_code currency_code,
    v.segment1 supplier_number,
    v.vendor_name supplier_name,
    ssa.vendor_site_code supplier_code,
    lc.displayed_field invoice_type,
    poh.segment1 po_number,
    (select min(por.release_num)
    from po_releases_all por
    where poh.po_header_id = por.po_header_id) release_num,
    gcc.segment1 location,
    i1.payment_method_code payment_method_code,
    DECODE(LENGTH(TO_CHAR(aca.check_number)),9,aca.check_number,aca.doc_sequence_value) payment_doc_number
    FROM ap_invoices_all i1,
    ap_invoices_all i2,
    ap_suppliers v ,
    ap_supplier_sites_all ssa,
    ap_lookup_codes lc,
    /* (select distinct pha.SEGMENT1, i.PO_HEADER_ID, i.INVOICE_ID
    from ap_invoice_lines_all i
    ,po_headers_all pha
    where pha.PO_HEADER_ID = i.PO_HEADER_ID) poh, */
    po_headers_all poh,
    ap_invoice_lines_all ail,
    ap_invoice_distributions_all aida,
    gl_code_combinations gcc,
    ap_checks_all aca,
    ap_invoice_payments_all ipa,
    hr_all_organization_units ou
    WHERE i1.invoice_id <> i2.invoice_id
    AND NVL(substr(upper(translate(i1.invoice_num,'a!@#\/-_$%^&*.','a')),
    1,:P_MATCH_LENGTH),'NomatchKluDge1')
    = NVL(substr(upper(translate(i2.invoice_num,'a!@#\/-_$%^&*.','a')),
    1,:P_MATCH_LENGTH),'abcdefghijklm')
    --AND i1.creation_date between :p_creation_date_from  and  :p_creation_date_to
    AND i1.cancelled_date IS NULL
    --AND i2.creation_date between  :p_creation_date_from  and  :p_creation_date_to
    AND i2.cancelled_date IS NULL
    AND i1.invoice_amount = nvl(i2.invoice_amount,-1)
    --AND i1.vendor_id      =  i2.vendor_id
    AND i1.vendor_id+0 = i2.vendor_id+0
    AND nvl(i1.vendor_id,-1) = v.vendor_id
    AND i1.invoice_id = aida.invoice_id
    AND aida.distribution_line_number = 1
    AND gcc.code_combination_id = aida.dist_code_combination_id
    AND     lc.lookup_code (+)      = i1.invoice_type_lookup_code
    AND     lc.lookup_type (+)      = 'INVOICE TYPE'
    AND i1.vendor_site_id = ssa.vendor_site_id(+)
    --AND i1.invoice_id = poh.invoice_id (+)
    AND i1.invoice_id = ail.invoice_id
    --AND ail.line_number = 1                                       
    AND aida.INVOICE_LINE_NUMBER = 1
    --AND ail.po_header_id = poh.po_header_id (+)  
    AND ail.po_header_id = poh.po_header_id
    AND ail.INVOICE_ID = aida.INVOICE_ID
    and ail.LINE_NUMBER = aida.INVOICE_LINE_NUMBER
    AND i1.invoice_id = ipa.invoice_id(+)
    AND ipa.check_id = aca.check_id(+)
    AND i1.org_id = ou.organization_id
    and i1.invoice_id = 123456
    ORDER BY upper(v.vendor_name),
    NVL(substr(upper(translate(i1.invoice_num,'a!@#\/-_$%^&*.','a')),
    1,:P_MATCH_LENGTH),'abcdefghijklm'),
    upper(i1.invoice_num);
    Regards
    --Harry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I tried to rewrite this query to format it into something more readable. Since I can't test, this may have introduced syntax errors:
    SELECT /*+ INDEX  ( i2 AP_INVOICES_N8 )  INDEX  ( i1 AP_INVOICES_N8 )   */
           DISTINCT ou.name                             operating_unit,
           NVL(SUBSTR(UPPER(TRANSLATE(i1.invoice_num,
                            'a!@#\/-_$%^&*.','a')),
               1,:P_MATCH_LENGTH),'NomatchKluDge1')     match_string,
           UPPER(v.vendor_name)                         upper_supplier_name,
           i1.invoice_num                               invoice_number,
           to_char(i1.invoice_date,'DD-MON-YYYY')       invoice_date,
           NVL(i1.invoice_amount,0)                     invoice_amount,
           i1.invoice_currency_code                     currency_code,
           v.segment1                                   supplier_number,
           v.vendor_name                                supplier_name,
           ssa.vendor_site_code                         supplier_code,
           lc.displayed_field                           invoice_type,
           poh.segment1                                 po_number,
           (SELECT MIN(por.release_num)
            FROM   po_releases_all por
            WHERE  poh.po_header_id = por.po_header_id) release_num,
           gcc.segment1                                 location,
           i1.payment_method_code                       payment_method_code,
           DECODE(LENGTH(TO_CHAR(aca.check_number)),9,
              aca.check_number,aca.doc_sequence_value)  payment_doc_number
    FROM   ap_invoices_all i1
           INNER JOIN ap_invoices_all i2
             ON   i1.invoice_id = i2.invoice_id
             AND  i1.invoice_amount = NVL(i2.invoice_amount,-1)
             AND  i1.vendor_id+0 = i2.vendor_id+0
           INNER JOIN ap_suppliers v
             ON    NVL(i1.vendor_id,-1) = v.vendor_id
           INNER JOIN ap_lookup_codes lc,
             ON lc.lookup_code  = i1.invoice_type_lookup_code
           INNER JOIN ap_invoice_distributions_all aida
              ON    i1.invoice_id = aida.invoice_id
           INNER JOIN gl_code_combinations gcc
             ON     gcc.code_combination_id = aida.dist_code_combination_id
           INNER JOIN ap_invoice_lines_all ail
             ON     i1.invoice_id = ail.invoice_id
           INNER JOIN po_headers_all poh
             ON     ail.po_header_id = poh.po_header_id
           INNER JOIN hr_all_organization_units ou
             ON     i1.org_id = ou.organization_id
           LEFT JOIN (ap_invoice_payments_all ipa
                       INNER JOIN ap_checks_all aca
                         ON ipa.check_id = aca.check_id)
             ON     i1.invoice_id = ipa.invoice_id
           LEFT JOIN ap_supplier_sites_all ssa,
             ON i1.vendor_site_id = ssa.vendor_site_id
    WHERE  NVL(substr(upper(translate(i1.invoice_num,'a!@#\/-_%^&*.','a')),
                1,:P_MATCH_LENGTH),'NomatchKluDge1')
               = NVL(substr(upper(translate(i2.invoice_num,'a!@#\/-_$%^&*.','a')),
                1,:P_MATCH_LENGTH),'abcdefghijklm')
    AND    i1.cancelled_date IS NULL
    AND    i2.cancelled_date IS NULL
    AND    aida.distribution_line_number = 1
    AND    aida.INVOICE_LINE_NUMBER = 1
    AND    ail.LINE_NUMBER = 1
    AND    lc.lookup_type  = 'INVOICE TYPE'
    AND    i1.invoice_id = 123456
    ORDER BY upper(v.vendor_name),
             NVL(substr(upper(translate(i1.invoice_num,'a!@#\/-_$%^&*.','a')),
              1,:P_MATCH_LENGTH),'abcdefghijklm'),
             upper(i1.invoice_num);I dislike queries in the SELECT clause like the one you have to get RELEASE_NUM. One thing in particular that I see about this on is that this appears to be the only place that anything from the PO_HEADERS_ALL table is used. PO_HEADERS_ALL is only in the query pulled in by the AP_INVOICE_LINES_ALL table. Since the JOIN column used for that is PO_HEADER_ID and that's the same one used in the SELECT clause query, do you really even need the PO_HEADERS_ALL table? This would remove one join at least.
    Your query had "AND aida.INVOICE_LINE_NUMBER = 1" and "AND ail.LINE_NUMBER = aida.INVOICE_LINE_NUMBER". The second needn't reference AIDA, I changed it to "AND ail.LINE_NUMBER = 1". It likely won't make a performance impact, but the SQL is clearer.

  • GoldenGate Replication - Between Schemas On Same Host

    Guys - My requirement is fairly simple.I have two schemas, GG [Source] and GGR [Target] on the same host. Have one table called GG.SYNC_TABLE. I am having difficulties to push data from GG to GGR
    Below are the extract and replicat information
    EXTRACT EXT_AP1
    SETENV (ORACLE_SID=ERPA4)
    RMTHOST mdeagaix825, mgrport 7809
    USERID GG@ERPA4, PASSWORD goldengate1
    DISCARDFILE ./dirrpt/ext_ap1_discard.rpt, append, megabytes 50
    RMTTRAIL ./dirdata/sa
    TABLE GG.AP_AE_HEADERS_ALL;
    TABLE GG.AP_AE_LINES_ALL;
    TABLE GG.AP_BANK_ACCOUNTS_ALL;
    TABLE GG.AP_BANK_BRANCHES;
    TABLE GG.AP_CARDS_ALL;
    TABLE GG.AP_CHECKS_ALL;
    TABLE GG.AP_CREDIT_CARD_TRXNS_ALL;
    TABLE GG.AP_EXPENSE_REPORTS_ALL;
    TABLE GG.AP_EXPENSE_REPORT_HEADERS_ALL;
    TABLE GG.AP_EXPENSE_REPORT_LINES_ALL;
    TABLE GG.AP_EXPENSE_REPORT_PARAMS_ALL;
    TABLE GG.AP_EXP_REPORT_DISTS_ALL;
    TABLE GG.AP_HOLDS_ALL;
    TABLE GG.AP_HOLD_CODES;
    TABLE GG.AP_INVOICES_ALL;
    TABLE GG.AP_INVOICE_DISTRIBUTIONS_ALL;
    TABLE GG.AP_INVOICE_LINES_ALL;
    TABLE GG.AP_INVOICE_PAYMENTS_ALL;
    TABLE GG.AP_NOTES;
    TABLE GG.AP_PAYMENT_HISTORY_ALL;
    TABLE GG.AP_PAYMENT_HIST_DISTS;
    TABLE GG.AP_PAYMENT_SCHEDULES_ALL;
    TABLE GG.AP_POL_VIOLATIONS_ALL;
    TABLE GG.AP_SELF_ASSESSED_TAX_DIST_ALL;
    TABLE GG.AP_SUPPLIERS;
    TABLE GG.AP_SUPPLIER_SITES_ALL;
    TABLE GG.AP_SYSTEM_PARAMETERS_ALL;
    TABLE GG.AP_TERMS_LINES;
    TABLE GG.AP_TOLERANCE_TEMPLATES;
    TABLE GG.SYNC_TABLE;
    REPLICAT REP_AP1
    SETENV (ORACLE_SID=ERPA4)
    USERID GG@ERPA4, PASSWORD goldengate1
    ASSUMETARGETDEFS
    REPORTCOUNT EVERY 1 MINUTES, RATE
    DISCARDFILE ./dirrpt/rep_ap1.dsc, PURGE
    MAP GG.AP_AE_HEADERS_ALL, TARGET GGR.AP_AE_HEADERS_ALL;
    MAP GG.AP_AE_LINES_ALL, TARGET GGR.AP_AE_LINES_ALL;
    MAP GG.AP_BANK_ACCOUNTS_ALL, TARGET GGR.AP_BANK_ACCOUNTS_ALL;
    MAP GG.AP_BANK_BRANCHES, TARGET GGR.AP_BANK_BRANCHES;
    MAP GG.AP_CARDS_ALL, TARGET GGR.AP_CARDS_ALL;
    MAP GG.AP_CHECKS_ALL, TARGET GGR.AP_CHECKS_ALL;
    MAP GG.AP_CREDIT_CARD_TRXNS_ALL, TARGET GGR.AP_CREDIT_CARD_TRXNS_ALL;
    MAP GG.AP_EXPENSE_REPORTS_ALL, TARGET GGR.AP_EXPENSE_REPORTS_ALL;
    MAP GG.AP_EXPENSE_REPORT_HEADERS_ALL, TARGET GGR.AP_EXPENSE_REPORT_HEADERS_ALL;
    MAP GG.AP_EXPENSE_REPORT_LINES_ALL, TARGET GGR.AP_EXPENSE_REPORT_LINES_ALL;
    MAP GG.AP_EXPENSE_REPORT_PARAMS_ALL, TARGET GGR.AP_EXPENSE_REPORT_PARAMS_ALL;
    MAP GG.AP_EXP_REPORT_DISTS_ALL, TARGET GGR.AP_EXP_REPORT_DISTS_ALL;
    MAP GG.AP_HOLDS_ALL, TARGET GGR.AP_HOLDS_ALL;
    MAP GG.AP_HOLD_CODES, TARGET GGR.AP_HOLD_CODES;
    MAP GG.AP_INVOICES_ALL, TARGET GGR.AP_INVOICES_ALL;
    MAP GG.AP_INVOICE_DISTRIBUTIONS_ALL, TARGET GGR.AP_INVOICE_DISTRIBUTIONS_ALL;
    MAP GG.AP_INVOICE_LINES_ALL, TARGET GGR.AP_INVOICE_LINES_ALL;
    MAP GG.AP_INVOICE_PAYMENTS_ALL, TARGET GGR.AP_INVOICE_PAYMENTS_ALL;
    MAP GG.AP_NOTES, TARGET GGR.AP_NOTES;
    MAP GG.AP_PAYMENT_HISTORY_ALL, TARGET GGR.AP_PAYMENT_HISTORY_ALL;
    MAP GG.AP_PAYMENT_HIST_DISTS, TARGET GGR.AP_PAYMENT_HIST_DISTS;
    MAP GG.AP_PAYMENT_SCHEDULES_ALL, TARGET GGR.AP_PAYMENT_SCHEDULES_ALL;
    MAP GG.AP_POL_VIOLATIONS_ALL, TARGET GGR.AP_POL_VIOLATIONS_ALL;
    MAP GG.AP_SELF_ASSESSED_TAX_DIST_ALL, TARGET GGR.AP_SELF_ASSESSED_TAX_DIST_ALL;
    MAP GG.AP_SUPPLIERS, TARGET GGR.AP_SUPPLIERS;
    MAP GG.AP_SUPPLIER_SITES_ALL, TARGET GGR.AP_SUPPLIER_SITES_ALL;
    MAP GG.AP_SYSTEM_PARAMETERS_ALL, TARGET GGR.AP_SYSTEM_PARAMETERS_ALL;
    MAP GG.AP_TERMS_LINES, TARGET GGR.AP_TERMS_LINES;
    MAP GG.AP_TOLERANCE_TEMPLATES, TARGET GGR.AP_TOLERANCE_TEMPLATES;
    MAP GG.SYNC_TABLE, TARGET GGR.SYNC_TABLE;
    Extract, Replicat and Manager processes are running fine. But a commit on target is not propagating the data across to GGR schema. Supplemental logging is enabled. Archiving is not [I hope its not required]. What do you think I am missing here?
    I am fairly new to GoldenGate, Hence if you want me to run any commands, Please provide the commands. Thanks much in advance.

    Duplicate post.

  • Golden Gate Schema Replication

    Guys - My requirement is fairly simple.I have two schemas, GG [Source] and GGR [Target] on the same host. Have one table called GG.SYNC_TABLE. I am having difficulties to push data from GG to GGR
    Below are the extract and replicat information
    EXTRACT EXT_AP1
    SETENV (ORACLE_SID=ERPA4)
    RMTHOST mcdeagaix825, mgrport 7809
    USERID GG@ERPA4, PASSWORD goldengate1
    DISCARDFILE ./dirrpt/ext_ap1_discard.rpt, append, megabytes 50
    RMTTRAIL ./dirdata/sa
    TABLE GG.AP_AE_HEADERS_ALL;
    TABLE GG.AP_AE_LINES_ALL;
    TABLE GG.AP_BANK_ACCOUNTS_ALL;
    TABLE GG.AP_BANK_BRANCHES;
    TABLE GG.AP_CARDS_ALL;
    TABLE GG.AP_CHECKS_ALL;
    TABLE GG.AP_CREDIT_CARD_TRXNS_ALL;
    TABLE GG.AP_EXPENSE_REPORTS_ALL;
    TABLE GG.AP_EXPENSE_REPORT_HEADERS_ALL;
    TABLE GG.AP_EXPENSE_REPORT_LINES_ALL;
    TABLE GG.AP_EXPENSE_REPORT_PARAMS_ALL;
    TABLE GG.AP_EXP_REPORT_DISTS_ALL;
    TABLE GG.AP_HOLDS_ALL;
    TABLE GG.AP_HOLD_CODES;
    TABLE GG.AP_INVOICES_ALL;
    TABLE GG.AP_INVOICE_DISTRIBUTIONS_ALL;
    TABLE GG.AP_INVOICE_LINES_ALL;
    TABLE GG.AP_INVOICE_PAYMENTS_ALL;
    TABLE GG.AP_NOTES;
    TABLE GG.AP_PAYMENT_HISTORY_ALL;
    TABLE GG.AP_PAYMENT_HIST_DISTS;
    TABLE GG.AP_PAYMENT_SCHEDULES_ALL;
    TABLE GG.AP_POL_VIOLATIONS_ALL;
    TABLE GG.AP_SELF_ASSESSED_TAX_DIST_ALL;
    TABLE GG.AP_SUPPLIERS;
    TABLE GG.AP_SUPPLIER_SITES_ALL;
    TABLE GG.AP_SYSTEM_PARAMETERS_ALL;
    TABLE GG.AP_TERMS_LINES;
    TABLE GG.AP_TOLERANCE_TEMPLATES;
    TABLE GG.SYNC_TABLE;
    REPLICAT REP_AP1
    SETENV (ORACLE_SID=ERPA4)
    USERID GG@ERPA4, PASSWORD goldengate1
    ASSUMETARGETDEFS
    REPORTCOUNT EVERY 1 MINUTES, RATE
    DISCARDFILE ./dirrpt/rep_ap1.dsc, PURGE
    MAP GG.AP_AE_HEADERS_ALL, TARGET GGR.AP_AE_HEADERS_ALL;
    MAP GG.AP_AE_LINES_ALL, TARGET GGR.AP_AE_LINES_ALL;
    MAP GG.AP_BANK_ACCOUNTS_ALL, TARGET GGR.AP_BANK_ACCOUNTS_ALL;
    MAP GG.AP_BANK_BRANCHES, TARGET GGR.AP_BANK_BRANCHES;
    MAP GG.AP_CARDS_ALL, TARGET GGR.AP_CARDS_ALL;
    MAP GG.AP_CHECKS_ALL, TARGET GGR.AP_CHECKS_ALL;
    MAP GG.AP_CREDIT_CARD_TRXNS_ALL, TARGET GGR.AP_CREDIT_CARD_TRXNS_ALL;
    MAP GG.AP_EXPENSE_REPORTS_ALL, TARGET GGR.AP_EXPENSE_REPORTS_ALL;
    MAP GG.AP_EXPENSE_REPORT_HEADERS_ALL, TARGET GGR.AP_EXPENSE_REPORT_HEADERS_ALL;
    MAP GG.AP_EXPENSE_REPORT_LINES_ALL, TARGET GGR.AP_EXPENSE_REPORT_LINES_ALL;
    MAP GG.AP_EXPENSE_REPORT_PARAMS_ALL, TARGET GGR.AP_EXPENSE_REPORT_PARAMS_ALL;
    MAP GG.AP_EXP_REPORT_DISTS_ALL, TARGET GGR.AP_EXP_REPORT_DISTS_ALL;
    MAP GG.AP_HOLDS_ALL, TARGET GGR.AP_HOLDS_ALL;
    MAP GG.AP_HOLD_CODES, TARGET GGR.AP_HOLD_CODES;
    MAP GG.AP_INVOICES_ALL, TARGET GGR.AP_INVOICES_ALL;
    MAP GG.AP_INVOICE_DISTRIBUTIONS_ALL, TARGET GGR.AP_INVOICE_DISTRIBUTIONS_ALL;
    MAP GG.AP_INVOICE_LINES_ALL, TARGET GGR.AP_INVOICE_LINES_ALL;
    MAP GG.AP_INVOICE_PAYMENTS_ALL, TARGET GGR.AP_INVOICE_PAYMENTS_ALL;
    MAP GG.AP_NOTES, TARGET GGR.AP_NOTES;
    MAP GG.AP_PAYMENT_HISTORY_ALL, TARGET GGR.AP_PAYMENT_HISTORY_ALL;
    MAP GG.AP_PAYMENT_HIST_DISTS, TARGET GGR.AP_PAYMENT_HIST_DISTS;
    MAP GG.AP_PAYMENT_SCHEDULES_ALL, TARGET GGR.AP_PAYMENT_SCHEDULES_ALL;
    MAP GG.AP_POL_VIOLATIONS_ALL, TARGET GGR.AP_POL_VIOLATIONS_ALL;
    MAP GG.AP_SELF_ASSESSED_TAX_DIST_ALL, TARGET GGR.AP_SELF_ASSESSED_TAX_DIST_ALL;
    MAP GG.AP_SUPPLIERS, TARGET GGR.AP_SUPPLIERS;
    MAP GG.AP_SUPPLIER_SITES_ALL, TARGET GGR.AP_SUPPLIER_SITES_ALL;
    MAP GG.AP_SYSTEM_PARAMETERS_ALL, TARGET GGR.AP_SYSTEM_PARAMETERS_ALL;
    MAP GG.AP_TERMS_LINES, TARGET GGR.AP_TERMS_LINES;
    MAP GG.AP_TOLERANCE_TEMPLATES, TARGET GGR.AP_TOLERANCE_TEMPLATES;
    MAP GG.SYNC_TABLE, TARGET GGR.SYNC_TABLE;
    Extract, Replicat and Manager processes are running fine. But a commit on target is not propagating the data across to GGR schema. Supplemental logging is enabled. Archiving is not [I hope its not required]. What do you think I am missing here?

    No point in doing this if you are not running in archived log mode. If you get behind for whatever reason and GoldenGate has to look further into the past that what is currently in your online redo log, game over.
    Have you tried the tutorial at Oracle Learning Library?
    Another thing - why would you use your GoldenGate user as part of your schema/data replication? That is only asking for trouble and unnecessary complexity.  The GoldenGate schema is used to drive the replication between other schemas, not itself.

  • Field Short Text and long Text not displayed in SKA1 in Se17

    When try to extract chart of account data from SAP using Tcode se17 and table ska1. Short text and G/L acc long text are not displayed where as these are displayed when we use t code se16 and table ska1.
    My client want to use specifically se17 for extracting the data.

    Vineet,
    that's a joke isnt' it ?
    se17 is from SAP-Rel 2.1 or s.th.!
    all jokes aside - the inclusion of text table (here table skat - to table ska1) is only realized with transcations SE16 and SE16N.
    To program this inclusion to se17 is very costly - i think and a modification too!
    hope you can persuade your client
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=iwo3sshliihvcradiegqaw%3d%3d">andreas Mann</a>

  • DB Triggers not firing from folders

    Hi All,
    I have a custom DB trigger on the ap_invoice_lines_all table which fires correctly as expected when I update some fields in the lines region.
    However, it does not fire when updating via a folder.
    Any ideas why it may not do so ?
    Thanks

    However, it does not fire when updating via a folder.Please elaborate.
    You can confirm whether there is any update sql on ap_invoice_lines_all got fired using SQL trace.
    By
    Vamsi

  • Dimensional Modeling Question

    Hello:
    I am new to dimensional modeling and trying to design a model based on the existing OLTP system.
    Below are the links to ERDs for existing OLTP system and a dimension model that I have developed. Can someone expert in this area take a quick look and offer me suggestions please? It won't take much time as the model is simple. I am especially worried about the inclusion of bridge table STORE_DEPARTMENT in the model and the dimension tables referencing other dimension tables. Is this normal or I am doing it wrong? I am trying to check if the model can answer some of the DSS questions but your suggestions would really help me if I am going in a wrong direction.
    Thanks in advance for your help :)
    Regards,
    Ramesh

    Hi,
    There is a trade off on the availability and the Complex analytics.
    A star schema is good if you have the functional requirements really simple. Like the dimension is not SCD Type2 (slowly changing dimension) and you don't need to do "AS IS" vs "AS WAS" reporting.
    In modern Analytics in any domain dimensions are SCD Type 2 as business keep on evolving. In a star schema structure this will cause explosion of data if there are frequent changes at the higher levels of the dimensional hierarchy. That anyway will hit the performance.
    As far as my experience goes, at the data model level it is better to have snow flaked dimensions. and while managing the metadata (in a BI reporting tool) you can consolidate the snowflaked dimensions in star schema structures. That will make ah hoc analytics much simple for the business users.
    A lot of performance measure can be taken to improve the end user experience.
    In short the trend in BI analytics demands to have a snowflaked structure rather than a simple star schema structure.
    Hope this helps.

  • Payables Interface Attribute Values

    We are upgrading to R12 from R11. Currently in R11, we populate the AP_INVOICE_DISTRIBUTIONS_ALL table with DFF values (attributes). These DFF values are flowing through to Projects, which is what we need. (The DFF values are the external system PO numbers, work order numbers, etc.)
    In R12, the Payables Interface populates the DFF in the "AP_INVOICE_LINES_ALL" table. This data is not flowing into the AP_INVOICE_DISTRIBUTIONS_ALL table. Since it is the Distributions table that ultimately flows into Projects. the DFF data is not getting into Projects.
    We need the DFF values to flow from the Payables import interface through Payables and into Projects.
    Is there a way to link the DFF (attributes) on the AP_INVOICE_LINES_ALL table to the AP_INVOICE_DISTRIBUTIONS_ALL? Or, is there another way to get it from the AP Interface and into Projects?
    Thanks in advance for your help.

    so you are importing the invoices correct ?
    If so, then there is a new profile option in R12:
    AP: Copy Invoice Lines Flexfield to Distributions during Import
    Try setting this

  • Find the invoices po wise and non po wise

    hi guys i'm working on oracle 10g r2
    my question is
    i have 2 tables
    ap_invoices_all
    ap_invoice_lines_all
    select invoice_id from ap_invoices_all where invoice_num = '1010'output is
    invoice_id
    100now query 2nd table
    select * from ap_invoice_lines_all where invoice_id = 100output is [assum jus 2 or 3 columns]
    invoice_id-----------line_type------------po_header_id
    100---------------------item-----------------400
    100---------------------tax------------------null
    100---------------------tax-------------------nullmy question is i want to check if ap_invoice_lines_all have po_header_id in respect of invoice_id then it will be show in po_invoices categories
    i have make a query like this
    select * from ap_invoices_all i
    where invoice_num = '1010'
    and exists ( select 1 from ap_invoice_lines_all
    where invoice_id = i.invoice_id and po_header_id is null)above query also shows me the records why?? because ap_invoice_lines_all have 3 lines 2 have null in po_header_id columns ..
    my simple question is i want jus checked in ap_invoice_lines_all table if po_header_id is not null in corresponding invoices then it shows me INVOICES PO_WISE otherwise it cant show in
    INVOICES NON-PO-WISE
    my this test case shows in both ways [INVOCIES PO WISE] and [INVOICES NON-PO WISE] . i want dat record shud be show in INVOICES PO WISE only .
    help

    Pl do not post duplicate threads - how to find po_invoices and non-po_invoices
    Srini

  • Displaying a zero in a field

    Here is how my application works:
    Essentially, I have permit numbers, most of which own tags.
    I want to show a report for each permit number, which lists those tags if they exist. But if the permit does not have tags, the frame with the "Number of Tags Issued" data should report a 0, instead of not showing up at all.
    In my report, I have a group based on a query that selects a COUNT of tags from the join of 2 tables. I display this count in the "Number of Tags Issued" field in a frame that is based on that group.
    Problem: If the count is null, then no row will be returned by the query. Thus the label in the frame will not show up at all. But that is not what I want. I want the field in my frame to display a zero, indicating that there are no tags. I'm not sure how to do that.
    Here is the SQL in my group:
    SELECT COUNT (t.tag_number) Tag_Count, t.tag_status, tow.permit_number
    FROM tag t, tag_owner tow
    WHERE t.tag_number = tow.tag_number
    AND t.order_number = tow.order_number
    AND tow.tag_owner_end_date IS NULL
    GROUP BY t.tag_status, tow.permit_number;
    As you can see, if there simply is no Tag_Count for a given permit number, then no row will return and the frame will not even display.
    Can someone show me how to handle this situation. Thanks.

    Thanks for all of your suggestions. After doing some Metalink research and some trial and error, I discovered that the solution is to:
    1. Create a formula column in my master query. This column is based on a function that uses a SQL query with an outer join. If the given permit has no tags, then the function returns a 0.
    You were essentially on the right track regarding the outer join, but I didn't describe all of the queries in my report, so it was not possible for you to understand the data structure the report is based on, and thus you couldn't get the SQL right.
    To clarify: My master query selects rows from a print_queue table, which contains one row for each report request, as well as from a table called gillnet_vessel. Thus, the formula column had to be created in that query. Notice that the formula column has to reference gillnet_vessel, since it contains the permit numbers -- the inclusion of this table is what lets me do the outer join. The function looks like this:
    function CF_1Formula return Number is
    -- Declare a variable to hold the tag count.
    tag_count NUMBER;
    BEGIN
    -- Return a count of tags. If the given permit number has no tags, then return 0.
    SELECT COUNT (t.tag_number)
    INTO tag_count
    FROM tag t, tag_owner tow, gillnet_vessel gv
    WHERE t.tag_number = tow.tag_number
    AND t.order_number = tow.order_number
    AND gv.permit_number(+) = tow.permit_number
    AND gv.permit_number = :permit_number
    AND tow.tag_owner_end_date IS NULL
    GROUP BY t.tag_status, tow.permit_number;
    RETURN (tag_count);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN(0);
    END;
    2. Create a boilerplate text item with a format trigger that controls when it is displayed. If the formula column returned 0 then display the text item. And the text item's text is of course, '0'. Here is the function in the trigger:
    function B_1FormatTrigger return boolean is
    BEGIN
    IF :CF_Tag_Count = 0 THEN
    RETURN (TRUE);
    ELSE
    RETURN (FALSE);
    END IF;
    END;
    Edited by: Prohan on Sep 15, 2009 1:05 PM

  • R12 - Discard button - what does it do?

    Hello,
    Can someone telll me what the discard button on the lines form is used for? I have read on Oracle support that we need to use it for invoices that have tax or freight lines. Can we still use the reverse button on the distribution form if the invoice only had Item type lines?
    Thanks.

    Hi,
    The Discard button will diacard the invoice line and marks line amount as zero.
    The reverse distribution will be created and distribution total would be zero.
    When invoice line is discarded the DISCARDED_FLAG will be 'Y' and AMOUNT will be zero for that line in AP_INVOICE_LINES_ALL table.

Maybe you are looking for

  • My computer doesn't "see" my iPhone when plugged in

    First, I have an iPhone 4. I have this new computer and I'm having to re-install all my software. When I click "Add files to library", I don't see my plugged-in iPhone in the list of drives, though I hear Windows 7 *bong* when I plug it in. I don't t

  • Opening premiere project in after effects

    I find that when I bring a project I've edited in Premiere into After Effects, a few of the clips don't come over properly. This always happens with a clip that I've flipped horizontally in Premiere -- it is no longer flipped when I open the project

  • I've discovered some bugs in WLM 12

    I have observed some bugs in Windows Live Mail 12.  Where may I post them?

  • Playing back HD DVD content created in FCP

    I have been using FCP for years, creating SD DVD's. I have recently purchased an HD camera (Sony HVR Z1U) This is a completely novice question, but I have to ask; what types of DVD players will support content created from FCP and DVD studio pro HD?

  • Searching for multiple images across different volumes?

    Hi, is there a way or an app that can search for different images across various volumes? I need to locate 200 images for an InDesign file across 3 server volumes. Thanks, Bill