You are on page 1of 46

1

2
3
4

TRANSACTION_QUANTITY ACTUAL_COST PRIOR_COST TRANSACTION_COST
100
50.005
0
50.005
100
50.005
0
50.005
100
50.005
0
50.005
100
50.005
0
50.005

NEW_COST
TRANSACTION_VALUE
50.005
50.005
50.005
50.005

PRIMARY_QUANTITY BASE_TRANSACTION_VALUE
-100
-5001
100
5001
-100
-5001
100
5001

ENTERED_DR
ACCOUNTED_CR UNROUNDED_ENTERED_DR UNROUNDED_ENTERED_CR
5001
5001
5001
5001
5001
5001
5001
5001

TRANSACTION_ID REFERENCE_ACCOUNT LAST_UPDATE_DATE LAST_UPDATED_BY
1907866
112684 8/14/2013 12:40:22 AM
1118
1907866
4128 8/14/2013 12:40:22 AM
1118
1907866
112684 8/14/2013 12:40:22 AM
1118
1907866
4128 8/14/2013 12:40:22 AM
1118

CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN INVENTORY_ITEM_ID 8/14/2013 12:40:22 AM 1118 331849 86296 8/14/2013 12:40:22 AM 1118 331849 86296 8/14/2013 12:40:22 AM 1118 331849 86296 8/14/2013 12:40:22 AM 1118 331849 86296 .

ORGANIZATION_ID TRANSACTION_DATE TRANSACTION_SOURCE_ID 306 1/1/2013 -1 306 1/1/2013 -1 306 1/1/2013 -1 306 1/1/2013 -1 .

TRANSACTION_SOURCE_TYPE_ID TRANSACTION_VALUE 13 13 13 13 PRIMARY_QUANTITY GL_BATCH_ID -100 100 -100 100 .

005 1 5001 1 50.005 1 5001 1 50.005 .005 2 -5001 1 50.ACCOUNTING_LINE_TYPE BASE_TRANSACTION_VALUE CONTRA_SET_ID RATE_OR_AMOUNT 2 -5001 1 50.

BASIS_TYPE RESOURCE_ID 1 1 1 1 COST_ELEMENT_ID ACTIVITY_ID 1 1 CURRENCY_CODE .

CURRENCY_CONVERSION_DATE 1/1/2013 1/1/2013 1/1/2013 1/1/2013 CURRENCY_CONVERSION_TYPE 0 0 0 0 .

CURRENCY_CONVERSION_RATE REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID -1 525648 702 36119 -1 525648 702 36119 -1 525648 702 36119 -1 525648 702 36119 .

PROGRAM_UPDATE_DATE ENCUMBRANCE_TYPE_ID REPETITIVE_SCHEDULE_ID 8/14/2013 12:40:22 AM 8/14/2013 12:40:22 AM 8/14/2013 12:40:22 AM 8/14/2013 12:40:22 AM .

GL_SL_LINK_ID USSGL_TRANSACTION_CODE INV_SUB_LEDGER_ID JE_HEADER_ID 79424 100622 79423 100622 79424 100622 79423 100622 .

LAST_UPDATE_DATE LAST_UPDATED_BY LEDGER_ID 8/14/2013 3:27:48 PM 1118 2037 8/14/2013 3:27:48 PM 1118 2037 8/14/2013 3:27:48 PM 1118 2037 8/14/2013 3:27:48 PM 1118 2037 JE_CATEGORY Inventory Inventory Inventory Inventory JE_SOURCE Cost Management Cost Management Cost Management Cost Management .

PERIOD_NAME 01-2013 01-2013 01-2013 01-2013 NAME 01-JAN-2013 Inventory VND 01-JAN-2013 Inventory VND 01-JAN-2013 Inventory VND 01-JAN-2013 Inventory VND CURRENCY_CODE VND VND VND VND STATUS U U U U DATE_CREATED 8/14/2013 3:27:48 PM 8/14/2013 3:27:48 PM 8/14/2013 3:27:48 PM 8/14/2013 3:27:48 PM .

ACCRUAL_REV_FLAG N N N N MULTI_BAL_SEG_FLAG N N N N ACTUAL_FLAG A A A A DEFAULT_EFFECTIVE_DATE 1/1/2013 1/1/2013 1/1/2013 1/1/2013 .

