Performing Quick Match Programmatically

Hi Experts,
I 've a requirement to perform quick match of AP Invoices with POs programmatically. Here is the scenario:
1) Invoice is imported through an external source
2) Invoice has only one line (equal to the sum of "ITEM" type line amounts on the PO)
3) My approach is to invoke the ap_matching_pkg.quick_match_line_generation seeded API to generate the invoice lines matching the PO lines and then invoke the AP_MATCHING_UTILS_PKG.MATCH_INVOICE_LINE for the invoice lines that have the PO number set.
I 'am facing the following exception while invoking the ap_matching_pkg.quick_match_line_generation and I 'am not able to proceed further.
ORA-20001: APP-SQLAP-10000: ORA-00001: unique constraint (AP.AP_INVOICE_LINES_U1) violated occurred in
Generate_Lines_For_QuickMatch<-Quick_Match_PO_RCV<-CUSTOM_PO
with parameters ( invoice_id = 362527, match option = P)
Any inputs on where I 'am going wrong will be immensely helpful.
Thanks,
Ganapathi

Hi and welcome to the forum.  
Unfortunately, I understand your frustration.
The best advise I can give is a particular way to try and enter a Quick Match room.
When you choose your event, it will then start to load and a white flag will cross the screen.
This is followed a few seconds later by a second white flag.
As soon as second white flag crosses the screen, hit the 'X' button.
(Essentially you are hitting 'X' on the 'warmup' option even before it appears on screen)
For whatever reason, I find this helps to successfully load into a Quick Match event.

