You are on page 1of 2

Error:

======
State: HY000. Code: 14081. [nQSError: 14081] You may be able to evaluate this query
if you remove one of the following column references: Dim - AP Account Balancing
Segment.Balancing Segment Code, Dim - AP Account Natural Account Segment.Account
Code, Dim - AP Account Segment1.Segment Code, Dim - AP Account Segment2.Segment
Code, Dim - AP Account Segment3.Segment Code, Dim - AP Account Segment4.Segment
Code, Dim - AP Accounting Date Fiscal Calendar.Fiscal Period, Dim - AP Transaction
Details.Invoice Date, Dim - AP Transaction Details.Invoice Number, Dim - AP
Transaction Details.State, Dim - Currency.Apps Document Currency Code, Dim - SLA
Accounting Class.Accounting Class Code, Dim - SLA GL Transfer Status.Transfer
Status Code, Dim - SLA Journal Details.Journal Line Description, Dim - SLA Journal
Details.Journal Line Number, Dim - Supplier.Supplier Name, Dim - Supplier.Supplier
Number (HY000)
SQL Issued: SET VARIABLE PREFERRED_CURRENCY='User Preferred Currency 1';SELECT
saw_0, saw_1, saw_2, saw_3, saw_4, saw_5, saw_6, saw_7, saw_8, saw_9, saw_10,
saw_11, saw_12, saw_13, saw_14, saw_15, saw_16, saw_17, saw_18, saw_19, saw_20,
saw_21, saw_22 FROM ((SELECT "- Distribution Accounting Date Fiscal
Calendar"."Fiscal Period" saw_0, "- General Information"."Invoice Number" saw_1, "-
Distribution Balancing Segment Value"."Balancing Segment Code" saw_2, "-
Distribution Segment 1"."Segment Code" saw_3, "- Distribution Natural Account
Segment Value"."Account Code" saw_4, "- Distribution Segment 2"."Segment Code"
saw_5, "- Distribution Segment 3"."Segment Code" saw_6, "- Invoice Distribution
Details - Purchase Order Information"."State" saw_7, "- Invoice
Accounting"."Invoice Currency" saw_8, IFNULL("- Invoice Accounting"."SLA Unrounded
Accounted Amount Debit",0) - IFNULL("- Invoice Accounting"."SLA Unrounded Accounted
Amount Credit",0) saw_9, IFNULL("- Invoice Accounting"."SLA Unrounded Accounted
Amount Debit",0) saw_10, IFNULL("- Invoice Accounting"."SLA Unrounded Accounted
Amount Credit",0) saw_11, IFNULL("- Invoice Accounting"."SLA Unrounded Entered
Amount Debit",0) - IFNULL("- Invoice Accounting"."SLA Unrounded Entered Amount
Credit",0) saw_12, IFNULL("- Invoice Accounting"."SLA Unrounded Entered Amount
Credit",0) saw_13, IFNULL("- Invoice Accounting"."SLA Unrounded Entered Amount
Debit",0) saw_14, "Supplier"."Supplier Number" saw_15, "Supplier"."Supplier Name"
saw_16, "- Subledger Accounting Journals Details"."Journal Line Description"
saw_17, "- General Information"."Invoice Date" saw_18, "- Subledger Accounting
Journals Details"."Journal Line Number" saw_19, "- Subledger Accounting Journals
Details"."Transfer Status Code" saw_20, "- Subledger Accounting Journals
Details"."Accounting Class Code" saw_21, "- Distribution Segment 4"."Segment Code"
saw_22 FROM "Payables Invoices - Transactions Real Time" WHERE ("- Subledger
Accounting Journals Details"."Accounting Class Code" <> 'LIABILITY') AND
(DESCRIPTOR_IDOF("Payables Invoices - Transactions Real Time"."Business
Unit"."Business Unit Name") = 300000001665255) AND ("- General Information"."GL
Date" >= (date '2020-01-01')) AND ("- General Information"."GL Date" <= (date
'2020-02-29'))) UNION ALL (SELECT "Invoice Self-Assessed Tax Distribution
Details"."Self-Assessed Tax Distribution Period Name" saw_0, "- General
Information"."Invoice Number" saw_1, SUBSTRING("Invoice Self-Assessed Tax
Account"."Concatenated Segments",1,3) saw_2, SUBSTRING("Invoice Self-Assessed Tax
Account"."Concatenated Segments",5,2) saw_3, substring("Invoice Self-Assessed Tax
Account"."Concatenated Segments",8,4) saw_4, substring("Invoice Self-Assessed Tax
Account"."Concatenated Segments",13,4) saw_5, substring("Invoice Self-Assessed Tax
Account"."Concatenated Segments",18,5) saw_6, "- Invoice Distribution Details -
Purchase Order Information"."State" saw_7, "Invoice Self-Assessed Invoice
Accounting"."Self-Assessed Tax SLA Invoice Currency" saw_8, IFNULL("- Invoice
Accounting"."SLA Unrounded Accounted Amount Debit",0) - IFNULL("- Invoice
Accounting"."SLA Unrounded Accounted Amount Credit",0) saw_9, IFNULL("- Invoice
Accounting"."SLA Unrounded Accounted Amount Debit",0) saw_10, IFNULL("- Invoice
Accounting"."SLA Unrounded Accounted Amount Credit",0) saw_11, IFNULL("- Invoice
Accounting"."SLA Unrounded Entered Amount Debit",0) - IFNULL("- Invoice
Accounting"."SLA Unrounded Entered Amount Credit",0) saw_12, IFNULL("- Invoice
Accounting"."SLA Unrounded Entered Amount Credit",0) saw_13, IFNULL("- Invoice
Accounting"."SLA Unrounded Entered Amount Debit",0) saw_14, "Supplier"."Supplier
Number" saw_15, "Supplier"."Supplier Name" saw_16, "- Subledger Accounting Journals
Details"."Journal Line Description" saw_17, "- General Information"."Invoice Date"
saw_18, "- Subledger Accounting Journals Details"."Journal Line Number" saw_19, "-
Subledger Accounting Journals Details"."Transfer Status Code" saw_20, "Invoice
Self-Assessed Subledger Accounting Journal Details"."Self-Assessed Tax Accounting
Class Code" saw_21, substring("Invoice Self-Assessed Tax Account"."Concatenated
Segments",24,4) saw_22 FROM "Payables Invoices - Transactions Real Time" WHERE
("Invoice Self-Assessed Subledger Accounting Journal Details"."Self-Assessed Tax
Accounting Class Code" = 'SELF_ASSESSED_TAX') AND (DESCRIPTOR_IDOF("Payables
Invoices - Transactions Real Time"."Business Unit"."Business Unit Name") =
300000001665255) AND ("Invoice Self-Assessed Subledger Accounting Journal
Details"."Self-Assessed Tax Accounting Date" >= (date '2020-01-01')) AND ("Invoice
Self-Assessed Subledger Accounting Journal Details"."Self-Assessed Tax Accounting
Date" <= (date '2020-02-29')))) t1 ORDER BY saw_0, saw_1, saw_2, saw_3, saw_4,
saw_5, saw_6, saw_7, saw_8, saw_15, saw_16, saw_17, saw_18, saw_19, saw_20, saw_21,
saw_22

You might also like