TAX_STATUS_CODE N N N N CONVERSION_FLAG CREATION_DATE CREATED_BY 8/14/2013 3:27:48 PM 1118 8/14/2013 3:27:48 PM 1118 8/14/2013 3:27:48 PM 1118 8/14/2013 3:27:48 PM 1118 .

LAST_UPDATE_LOGIN ENCUMBRANCE_TYPE_ID BUDGET_VERSION_ID BALANCED_JE_FLAG .

BALANCING_SEGMENT_VALUE JE_BATCH_ID FROM_RECURRING_HEADER_ID UNIQUE_DATE 100420 100420 100420 100420 .

EARLIEST_POSTABLE_DATE POSTED_DATE ACCRUAL_REV_EFFECTIVE_DATE .

ACCRUAL_REV_PERIOD_NAME ACCRUAL_REV_STATUS ACCRUAL_REV_JE_HEADER_ID .

ACCRUAL_REV_CHANGE_SIGN_FLAGDESCRIPTION CONTROL_TOTAL Y Journal Import 525821: Y Journal Import 525821: Y Journal Import 525821: Y Journal Import 525821: .

RUNNING_TOTAL_DR RUNNING_TOTAL_CR RUNNING_TOTAL_ACCOUNTED_DR 66102 66102 66102 66102 66102 66102 66102 66102 66102 66102 66102 66102 .

RUNNING_TOTAL_ACCOUNTED_CR CURRENCY_CONVERSION_RATE 66102 1 66102 1 66102 1 66102 1 .

CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE EXTERNAL_REFERENCE User 1/1/2013 Journal Import Created User 1/1/2013 Journal Import Created User 1/1/2013 Journal Import Created User 1/1/2013 Journal Import Created .

PARENT_JE_HEADER_ID REVERSED_JE_HEADER_ID ORIGINATING_BAL_SEG_VALUE .

INTERCOMPANY_MODE DR_BAL_SEG_VALUE CR_BAL_SEG_VALUE ATTRIBUTE1 .

ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 .

ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 CONTEXT GLOBAL_ATTRIBUTE_CATEGORY .

GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 .

GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 .

GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 USSGL_TRANSACTION_CODE CONTEXT2 .

DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE JGZZ_RECON_CONTEXT JGZZ_RECON_REF 32 455 32 455 32 455 32 455 .

REFERENCE_DATE LOCAL_DOC_SEQUENCE_ID LOCAL_DOC_SEQUENCE_VALUE .

DISPLAY_ALC_JOURNAL_FLAG JE_FROM_SLA_FLAG POSTING_ACCT_SEQ_VERSION_ID Y Y Y Y .

POSTING_ACCT_SEQ_ASSIGN_ID POSTING_ACCT_SEQ_VALUE CLOSE_ACCT_SEQ_VERSION_ID .

CLOSE_ACCT_SEQ_ASSIGN_ID CLOSE_ACCT_SEQ_VALUE .

mtt.transaction_cost. . mtt. mtt.transaction_quantity.prior_cost.actual_cost.SELECT DISTINCT mtt.

mtt. mta. mtt._cost.ba .transaction_cost.new_cost. mta.primary_quantity. mta.transaction_value.

mta.unrounded_ente . xdl.ta.primary_quantity.accounted_cr. xal. xal.entered_dr.base_transaction_value.

xdl.* --gll. xdl. mta. .unrounded_entered_dr. glh.entered_dr.ted_cr.unrounded_entered_cr.*.

xla_dis .entered_cr FROM xla_transaction_entities_upg xte.glh.entered_dr. xla_events xe. --gll.* --gll.

mtl_transaction_accounts mta. xla_ae_headers xah.xla_events xe. xla_distribution_links xdl. xla_ae .

gl_import_references gir. --gl_je_lines ._ae_headers xah. xla_ae_lines xal. gl_je_headers glh.

transaction_id = 1907866 AN . mtl_material_transactions mtt WHERE 1 = 1 AND mtt.aders glh. --gl_je_lines gll.

transaction_id = 1907866 AN .ND mtt.