Similar Messages

  • HT204406 help! cannot perform Itunes Match function

    I've owned a iMac for 2 years. Itunes match function used to perform correctly, until about a month ago. My softwares are up to date, including Lion I just installed successfully. Itunes version is the latest.
    When I try to perform Itunes match: Step 1 completes correctly, but NOT step 2. Step 2 stops, then loops back into step 1, and again and again ( loop..)
    Makes me a little sad...
    Anyone to help?

    never mind...just needed to restart the phone...seems to be working now...

  • Adding Quick Parts Programmatically Using Word Office Model

    I need to add Document ID Value quickpart to a very large number of existing documents and I would like to make a program to do so.  I'm afraid googling the issue has left me a little confused.  As far as I can tell, the rough form of the footer-insertion
    part of the solution (in C#) looks something like this:
    Word.Application iWord = new Word.Application();
    Word.Document iDoc = iWord.Documents.Open(savePath);
    foreach (Word.Section wordSection in iDoc.Sections)
    Word.Range footerRange = wordSection.Footers[Word.WdHeaderFooterIndex.wdHeaderFooterPrimary].Range;
    footerRange.DoSomething()
    iDoc.Save();
    But I can't seem to figure out the details of DoSomething().  
    Please note that it must be the dynamic field, equivalent to Design->Quick Parts->Document Property->Document ID Value, not simply text.
    Thanks!

    The quickparts listed in the Document Property dropdown are either the standard ones (corresponding to standard builtin document properties such as Author), the "newer" Cover Page ones, or columns in a SharePoint document library. (If yours is
    something else, please let us know).
    So I assume that yours is a "SharePoint column." If not, the rest of this message is unlikely to help.
    If so, there is no simple facility in the Word Object Model to replicate exactly what happens when you insert that quick part from the Document Property menu. To do it in code, you have to 
     a. insert the right kind of content control (probably a plain text one in this case) and give it a suitable Title/Tag
     b. connect it to the correct element in the Custom XML data store.
    I have the starting point of some VBA code for that (see below). You'd obviously need to adapt it for C# and to insert at a range rather than the selection.
    The only other aproach I know would be
     a. manually insert a copy of the content control that you want and adjust its properties as required
     b. make a copy of that somewhere where you can retrieve and use it programmatically (e.g. create a new building block/glossary entry or some such)
     c. programmatically insert that wherever you need it
    However, in that case, you will need to be sure that the same namespace GUID is used for the property in all your documents. If, for example, someone has created a separate "Document ID" column in a number of different document libraries, each
    Document ID may have a different namespace GUID. If the Document ID column is a site column and all the documents are on the same site or have come from the same site, they may share a namespace GUID. 
    FWIW the code I have for getting Xpath and value information given a property name is as follows. It was orignally written to try to deal with a particular
    type of property that I hope you don't have to deal with :-)
    Sub TESTinsertCC()
    ' Put a property name in here instead of "col1text" and see if you
    ' get a viable Content Control at the Selection
    Debug.Print insertCC(Selection.Range, "col1text").XMLMapping.XPath
    End Sub
    Function insertCC(theRange As Word.Range, ContentTypeItemName As String) As ContentControl
    'Dim cc As Word.ContentControl
    Set insertCC = theRange.ContentControls.Add(wdContentControlText)
    With insertCC
    .XMLMapping.SetMapping getDIPPropXPath(theRange.Document, ContentTypeItemName)
    End With
    'Set cc = Nothing
    End Function
    Function getDIPPropXPath(TheDocument As Word.Document, _
    ContentTypeItemName As String) As String
    ' Attempts to retrieve the display value of a ContentTypeProperty that
    ' cannot be returned directly using the MetaProperty.Value property
    ' TheDocument is the Word document containing the properties
    ' ContentTypeItemName is the displayName of the item
    ' Assume we cannot get this item from the MetaAttribute Value
    ' because VBA does not recognise the Variant Type or content
    ' Two ways we could do it:
    ' a. get the Custom XML Part that contains the data and iterate
    ' through the nodes until we find the one we need.
    ' b. get the Custom XML part the contains the schema(s) and
    ' retrieve the XML Element name and Namespace name, then
    ' get the Custom XML part that contains the schema(s) and
    ' retrieve the 1st sub-element of the element.
    ' This attempts (b). Lots of assumptions, including
    ' - the namespace name of the schema and data parts are fixed
    ' and there is either only one Custom XML Part with that
    ' name or the first one is the one we want
    ' - the leaf element of the first sub-branch of the element
    ' But there are assumptions in (a), too, e.g. that there
    ' aren't two complex items in the DIP with the same name but
    ' different namespaces.
    ' Can almost certainly be improved by inspecting the other
    ' properties in the schema to identify precisely which type
    ' of property we are dealing with. Unfortunately, even this does
    ' not appear to be reliably available from the COntentTypeProperties
    ' info.
    Const SchemaPartNamespaceURI As String = _
    "http://schemas.microsoft.com/office/2006/metadata/contentType"
    Const DataPartNamespaceURI As String = _
    "http://schemas.microsoft.com/office/2006/metadata/properties"
    ' Do everything step by step for explanation and debugging
    Dim cxnDataElement As Office.CustomXMLNode
    Dim cxnsDataElement As Office.CustomXMLNodes
    Dim cxnSchemaElement As Office.CustomXMLNode
    Dim cxnsSchemaElement As Office.CustomXMLNodes
    Dim cxpData As Office.CustomXMLPart
    Dim cxpSchema As Office.CustomXMLPart
    Dim cxpsData As Office.CustomXMLParts
    Dim cxpsSchema As Office.CustomXMLParts
    Dim strDataXPath As String
    Dim strElementName As String
    Dim strElementNamespaceURI As String
    Dim strPrefix As String
    Dim strResult As String
    Dim strSchemaXPath As String
    Debug.Print "TheDocument: " & TheDocument.FullName
    Debug.Print "ContentTypeItemName: " & ContentTypeItemName
    strResult = ""
    Set cxpsSchema = TheDocument.CustomXMLParts.SelectByNamespace(SchemaPartNamespaceURI)
    If cxpsSchema.Count = 0 Then
    MsgBox "Error: Schema CXP not found or does not have the expected Namespace URI"
    Else
    If cxpsSchema.Count > 1 Then
    Debug.Print "Warning: more than one CXP with the expected Schema Namespace URI." & _
    " Using the first."
    End If
    Set cxpSchema = cxpsSchema(1)
    'Debug.Print cxpSchema.XML
    strSchemaXPath = "//xsd:element[@ma:displayName='" & ContentTypeItemName & "']"
    Debug.Print "Schema XPath: " & strSchemaXPath
    Set cxnsSchemaElement = cxpSchema.SelectNodes(strSchemaXPath)
    If cxnsSchemaElement.Count = 0 Then
    MsgBox "Error: Could not find the schema element that defines the element."
    Else
    If cxnsSchemaElement.Count > 1 Then
    Debug.Print "Warning: more than one Schema Element that defines the element."
    End If
    Set cxnSchemaElement = cxnsSchemaElement(1)
    ' don't test for node existence at this point
    'Debug.Print cxnSchemaElement.XML
    strElementName = cxnSchemaElement.SelectSingleNode("@name").Text
    Debug.Print "Actual Element Name: " & strElementName
    strElementNamespaceURI = cxnSchemaElement.ParentNode.SelectSingleNode("@targetNamespace").Text
    Debug.Print "Element Namespace URI: " & strElementNamespaceURI
    Set cxnSchemaElement = Nothing
    End If
    Set cxnsSchemaElement = Nothing
    Set cxpSchema = Nothing
    ' Now look for the item in the Custom XML part that contains the data
    Set cxpsData = TheDocument.CustomXMLParts.SelectByNamespace(DataPartNamespaceURI)
    If cxpsData.Count = 0 Then
    MsgBox "Error: Data CXP not found or does not have the expected Namespace URI"
    Else
    If cxpsData.Count > 1 Then
    Debug.Print "Warning: more than one CXP with the expected Data Namespace URI." & _
    " Using the first."
    End If
    Set cxpData = cxpsData(1)
    'Debug.Print cxpData.XML
    ' Get the prefix for the Element's namespace.
    ' Note that this may be different from any prefix
    ' you may see if you inspect the Part's XML
    strPrefix = cxpData.NamespaceManager.LookupPrefix(strElementNamespaceURI)
    Debug.Print "Data Prefix: " & strPrefix
    ' retrieve any elements with that prefix and the internal XML
    ' property name
    ' not sure this "if" is ever needed or would be effective
    If strPrefix = "" Then
    strDataXPath = "//" & strElementName
    Else
    strDataXPath = "//" & strPrefix & ":" & strElementName
    End If
    Debug.Print "Data XPath: " & strDataXPath
    Set cxnsDataElement = cxpData.SelectNodes(strDataXPath)
    If cxnsDataElement.Count = 0 Then
    MsgBox "Error: Could not find the data element."
    Else
    If cxnsDataElement.Count > 1 Then
    Debug.Print "Warning: more than one Data Element. Using the first."
    End If
    Set cxnDataElement = cxnsDataElement(1)
    ' May need to drill down further
    'Debug.Print cxnDataElement.XML
    While cxnDataElement.HasChildNodes
    Set cxnDataElement = cxnDataElement.FirstChild
    Wend
    strResult = cxnDataElement.Text
    Set cxnDataElement = Nothing
    End If
    Set cxpData = Nothing
    Set cxnsDataElement = Nothing
    End If
    Set cxpsData = Nothing
    End If
    Set cxpsSchema = Nothing
    'getDIPPropValue2 = strResult
    getDIPPropXPath = strDataXPath
    End Function
    Peter Jamieson

  • Anybody got SCD Type 2's to perform quickly using dimension operator

    Hi there,
    Hitting major performance problems running mappings to populate SCD Type 2's when they have large amounts of pre-existing data.
    Anybody got this performing acceptably? Tried indexing but to no avail.
    Many Thanks

    Hi there,
    Thanks for getting back to me - found the patch and this patch hasd already been applied.
    An example of the sql being generated in a really simple mapping with the dimension operator for small tables is as follows
    MERGE
    /*+ APPEND PARALLEL("NS_0") */
    INTO
    "RETAILER_PUBLISHER_NS"
    USING
    (SELECT
    "MERGE_DELTA_ROW_0"."NS_OUTLET_SRC_ID$1" "NS_OUTLET_SRC_ID",
    "MERGE_DELTA_ROW_0"."NS_PUBLISHER_CODE$1" "NS_PUBLISHER_CODE",
    "MERGE_DELTA_ROW_0"."NS_TITLE_CLASSIFICATION_CODE$1" "NS_TITLE_CLASSIFICATION_CODE",
    "MERGE_DELTA_ROW_0"."NS_SUPPLY_FLAG$1" "NS_SUPPLY_FLAG",
    "MERGE_DELTA_ROW_0"."NS_EFF_DATE$1" "NS_EFF_DATE",
    "MERGE_DELTA_ROW_0"."NS_EXP_DATE$1" "NS_EXP_DATE",
    "MERGE_DELTA_ROW_0"."NS_ID$1" "NS_ID"
    FROM
    (SELECT
    "NS_ID" "NS_ID$1",
    "NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID$1",
    "NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE$1",
    "NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CODE$1",
    "NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG$1",
    "NS_EFF_DATE" "NS_EFF_DATE$1",
    "NS_EXP_DATE" "NS_EXP_DATE$1"
    FROM
    (SELECT
    (Case When (("SPLITTER_INPUT_SUBQUERY"."NS_ID_0_0" IS NULL) OR ((("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0" IS NULL AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0", 'J.HH24.MI.SS') <= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS')) OR ("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0" IS NOT NULL AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0", 'J.HH24.MI.SS') <= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS') AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0", 'J.HH24.MI.SS') >= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS'))) AND (("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2" IS NOT NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2" IS NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" != "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2") OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0" IS NOT NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0" IS NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" != "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0")))) then ("SPLITTER_INPUT_SUBQUERY"."NS_ID_1") else ("SPLITTER_INPUT_SUBQUERY"."NS_ID_0_0") end)/* MERGE_DELTA_ROW.OUTGRP1.NS_ID */ "NS_ID",
    "SPLITTER_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID_1"/* MERGE_DELTA_ROW.OUTGRP1.NS_OUTLET_SRC_ID */ "NS_OUTLET_SRC_ID",
    "SPLITTER_INPUT_SUBQUERY"."NS_PUBLISHER_CODE_1"/* MERGE_DELTA_ROW.OUTGRP1.NS_PUBLISHER_CODE */ "NS_PUBLISHER_CODE",
    "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1"/* MERGE_DELTA_ROW.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */ "NS_TITLE_CLASSIFICATION_CODE",
    "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1"/* MERGE_DELTA_ROW.OUTGRP1.NS_SUPPLY_FLAG */ "NS_SUPPLY_FLAG",
    (Case When (("SPLITTER_INPUT_SUBQUERY"."NS_ID_0_0" IS NULL)) then ((case when ("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1" < SYSDATE ) then ("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1") else ( SYSDATE ) end)) when ((("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0" IS NULL AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0", 'J.HH24.MI.SS') <= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS')) OR ("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0" IS NOT NULL AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0", 'J.HH24.MI.SS') <= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS') AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0", 'J.HH24.MI.SS') >= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS'))) AND (("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2" IS NOT NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2" IS NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" != "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2") OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0" IS NOT NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0" IS NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" != "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0"))) then ("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1") else ("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0") end)/* MERGE_DELTA_ROW.OUTGRP1.NS_EFF_DATE */ "NS_EFF_DATE",
    (Case When ((ROW_NUMBER() OVER (PARTITION BY "SPLITTER_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID_1","SPLITTER_INPUT_SUBQUERY"."NS_PUBLISHER_CODE_1" ORDER BY "SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1" DESC)) = 1) then (Case When (("SPLITTER_INPUT_SUBQUERY"."NS_ID_0_0" IS NULL) OR ((("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0" IS NULL AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0", 'J.HH24.MI.SS') <= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS')) OR ("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0" IS NOT NULL AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_0_0", 'J.HH24.MI.SS') <= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS') AND TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0", 'J.HH24.MI.SS') >= TO_CHAR("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1", 'J.HH24.MI.SS'))) AND (("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2" IS NOT NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2" IS NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_1" != "SPLITTER_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CO_2") OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0" IS NOT NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0" IS NULL) OR ("SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_1" != "SPLITTER_INPUT_SUBQUERY"."NS_SUPPLY_FLAG_0_0")))) then ( TO_DATE('31-DEC-4000') ) else ("SPLITTER_INPUT_SUBQUERY"."NS_EXP_DATE_0_0") end) else (("SPLITTER_INPUT_SUBQUERY"."NS_EFF_DATE_1" - INTERVAL '1' SECOND)) end)/* MERGE_DELTA_ROW.OUTGRP1.NS_EXP_DATE */ "NS_EXP_DATE"
    FROM
    (SELECT
    "INGRP1"."NS_ID" "NS_ID_1",
    "INGRP1"."NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID_1",
    "INGRP1"."NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE_1",
    "INGRP1"."NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CO_1",
    "INGRP1"."NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG_1",
    "INGRP1"."NS_EFF_DATE" "NS_EFF_DATE_1",
    "INGRP1"."NS_EXP_DATE" "NS_EXP_DATE_1",
    "INGRP2"."NS_ID" "NS_ID_0_0",
    "INGRP2"."NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID_0_0",
    "INGRP2"."NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE_0_0",
    "INGRP2"."NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CO_2",
    "INGRP2"."NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG_0_0",
    "INGRP2"."NS_EFF_DATE" "NS_EFF_DATE_0_0",
    "INGRP2"."NS_EXP_DATE" "NS_EXP_DATE_0_0",
    "INGRP2"."DIMENSION_KEY" "DIMENSION_KEY_0"
    FROM
    ( SELECT
    "RETAILER_PUBLISHER_NS"."NS_ID" "NS_ID",
    "RETAILER_PUBLISHER_NS"."NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID",
    "RETAILER_PUBLISHER_NS"."NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE",
    "RETAILER_PUBLISHER_NS"."NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CODE",
    "RETAILER_PUBLISHER_NS"."NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG",
    "RETAILER_PUBLISHER_NS"."NS_EFF_DATE" "NS_EFF_DATE",
    "RETAILER_PUBLISHER_NS"."NS_EXP_DATE" "NS_EXP_DATE",
    "RETAILER_PUBLISHER_NS"."DIMENSION_KEY" "DIMENSION_KEY"
    FROM
    "RETAILER_PUBLISHER_NS" "RETAILER_PUBLISHER_NS"
    WHERE
    ( "RETAILER_PUBLISHER_NS"."DIMENSION_KEY" = "RETAILER_PUBLISHER_NS"."NS_ID" ) AND
    ( "RETAILER_PUBLISHER_NS"."NS_ID" IS NOT NULL ) ) "INGRP2"
    RIGHT OUTER JOIN ( SELECT
    NULL "NS_ID",
    "LOOKUP_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID$2" "NS_OUTLET_SRC_ID",
    "LOOKUP_INPUT_SUBQUERY"."NS_PUBLISHER_CODE$2" "NS_PUBLISHER_CODE",
    "LOOKUP_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CODE$2" "NS_TITLE_CLASSIFICATION_CODE",
    "LOOKUP_INPUT_SUBQUERY"."NS_SUPPLY_FLAG$2" "NS_SUPPLY_FLAG",
    "LOOKUP_INPUT_SUBQUERY"."NS_EFF_DATE$2" "NS_EFF_DATE",
    "LOOKUP_INPUT_SUBQUERY"."NS_EXP_DATE$2" "NS_EXP_DATE"
    FROM
    (SELECT
    "DEDUP_SRC"."NS_ID$3" "NS_ID$2",
    "DEDUP_SRC"."NS_OUTLET_SRC_ID$3" "NS_OUTLET_SRC_ID$2",
    "DEDUP_SRC"."NS_PUBLISHER_CODE$3" "NS_PUBLISHER_CODE$2",
    "DEDUP_SRC"."NS_TITLE_CLASSIFICATION_CODE$3" "NS_TITLE_CLASSIFICATION_CODE$2",
    "DEDUP_SRC"."NS_SUPPLY_FLAG$3" "NS_SUPPLY_FLAG$2",
    "DEDUP_SRC"."NS_EFF_DATE$3" "NS_EFF_DATE$2",
    "DEDUP_SRC"."NS_EXP_DATE$3" "NS_EXP_DATE$2"
    FROM
    (SELECT
    NULL/* DEDUP_SRC.OUTGRP1.NS_ID */ "NS_ID$3",
    ("PUB_AGENT_MATRIX_CC"."PAM_CUSTOMER_ID"/* EXPR_SRC.OUTGRP1.NS_OUTLET_SRC_ID */)/* DEDUP_SRC.OUTGRP1.NS_OUTLET_SRC_ID */ "NS_OUTLET_SRC_ID$3",
    ((to_char("PUB_AGENT_MATRIX_CC"."PAM_PUBLISHER_CODE")/* EXP.OUTGRP1.PAM_PUBLISHER_CODE */)/* EXPR_SRC.OUTGRP1.NS_PUBLISHER_CODE */)/* DEDUP_SRC.OUTGRP1.NS_PUBLISHER_CODE */ "NS_PUBLISHER_CODE$3",
    ("PUB_AGENT_MATRIX_CC"."PAM_TITLCLAS_CODE"/* EXPR_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */)/* DEDUP_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */ "NS_TITLE_CLASSIFICATION_CODE$3",
    ("PUB_AGENT_MATRIX_CC"."PAM_SUPPLY_FLAG"/* EXPR_SRC.OUTGRP1.NS_SUPPLY_FLAG */)/* DEDUP_SRC.OUTGRP1.NS_SUPPLY_FLAG */ "NS_SUPPLY_FLAG$3",
    MIN(("PUB_AGENT_MATRIX_CC"."PAM_EFFECTIVE_DATE"/* EXPR_SRC.OUTGRP1.NS_EFF_DATE */)) KEEP (DENSE_RANK FIRST ORDER BY NULL/* EXPR_SRC.OUTGRP1.NS_ID */)/* DEDUP_SRC.OUTGRP1.NS_EFF_DATE */ "NS_EFF_DATE$3",
    NULL/* DEDUP_SRC.OUTGRP1.NS_EXP_DATE */ "NS_EXP_DATE$3"
    FROM
    "REFSTG"."PUB_AGENT_MATRIX_CC" "PUB_AGENT_MATRIX_CC"
    WHERE
    ( "PUB_AGENT_MATRIX_CC"."PAM_ADD_REMOVE_FLAG" = 'A' )
    GROUP BY
    ("PUB_AGENT_MATRIX_CC"."PAM_CUSTOMER_ID"/* EXPR_SRC.OUTGRP1.NS_OUTLET_SRC_ID */), ((to_char("PUB_AGENT_MATRIX_CC"."PAM_PUBLISHER_CODE")/* EXP.OUTGRP1.PAM_PUBLISHER_CODE */)/* EXPR_SRC.OUTGRP1.NS_PUBLISHER_CODE */), ("PUB_AGENT_MATRIX_CC"."PAM_TITLCLAS_CODE"/* EXPR_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */), ("PUB_AGENT_MATRIX_CC"."PAM_SUPPLY_FLAG"/* EXPR_SRC.OUTGRP1.NS_SUPPLY_FLAG */),NULL,NULL/* RETAILER_PUBLISHER_NS.DEDUP_SRC */) "DEDUP_SRC") "LOOKUP_INPUT_SUBQUERY"
    WHERE
    ( NOT ( "LOOKUP_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID$2" IS NULL AND "LOOKUP_INPUT_SUBQUERY"."NS_PUBLISHER_CODE$2" IS NULL ) ) ) "INGRP1" ON ( ( ( "INGRP2"."NS_EFF_DATE" IS NULL OR ( ( "INGRP2"."NS_EXP_DATE" IS NULL AND TO_CHAR ( "INGRP2"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) <= TO_CHAR ( "INGRP1"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) ) OR ( "INGRP2"."NS_EXP_DATE" IS NOT NULL AND TO_CHAR ( "INGRP2"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) <= TO_CHAR ( "INGRP1"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) AND TO_CHAR ( "INGRP2"."NS_EXP_DATE" , 'J.HH24.MI.SS' ) >= TO_CHAR ( "INGRP1"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) ) ) ) ) AND ( ( "INGRP2"."NS_PUBLISHER_CODE" = "INGRP1"."NS_PUBLISHER_CODE" ) ) AND ( ( "INGRP2"."NS_OUTLET_SRC_ID" = "INGRP1"."NS_OUTLET_SRC_ID" ) ) )) "SPLITTER_INPUT_SUBQUERY"
    WHERE
    ( ( ( "SPLITTER_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID_1" = "SPLITTER_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID_0_0" AND "SPLITTER_INPUT_SUBQUERY"."NS_PUBLISHER_CODE_1" = "SPLITTER_INPUT_SUBQUERY"."NS_PUBLISHER_CODE_0_0" ) ) OR ( "SPLITTER_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID_0_0" IS NULL AND "SPLITTER_INPUT_SUBQUERY"."NS_PUBLISHER_CODE_0_0" IS NULL ) )
    UNION
    SELECT
    "DEDUP_SCD_SRC"."NS_ID$4" "NS_ID",
    "DEDUP_SCD_SRC"."NS_OUTLET_SRC_ID$4" "NS_OUTLET_SRC_ID",
    "DEDUP_SCD_SRC"."NS_PUBLISHER_CODE$4" "NS_PUBLISHER_CODE",
    "DEDUP_SCD_SRC"."NS_TITLE_CLASSIFICATION_CODE$4" "NS_TITLE_CLASSIFICATION_CODE",
    "DEDUP_SCD_SRC"."NS_SUPPLY_FLAG$4" "NS_SUPPLY_FLAG",
    "DEDUP_SCD_SRC"."NS_EFF_DATE$4" "NS_EFF_DATE",
    "DEDUP_SCD_SRC"."NS_EXP_DATE$4" "NS_EXP_DATE"
    FROM
    (SELECT
    "AGG_INPUT"."NS_ID$5"/* DEDUP_SCD_SRC.OUTGRP1.NS_ID */ "NS_ID$4",
    "AGG_INPUT"."NS_OUTLET_SRC_ID$5"/* DEDUP_SCD_SRC.OUTGRP1.NS_OUTLET_SRC_ID */ "NS_OUTLET_SRC_ID$4",
    "AGG_INPUT"."NS_PUBLISHER_CODE$5"/* DEDUP_SCD_SRC.OUTGRP1.NS_PUBLISHER_CODE */ "NS_PUBLISHER_CODE$4",
    MIN("AGG_INPUT"."NS_TITLE_CLASSIFICATION_CODE$5") KEEP (DENSE_RANK FIRST ORDER BY "AGG_INPUT"."NS_TITLE_CLASSIFICATION_CODE$5" NULLS LAST)/* DEDUP_SCD_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */ "NS_TITLE_CLASSIFICATION_CODE$4",
    MIN("AGG_INPUT"."NS_SUPPLY_FLAG$5") KEEP (DENSE_RANK FIRST ORDER BY "AGG_INPUT"."NS_SUPPLY_FLAG$5" NULLS LAST)/* DEDUP_SCD_SRC.OUTGRP1.NS_SUPPLY_FLAG */ "NS_SUPPLY_FLAG$4",
    MIN("AGG_INPUT"."NS_EFF_DATE$5") KEEP (DENSE_RANK FIRST ORDER BY "AGG_INPUT"."NS_EFF_DATE$5" NULLS LAST)/* DEDUP_SCD_SRC.OUTGRP1.NS_EFF_DATE */ "NS_EFF_DATE$4",
    MIN("AGG_INPUT"."NS_EXP_DATE$5") KEEP (DENSE_RANK FIRST ORDER BY "AGG_INPUT"."NS_EXP_DATE$5" NULLS LAST)/* DEDUP_SCD_SRC.OUTGRP1.NS_EXP_DATE */ "NS_EXP_DATE$4"
    FROM
    (SELECT
    "SPLITTER_INPUT_SUBQUERY$1"."NS_ID_0_0$1"/* UPDATE_DELTA_ROW.OUTGRP1.NS_ID */ "NS_ID$5",
    "SPLITTER_INPUT_SUBQUERY$1"."NS_OUTLET_SRC_ID_1$1"/* UPDATE_DELTA_ROW.OUTGRP1.NS_OUTLET_SRC_ID */ "NS_OUTLET_SRC_ID$5",
    "SPLITTER_INPUT_SUBQUERY$1"."NS_PUBLISHER_CODE_1$1"/* UPDATE_DELTA_ROW.OUTGRP1.NS_PUBLISHER_CODE */ "NS_PUBLISHER_CODE$5",
    "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_2$1"/* UPDATE_DELTA_ROW.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */ "NS_TITLE_CLASSIFICATION_CODE$5",
    "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_0_0$1"/* UPDATE_DELTA_ROW.OUTGRP1.NS_SUPPLY_FLAG */ "NS_SUPPLY_FLAG$5",
    "SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_0_0$1"/* UPDATE_DELTA_ROW.OUTGRP1.NS_EFF_DATE */ "NS_EFF_DATE$5",
    ("SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_1$1" - INTERVAL '1' SECOND)/* UPDATE_DELTA_ROW.OUTGRP1.NS_EXP_DATE */ "NS_EXP_DATE$5"
    FROM
    (SELECT
    "INGRP1"."NS_ID" "NS_ID_1$1",
    "INGRP1"."NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID_1$1",
    "INGRP1"."NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE_1$1",
    "INGRP1"."NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CO_1$1",
    "INGRP1"."NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG_1$1",
    "INGRP1"."NS_EFF_DATE" "NS_EFF_DATE_1$1",
    "INGRP1"."NS_EXP_DATE" "NS_EXP_DATE_1$1",
    "INGRP2"."NS_ID" "NS_ID_0_0$1",
    "INGRP2"."NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID_0_0$1",
    "INGRP2"."NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE_0_0$1",
    "INGRP2"."NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CO_2$1",
    "INGRP2"."NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG_0_0$1",
    "INGRP2"."NS_EFF_DATE" "NS_EFF_DATE_0_0$1",
    "INGRP2"."NS_EXP_DATE" "NS_EXP_DATE_0_0$1",
    "INGRP2"."DIMENSION_KEY" "DIMENSION_KEY_0$1"
    FROM
    ( SELECT
    "RETAILER_PUBLISHER_NS"."NS_ID" "NS_ID",
    "RETAILER_PUBLISHER_NS"."NS_OUTLET_SRC_ID" "NS_OUTLET_SRC_ID",
    "RETAILER_PUBLISHER_NS"."NS_PUBLISHER_CODE" "NS_PUBLISHER_CODE",
    "RETAILER_PUBLISHER_NS"."NS_TITLE_CLASSIFICATION_CODE" "NS_TITLE_CLASSIFICATION_CODE",
    "RETAILER_PUBLISHER_NS"."NS_SUPPLY_FLAG" "NS_SUPPLY_FLAG",
    "RETAILER_PUBLISHER_NS"."NS_EFF_DATE" "NS_EFF_DATE",
    "RETAILER_PUBLISHER_NS"."NS_EXP_DATE" "NS_EXP_DATE",
    "RETAILER_PUBLISHER_NS"."DIMENSION_KEY" "DIMENSION_KEY"
    FROM
    "RETAILER_PUBLISHER_NS" "RETAILER_PUBLISHER_NS"
    WHERE
    ( "RETAILER_PUBLISHER_NS"."DIMENSION_KEY" = "RETAILER_PUBLISHER_NS"."NS_ID" ) AND
    ( "RETAILER_PUBLISHER_NS"."NS_ID" IS NOT NULL ) ) "INGRP2"
    RIGHT OUTER JOIN ( SELECT
    NULL "NS_ID",
    "LOOKUP_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID$2" "NS_OUTLET_SRC_ID",
    "LOOKUP_INPUT_SUBQUERY"."NS_PUBLISHER_CODE$2" "NS_PUBLISHER_CODE",
    "LOOKUP_INPUT_SUBQUERY"."NS_TITLE_CLASSIFICATION_CODE$2" "NS_TITLE_CLASSIFICATION_CODE",
    "LOOKUP_INPUT_SUBQUERY"."NS_SUPPLY_FLAG$2" "NS_SUPPLY_FLAG",
    "LOOKUP_INPUT_SUBQUERY"."NS_EFF_DATE$2" "NS_EFF_DATE",
    "LOOKUP_INPUT_SUBQUERY"."NS_EXP_DATE$2" "NS_EXP_DATE"
    FROM
    (SELECT
    "DEDUP_SRC"."NS_ID$3" "NS_ID$2",
    "DEDUP_SRC"."NS_OUTLET_SRC_ID$3" "NS_OUTLET_SRC_ID$2",
    "DEDUP_SRC"."NS_PUBLISHER_CODE$3" "NS_PUBLISHER_CODE$2",
    "DEDUP_SRC"."NS_TITLE_CLASSIFICATION_CODE$3" "NS_TITLE_CLASSIFICATION_CODE$2",
    "DEDUP_SRC"."NS_SUPPLY_FLAG$3" "NS_SUPPLY_FLAG$2",
    "DEDUP_SRC"."NS_EFF_DATE$3" "NS_EFF_DATE$2",
    "DEDUP_SRC"."NS_EXP_DATE$3" "NS_EXP_DATE$2"
    FROM
    (SELECT
    NULL/* DEDUP_SRC.OUTGRP1.NS_ID */ "NS_ID$3",
    ("PUB_AGENT_MATRIX_CC"."PAM_CUSTOMER_ID"/* EXPR_SRC.OUTGRP1.NS_OUTLET_SRC_ID */)/* DEDUP_SRC.OUTGRP1.NS_OUTLET_SRC_ID */ "NS_OUTLET_SRC_ID$3",
    ((to_char("PUB_AGENT_MATRIX_CC"."PAM_PUBLISHER_CODE")/* EXP.OUTGRP1.PAM_PUBLISHER_CODE */)/* EXPR_SRC.OUTGRP1.NS_PUBLISHER_CODE */)/* DEDUP_SRC.OUTGRP1.NS_PUBLISHER_CODE */ "NS_PUBLISHER_CODE$3",
    ("PUB_AGENT_MATRIX_CC"."PAM_TITLCLAS_CODE"/* EXPR_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */)/* DEDUP_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */ "NS_TITLE_CLASSIFICATION_CODE$3",
    ("PUB_AGENT_MATRIX_CC"."PAM_SUPPLY_FLAG"/* EXPR_SRC.OUTGRP1.NS_SUPPLY_FLAG */)/* DEDUP_SRC.OUTGRP1.NS_SUPPLY_FLAG */ "NS_SUPPLY_FLAG$3",
    MIN(("PUB_AGENT_MATRIX_CC"."PAM_EFFECTIVE_DATE"/* EXPR_SRC.OUTGRP1.NS_EFF_DATE */)) KEEP (DENSE_RANK FIRST ORDER BY NULL/* EXPR_SRC.OUTGRP1.NS_ID */)/* DEDUP_SRC.OUTGRP1.NS_EFF_DATE */ "NS_EFF_DATE$3",
    NULL/* DEDUP_SRC.OUTGRP1.NS_EXP_DATE */ "NS_EXP_DATE$3"
    FROM
    "REFSTG"."PUB_AGENT_MATRIX_CC" "PUB_AGENT_MATRIX_CC"
    WHERE
    ( "PUB_AGENT_MATRIX_CC"."PAM_ADD_REMOVE_FLAG" = 'A' )
    GROUP BY
    ("PUB_AGENT_MATRIX_CC"."PAM_CUSTOMER_ID"/* EXPR_SRC.OUTGRP1.NS_OUTLET_SRC_ID */), ((to_char("PUB_AGENT_MATRIX_CC"."PAM_PUBLISHER_CODE")/* EXP.OUTGRP1.PAM_PUBLISHER_CODE */)/* EXPR_SRC.OUTGRP1.NS_PUBLISHER_CODE */), ("PUB_AGENT_MATRIX_CC"."PAM_TITLCLAS_CODE"/* EXPR_SRC.OUTGRP1.NS_TITLE_CLASSIFICATION_CODE */), ("PUB_AGENT_MATRIX_CC"."PAM_SUPPLY_FLAG"/* EXPR_SRC.OUTGRP1.NS_SUPPLY_FLAG */),NULL,NULL/* RETAILER_PUBLISHER_NS.DEDUP_SRC */) "DEDUP_SRC") "LOOKUP_INPUT_SUBQUERY"
    WHERE
    ( NOT ( "LOOKUP_INPUT_SUBQUERY"."NS_OUTLET_SRC_ID$2" IS NULL AND "LOOKUP_INPUT_SUBQUERY"."NS_PUBLISHER_CODE$2" IS NULL ) ) ) "INGRP1" ON ( ( ( "INGRP2"."NS_EFF_DATE" IS NULL OR ( ( "INGRP2"."NS_EXP_DATE" IS NULL AND TO_CHAR ( "INGRP2"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) <= TO_CHAR ( "INGRP1"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) ) OR ( "INGRP2"."NS_EXP_DATE" IS NOT NULL AND TO_CHAR ( "INGRP2"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) <= TO_CHAR ( "INGRP1"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) AND TO_CHAR ( "INGRP2"."NS_EXP_DATE" , 'J.HH24.MI.SS' ) >= TO_CHAR ( "INGRP1"."NS_EFF_DATE" , 'J.HH24.MI.SS' ) ) ) ) ) AND ( ( "INGRP2"."NS_PUBLISHER_CODE" = "INGRP1"."NS_PUBLISHER_CODE" ) ) AND ( ( "INGRP2"."NS_OUTLET_SRC_ID" = "INGRP1"."NS_OUTLET_SRC_ID" ) ) )) "SPLITTER_INPUT_SUBQUERY$1"
    WHERE
    ( "SPLITTER_INPUT_SUBQUERY$1"."NS_OUTLET_SRC_ID_1$1" = "SPLITTER_INPUT_SUBQUERY$1"."NS_OUTLET_SRC_ID_0_0$1" AND "SPLITTER_INPUT_SUBQUERY$1"."NS_PUBLISHER_CODE_1$1" = "SPLITTER_INPUT_SUBQUERY$1"."NS_PUBLISHER_CODE_0_0$1" ) AND
    ( ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EXP_DATE_0_0$1" IS NULL AND TO_CHAR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_0_0$1" , 'J.HH24.MI.SS' ) <= TO_CHAR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_1$1" , 'J.HH24.MI.SS' ) ) OR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EXP_DATE_0_0$1" IS NOT NULL AND TO_CHAR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_0_0$1" , 'J.HH24.MI.SS' ) <= TO_CHAR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_1$1" , 'J.HH24.MI.SS' ) AND TO_CHAR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EXP_DATE_0_0$1" , 'J.HH24.MI.SS' ) >= TO_CHAR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_EFF_DATE_1$1" , 'J.HH24.MI.SS' ) ) ) AND
    ( ( "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_1$1" IS NULL AND "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_2$1" IS NOT NULL ) OR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_1$1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_2$1" IS NULL ) OR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_1$1" != "SPLITTER_INPUT_SUBQUERY$1"."NS_TITLE_CLASSIFICATION_CO_2$1" ) OR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_1$1" IS NULL AND "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_0_0$1" IS NOT NULL ) OR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_1$1" IS NOT NULL AND "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_0_0$1" IS NULL ) OR ( "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_1$1" != "SPLITTER_INPUT_SUBQUERY$1"."NS_SUPPLY_FLAG_0_0$1" ) )) "AGG_INPUT"
    GROUP BY
    "AGG_INPUT"."NS_ID$5", "AGG_INPUT"."NS_OUTLET_SRC_ID$5", "AGG_INPUT"."NS_PUBLISHER_CODE$5"/* RETAILER_PUBLISHER_NS.DEDUP_SCD_SRC */) "DEDUP_SCD_SRC") ) "MERGE_DELTA_ROW_0"
    MERGE_SUBQUERY
    ON (
    "RETAILER_PUBLISHER_NS"."NS_OUTLET_SRC_ID" = "MERGE_SUBQUERY"."NS_OUTLET_SRC_ID" AND
    "RETAILER_PUBLISHER_NS"."NS_PUBLISHER_CODE" = "MERGE_SUBQUERY"."NS_PUBLISHER_CODE" AND
    "RETAILER_PUBLISHER_NS"."NS_EFF_DATE" = "MERGE_SUBQUERY"."NS_EFF_DATE" AND
    "RETAILER_PUBLISHER_NS"."NS_ID" = "MERGE_SUBQUERY"."NS_ID"
    WHEN MATCHED THEN
    UPDATE
    SET
    "NS_TITLE_CLASSIFICATION_CODE" = "MERGE_SUBQUERY"."NS_TITLE_CLASSIFICATION_CODE",
    "NS_SUPPLY_FLAG" = "MERGE_SUBQUERY"."NS_SUPPLY_FLAG",
    "NS_EXP_DATE" = "MERGE_SUBQUERY"."NS_EXP_DATE"
    WHEN NOT MATCHED THEN
    INSERT
    ("RETAILER_PUBLISHER_NS"."NS_ID",
    "RETAILER_PUBLISHER_NS"."NS_OUTLET_SRC_ID",
    "RETAILER_PUBLISHER_NS"."NS_PUBLISHER_CODE",
    "RETAILER_PUBLISHER_NS"."NS_TITLE_CLASSIFICATION_CODE",
    "RETAILER_PUBLISHER_NS"."NS_SUPPLY_FLAG",
    "RETAILER_PUBLISHER_NS"."NS_EFF_DATE",
    "RETAILER_PUBLISHER_NS"."NS_EXP_DATE",
    "RETAILER_PUBLISHER_NS"."DIMENSION_KEY")
    VALUES
    ("RETAILER_PUBLISHER_NS_SEQ".NEXTVAL,
    "MERGE_SUBQUERY"."NS_OUTLET_SRC_ID",
    "MERGE_SUBQUERY"."NS_PUBLISHER_CODE",
    "MERGE_SUBQUERY"."NS_TITLE_CLASSIFICATION_CODE",
    "MERGE_SUBQUERY"."NS_SUPPLY_FLAG",
    "MERGE_SUBQUERY"."NS_EFF_DATE",
    "MERGE_SUBQUERY"."NS_EXP_DATE",
    "RETAILER_PUBLISHER_NS_SEQ".CURRVAL)
    Explain plan:
    MERGE STATEMENT, GOAL = ALL_ROWS               1412     2     286
    MERGE     DW     RETAILER_PUBLISHER_NS               
    VIEW     DW                    
    SEQUENCE     DW     RETAILER_PUBLISHER_NS_SEQ               
    HASH JOIN OUTER               1412     2     256
    VIEW     DW          940     2     170
    SORT UNIQUE               940     2     218
    UNION-ALL                         
    WINDOW SORT               470     1     133
    FILTER                         
    NESTED LOOPS OUTER               468     1     133
    VIEW     DW          4     1     65
    SORT GROUP BY               4     1     25
    TABLE ACCESS FULL     REFSTG     PUB_AGENT_MATRIX_CC     3     1     25
    VIEW     SYS          464     1     68
    VIEW     DW          464     1     68
    TABLE ACCESS FULL     DW     RETAILER_PUBLISHER_NS     464     1     43
    VIEW     DW          469     1     85
    SORT GROUP BY               469     1     90
    NESTED LOOPS               468     1     90
    VIEW     DW          4     1     37
    SORT GROUP BY               4     1     25
    TABLE ACCESS FULL     REFSTG     PUB_AGENT_MATRIX_CC     3     1     25
    VIEW     SYS          464     1     53
    VIEW     DW          464     1     68
    TABLE ACCESS FULL     DW     RETAILER_PUBLISHER_NS     464     1     43
    TABLE ACCESS FULL     DW     RETAILER_PUBLISHER_NS     467     337417     14508931
    Is this similar to the sql generated at your end? Do you use special loading hints, anything specail with indexing - we have tried standard indexing.
    Does this look untoward - have you any other suggestions?
    Thanks for your interest.

  • Payables Import Performance after Match Option changed to PO

    We changed the match option from 'R' to 'P' and since then payables import has been running longer and taking nearly 100% of the CPU while all other pending processes are erroring out with Signal 11.
    Has anybody here got this kind of issue with Payables Invoice Import?
    Looking for suggestions
    Thank a lot.

    Not seen this kind of an issue. May be you n can try taking a sql trace for both the cases and locate what the problem might be.

  • [WTA] Perform Fuzzy/Matching/Search of Similarity Text

    This are my sample data:
    With
    vCAR_MODEL AS (
    Select '1' AS MODEL_ID, 'CITY' AS CAR_MODEL FROM DUAL UNION ALL
    Select '2' AS MODEL_ID, 'HOOOONDA' AS CAR_MODEL FROM DUAL UNION ALL
    Select '3' AS MODEL_ID, 'CRUZE' AS CAR_MODEL FROM DUAL UNION ALL
    Select '5' AS MODEL_ID, 'HONDA CRUZE' AS CAR_MODEL FROM DUAL
    vCAR_MODEL_DETAIL AS (
    Select '1' AS MODEL_DETAIL_ID, 'HONDA @ CITY' AS CAR_MODEL , SYSTIMESTAMP + 1 AS UPDATE_DATE FROM DUAL UNION ALL
    Select '2' AS MODEL_DETAIL_ID, 'HONDA,CITY' AS CAR_MODEL, SYSTIMESTAMP + 2 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '3' AS MODEL_DETAIL_ID, 'HONDA|| CITY' AS CAR_MODEL, SYSTIMESTAMP + 3 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '4' AS MODEL_DETAIL_ID, 'CIIIITY @ HOOOONDA' AS CAR_MODEL, SYSTIMESTAMP + 4 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '5' AS MODEL_DETAIL_ID, 'HONDA' AS CAR_MODEL,SYSTIMESTAMP + 5 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '6' AS MODEL_DETAIL_ID, 'CHEVY @ CRUZE' AS CAR_MODEL,SYSTIMESTAMP + 6 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '7' AS MODEL_DETAIL_ID, 'CRUZE' AS CAR_MODEL,SYSTIMESTAMP + 7 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '8' AS MODEL_DETAIL_ID, 'HONDA CRUZE' AS CAR_MODEL,SYSTIMESTAMP + 8 AS UPDATE_DATE  FROM DUAL
    Select * from vCAR_MODEL_DETAIL------------------------------------------------------------------------------------
    CAR_MODEL_ID     CAR_MODEL     UPDATE_DATE
    1     HONDA @ CITY     6-May-13
    2     HONDA, CITY     7-May-13
    3     HONDA|| CITY     8-May-13
    4     CIIIITY @ HOOOONDA     9-May-13
    5     HONDA     10-May-13
    6     CHEVY @ CRUZE     11-May-13
    7     CRUZE     12-May-13
    8     HONDA CRUZE     13-May-13
    and what I want actually is:
    With
    vCAR_MODEL AS (
    Select '1' AS MODEL_ID, 'CITY' AS CAR_MODEL FROM DUAL UNION ALL
    Select '2' AS MODEL_ID, 'HOOOONDA' AS CAR_MODEL FROM DUAL UNION ALL
    Select '3' AS MODEL_ID, 'CRUZE' AS CAR_MODEL FROM DUAL UNION ALL
    Select '5' AS MODEL_ID, 'HONDA CRUZE' AS CAR_MODEL FROM DUAL
    vCAR_MODEL_DETAIL AS (
    --Select '1' AS MODEL_DETAIL_ID, 'HONDA @ CITY' AS CAR_MODEL , SYSTIMESTAMP + 1 AS UPDATE_DATE FROM DUAL UNION ALL
    --Select '2' AS MODEL_DETAIL_ID, 'HONDA,CITY' AS CAR_MODEL, SYSTIMESTAMP + 2 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '3' AS MODEL_DETAIL_ID, 'HONDA|| CITY' AS CAR_MODEL, SYSTIMESTAMP + 3 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '4' AS MODEL_DETAIL_ID, 'CIIIITY @ HOOOONDA' AS CAR_MODEL, SYSTIMESTAMP + 4 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '5' AS MODEL_DETAIL_ID, 'HONDA' AS CAR_MODEL,SYSTIMESTAMP + 5 AS UPDATE_DATE  FROM DUAL UNION ALL
    --Select '6' AS MODEL_DETAIL_ID, 'CHEVY @ CRUZE' AS CAR_MODEL,SYSTIMESTAMP + 6 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '7' AS MODEL_DETAIL_ID, 'CRUZE' AS CAR_MODEL,SYSTIMESTAMP + 7 AS UPDATE_DATE  FROM DUAL UNION ALL
    Select '8' AS MODEL_DETAIL_ID, 'HONDA CRUZE' AS CAR_MODEL,SYSTIMESTAMP + 8 AS UPDATE_DATE  FROM DUAL
    Select * from vCAR_MODEL_DETAIL------------------------------------------------------------------------------------
    CAR_MODEL_ID     CAR_MODEL     UPDATE_DATE
    3     HONDA|| CITY     8-May-13
    4     CIIIITY @ HOOOONDA     9-May-13
    5     HONDA     10-May-13
    7     CRUZE     12-May-13
    8     HONDA CRUZE     13-May-13
    The main table is "vCAR_MODEL" and the detail table is "vCAR_MODEL_DETAIL", the purpose is to fuzzy search based on "vCAR_MODEL" over "vCAR_MODEL_DETAIL".
    And the detail table is pickup from MAX "UPDATE_DATE" column.
    My problem is how do I perform fuzzy search over those symbols where cross join over the main table?
    any idea?

    From Text Area, I got an answer

  • "Loading iTunes Match" showing each time I start Music

    Hi,
    I've recently had some trouble with iTunes match, where it wasn't downloading songs, although I could stream them fine. I spoke to someone from Apple who suggested turning off iTunes Match, then do a 'Reset All Settings', then re-enable iTunes Match. This seems to work fine, as I can now download songs.
    Since performing the above 'reset', each time I start 'Music', it displays 'Loading iTunes Match', the progress bar gets all the way across, then I see my songs (not my playlists though - but that's a separate question). However, if I come out of Music, and go back in, I see the same message..
    I've now tried about 10 times, with re-boots and turning off/on iTue

    Hi,
    There may a problem track amongst those tracks that are waiting. Firstly, add iCloud status column to song view - go to menu > view > view options and tick box.
    Next is to examine those tracks waiting - is there anything unusual or large? You may need to remove all those tracks waiting from your library. Next hold shift key whilst turning off match. Close iTunes, reopen and turn on match. You will be asked to add this computer, do so. The match process should be quick, match will remember previous matches and uploads.
    Once process complete, readd those tracks, a small batch at a time. This will help you find any track that match does not like.
    Jim

  • 2 Way Match - PO and Invoice (no goods receipt)

    Dear Gurus,
    We need to Implement the 2 Way Match process between the Invoice and the PO i.e. perform the Match once invoice has been recorded. The condition is invoice value should be less than $500. This means supplier will be paid irrespective of a goods receipt for a PO line. The goods receipt can happen later to close a PO line.
    Please see below examples which will fall under this criteria.
    PO # A
    Line # 1 - Qty = 10 - PO unit Price = 100 - PO Total = 1000
    Inv Qty = 4 - Inv line Total = 400 - Inv Grand total = 400
    PO # B
    Line # 1 - Qty = 5 - PO unit Price = 80 - PO Total = 400
    Inv Qty = 5 - Inv line Total = 400 - Inv Grand total = 400
    PO # 3
    Line # 1 - Qty = 5 - PO unit Price = 100 - PO Total = 500
    Line # 2 - Qty = 10 - PO unit Price = 10 - PO Total = 1000
    PO total = 1500
    Invoice Line # 1 - Inv Qty = 5 - Inv line Total = 400 - Inv Grand total = 400
    Can these be achived by some setups?
    Is there a way by which we can achieve this?
    Thanks for your response in advance.

    Hi Venkat,
    Thanks for the swift response.
    In fact we will be doing GR but at a later date. The object is to not held the vendor invoice and payment (esp. for small amt) just bcoz goods reception not done. Understand your concern that GR/IR might cause an issue.

  • Query for matching strings

    Hi, I am using a prepared statement and how can I perform string matching using that?
    For example, I have
    PreparedStatement pstat = con.prepareStatement( new String(sql))
    what should my sql String look like to query for strings containing "ab"
    so when the executeQuery() is called,
    I get results such as "abcd", "abcdcdc","ccccabccc"??
    Thanks a lot,

    try somethink like this:
    SELECT * FROM table_name WHERE column_name LIKE
    '%ab%'
    or
    SELECT * FROM table_name WHERE column_name LIKE ?
    providing "%ab%" as parameterAdding to that - you MUST do the % yourself and then use setString. The following will NOT work....
    SELECT * FROM table_name WHERE column_name LIKE '%?%'

  • IS THERE ANY SIMPLE WAY TO RETURN SPEED PERFORMANCE TO FACTORY SPEED AFTER ABOUT 3 YEARS OF RELATIVELY STANDARD USE?

    Everyone is often so quick to bash all these 'cleaning' utilities but rarely give any solutions.
    There's a lot of critiques and endless lists of what NOT to do to avoid performance problems.
    My Powerbook is 3 years old. It runs like molasses... SLOW.
    I'm not a computer geek, but I'm smart and understand quite a bit more than a newbie.
    Do I need a degree in computer engineering to fix/speed up my mac?
    Yes, I know, the cleaning utilities suck. But is it really true of all of them?
    I'm not totally convinced because there seems to be such a huge market for them.
    Sure, there's a huge market for bottled water too, so maybe they are just useless/marketing crap, but I really want to return to my original speed performance quickly and can't seem to find out if it's possible with a utility.
    I'm not willing to sit down for 3 hours and study line by line b.s. about how to fix it.
    I have no problem if it's not fixable. I've always assumed operating systems outgrow their hardware's capacity to keep up, and sell my old one for a new one, no prob.
    I don't care, really, but again, I'm curious if there is any quick, easy, user-friendly utility or method that I can use to return the speed performance I had as recently as a year ago? (I'd be satisfied with that).
    Anyone willing to bite on that? Anyone willing to not critique, complain, tell me what NOT to do and actually know a solution?
    IS THERE ANY SIMPLE WAY TO RETURN SPEED PERFORMANCE BACK TO (OR CLOSE TO) ORIGINAL FACTORY SPEED AFTER ABOUT 3 YEARS OF RELATIVELY STANDARD USE?
    The only thing I may have done outside of the norm was some video editing, but very little.

    Look for solutions here:
    https://discussions.apple.com/docs/DOC-3521
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • Exadata performance

    In our exachk results, there is one item for shared_server.
    our current production environment has shared_server set to 1. shared_server=1.
    Now I got those from exachk:
    Benefit / Impact:
    As an Oracle kernel design decision, shared servers are intended to perform quick transactions and therefore do not issue serial (non PQ) direct reads. Consequently, shared servers do not perform serial (non PQ) Exadata smart scans.
    The impact of verifying that shared servers are not doing serial full table scans is minimal. Modifying the shared server environment to avoid shared server serial full table scans varies by configuration and application behavior, so the impact cannot be estimated here.
    Risk:
    Shared servers doing serial full table scans in an Exadata environment lead to a performance impact due to the loss of Exadata smart scans.
    Action / Repair:
    To verify shared servers are not in use, execute the following SQL query as the "oracle" userid:
    SQL>  select NAME,value from v$parameter where name='shared_servers';
    The expected output is:
    NAME            VALUE
    shared_servers  0
    If the output is not "0", use the following command as the "oracle" userid with properly defined environment variables and check the output for "SHARED" configurations:
    $ORACLE_HOME/bin/lsnrctl service
    If shared servers are confirmed to be present, check for serial full table scans performed by them. If shared servers performing serial full table scans are found, the shared server environment and application behavior should be modified to favor the normal Oracle foreground processes so that serial direct reads and Exadata smart scans can be used.
    Oracle lsnrctl service on current production environments shows all 'Local Server'.
    What should I proceed here?
    Thanks again in advance.

    Thank you all for your help.
    Here is an output of lsnrctl service:
    $ORACLE_HOME/bin/lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 14-JUL-2014 14:15:24
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1420 refused:0 state:ready
             LOCAL SERVER
    Service "PREME" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREMEXDB" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: prodremedy, pid: 16823>
             (ADDRESS=(PROTOCOL=tcp)(HOST=prodremedy)(PORT=61323))
    Service "PREME_ALL_USERS" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_TXT_APP" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_CORP_APP" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_DISCO_APP" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_EAST_APP" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_CRM" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_CRM_WR" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_RPT" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    Service "PREME_WEST_APP" has 1 instance(s).
      Instance "PREME2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:627130 refused:3 state:ready
             LOCAL SERVER
    The command completed successfully

  • Match Frame

    New feature: "double-clicking a track item in a sequence will automatically perform a match frame to the playhead position when it is parked on a frame within that item", what this mean?
    Hi, i just got the new version CC 2014 in my work and was just wondering whats that feature means, since when i double click a clip in the timeline it won't perform a match frame, will just open the clip in the source monitor.
    So what this feature means?
    Thanks
    [Please choose only a short description for the thread title.]
    Message was edited by: Jim Simon

    since when i double click a clip in the timeline it won't perform a match frame, will just open the clip in the source monitor.
    That is what it means. Notice that when you double-click on the clip in the timeline, when it opens in the Source Monitor, it opens on the same frame that is showing under the playhead.

  • Intercompany Matching - Finance Application

    Hi Guys,
    I am trying to perfom intercompany matching for the Finance data i.e. non legal data. For the same I have a few of questions:
    1. Is it possible to perform intercompany matching for the Finance data?
    2. Or do we need to create a separate intercompany matching application?
    3. In case we can perform intercompany matching using the Fianance application itself could you please suggest if I need to create any addtional dimension besides what are there in the FI application already?
    Following are the challenges I am facing with FI application approach:
    1. I have already added the Debit, Credit datasrc members. But I am confused about how to pull of ICData as it requires that the intercompany accounts must have a common parent, but my accounts - ICAR and ICAP do not have one parent as they are Balance sheet accounts and are under Asset and Liabilities.
    2. For ICBooking, do we need to write a separate line of business rule for each transaction that has occured between the company and the other entity as the business rule asks for very specific questions like what Intercompany to debit and what intercompany to credit.
    Following is the challenge with the separate ICMatching application:
    1. How do I pass booked data to FI application?
    2. For ICBooking, do we need to write a separate line of business rule for each transaction that has occured between the company and the other entity as the business rule asks for very specific questions like what Intercompany to debit and what intercompany to credit.
    Please help experts. Your help would be highly appreciated.
    Thanks
    Rahul
    Edited by: Rahul Yadav on Aug 19, 2010 11:24 PM
    Edited by: Rahul Yadav on Aug 19, 2010 11:25 PM

    Sorry. NOT CONSIDER THIS POST
    Edited by: Mónia Domingues on Oct 27, 2009 1:05 PM

  • Quick pays for employees that have a direct deposit payment method?

    Can you perform quick pays for employees that have a direct deposit payment method?

    Dear User,
    You can perform the activity, only pre-requisite is the the given employee should have a Direct Deposit Payment Method associated with him.
    So, when you perform Quickpay and Quickpay-Prepayment, it will take the Direct Deposit Payment Method.
    Otherwise, if your payment method is blank for the employee, the Quickpay-Prepayment will take the default Payment Method defined in your Payroll (Generally this is Cheque or Cash)
    Regards,
    Ameya

  • Invoice Matching - Best Business Practice

    As far as I know matching invoices to PO or to a receipt is done in AP. A colleague of mine is stating that matching should always be done at the purchasing level and that she has never seen it done in Payables. Other than the user's guide, would anyone know of a white paper that addresses the matching business flow.
    We are not usinf Oracle Purchasing, but rather a third party solution (ePlus), and for whatever reason, the matching is going to be done in that solution. Invoices will also be created in that system, and interfaced to AP in order to issue checks.
    Your input would be appreciated.
    Thanks!

    Hi
    It depends on the kind of External Software you are using and the purpose of the same.
    You cannot Import PO to Payable to perform Matching in Payables unless PO is created in Oracle purchasing. Secondly performing a match between two system, Oracle Payables(Invoice) and PO in (ePlus) is very difficult. Also it depends on the type of item they are using in ePLUS. If it is service oriented Organization, then they would have created only service items which might have Performance Guarantee etc., which can be better reviewed and analysed by an Engineer who is incharge of the PO rather than Accountant performing the PO to Invoice Match
    So it is better to identify and analyse the client Business and choose where to perform the PO to Invoice matching.
    The choices are as follows
    If it is inventory based matching then, Convince the client to use Oracle PO and Inventory Module and make the set up and import data from ePlus to these modules and create Invoice in AP and perform PO to Invoice Matching in Oracle.
    If it is service oriented Item it is better to create Invoice in Eplus Itself and perform matching in Eplus and Push the Invoice and PO reference details to Oracle Payables to make payments
    Hope this helps
    Regards
    Sivakumar

Maybe you are looking for

  • Inits

    Hi, What is diff between init without data transfer and init with data transfer? What are the benefits? Can anybody exlain in detail? Thanks

  • Why does my screen scroll to the bottom automatically after I've entered a new website on a new tab?

    When I'm on a website and click onto information or another site from this open window, a new tab is opened with the new info or website. However, while waiting for that site to load in the new tab, the site is automatically scrolled to the bottom be

  • ODS in Generic Data source?

    Dear Friends, I need to do a generi extraction from a view(2 tables). This is is a transactinal extraction. How can I take a decision weather I have to build ODS or not. Because we know from. 3.x onwards, The delta is enabled for Generic. What is the

  • How to calculate value based on two fields & set that 3rd on (KFFfields)

    Hello Gurus, I have a requirement customization in which, in an OAF page, tableLayout: (HrSitKeyFlex) having 3 fields 1)Days of Trainging 2)No of days Trainging hours 3)Total Duration when user enter the values for two fields say 'Days of Trainging'

  • Feature of opening link in new tab when middle-click it has just dissapeared.

    Hello! Feature of opening link in new tab when middle-click it has just dissapeared; now, when I middle-click the link, nothing happens - no new tab, simply nothing! It's not issue with a mouse, I've tried another mouse, and it's the same, and middle