Reconcile Voucher/Asset ID

Total Page:16

File Type:pdf, Size:1020Kb

Reconcile Voucher/Asset ID

CT_CORE_FN_AM_VCHR_ASSET_AUDIT

Purpose of Query

Reconcile Voucher/Asset ID - Query Reconciles AP Asset Vouchers with AM asset detail transaction information. Query prompts for AP Business Unit and Acctg Date. Voucher lines posted in AM will display Asset ID. Voucher lines not posted in AM will display "NO ASSET_ID".

Folder

AM

Tables

Top Level: A.CTW_VC_ACCTG_LN - Voucher Accounting Line Rpt B.CTW_AM_ACQDET - Asset Acquisition Detail Rpt

Union 1 Level: C.CTW_VC_ACCTG_LN - Voucher Accounting Line Rpt SubQuery : D.CTW_AM_ACQDET - Asset Acquisition Detail Rpt

Notes: A Union query combines the results of two or more queries into a single result set that includes all the rows that belong to all queries in the union. The two queries must have the same number of columns and compatible data types to unite.

A subquery is a query whose results are used by another query. The main query uses the subquery’s result set as a comparison value for a selection criterion.

Prompts

BUSINESS_UNIT - Business Unit= - (Equal To)

Note: This query is best executed using the scheduling option. Sample Results:

Criteria Top Level: A.ACCOUNT – Account in list ('54150','55420','55430','55440','55450','55460','55470','55480','55490','55500','55510','5 5520','55530','55540','55610','55620','55630','55640','55650','55660','55670','55680','556 90','55700','55710','55720','55730','55810','55820','55830','55840','55850','55860','55870 ','55880','55890')

Union 1 level: C.ACCOUNT – Account in list ('54150','55420','55430','55440','55450','55460','55470','55480','55490','55500','55510','5 5520','55530','55540','55610','55620','55630','55640','55650','55660','55670','55680','556 90','55700','55710','55720','55730','55810','55820','55830','55840','55850','55860','55870 ','55880','55890')

C.VOUCHER_ID- Voucher ID does not exist in the subquery

Note: Runtime prompts are included as criteria.

Fields

Col Record.Fieldname Format Ord XLA Agg Heading Text T 1 A.BUSINESS_UNIT - Business Unit Char5 Unit 2 A.VOUCHER_ID - Voucher ID Char8 Voucher 3 A.MONETARY_AMOUNT - SNm25.3 Sum Voucher Amount Monetary Amount 4 A.ACCOUNTING_DT - Accounting Date Acctg Date Date 5 A.ACCOUNT - Account Char10 Acct 6 A.FUND_CODE - Fund Code Char5 Fund 7 A.CT_SID - SID Char5 SID 8 A.PROGRAM_CODE - Program Char5 Program Code 9 A.PROJECT_ID - Project Char15 Project 10 B.ASSET_ID - Asset Identification Char12 Asset ID 11 B.CT_ASSET_DESCR - Asset Char30 Asset Descr Description 12 A.PO_ID - Purchase Order Char10 PO

Recommended publications