0% found this document useful (0 votes)
54 views14 pages

Analysis With Subledger EG Format - Tax Reporting CSV - DEM-02

The document appears to be notes related to building a report for international account analysis. It includes descriptions of columns to include in the report, SQL queries to retrieve various data elements like asset information and expenditure categories, and notes on the logic for allocating amounts to different report blocks. References are made to separate tabs or logic for determining block allocations. Various tables and columns that could be used to retrieve hierarchy and attribute data are also listed.

Uploaded by

Vijay Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views14 pages

Analysis With Subledger EG Format - Tax Reporting CSV - DEM-02

The document appears to be notes related to building a report for international account analysis. It includes descriptions of columns to include in the report, SQL queries to retrieve various data elements like asset information and expenditure categories, and notes on the logic for allocating amounts to different report blocks. References are made to separate tabs or logic for determining block allocations. Various tables and columns that could be used to retrieve hierarchy and attribute data are also listed.

Uploaded by

Vijay Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 14

new

new & extract from existing line

exist in EG format & RC Hierarchy reports


special note

Column name
PERIOD YEAR
BLOCK I AMOUNT USD
BLOCK O AMOUNT USD
TOTAL AMOUNT USD
Asset type

Asset Cost

Vendor number
Project Name

EXPENDITURE CATEGORY
AREA

RC NAME NUMBER

RC NAME

RC TYPE

RC USER KEY

L1 RC NAME

L1 RC TYPE

L1 RC USER KEY

L2 RC NAME

L2 RC TYPE

L2 RC USER KEY

L3 RC NAME

L3 RC TYPE

L3 RC USER KEY

L4 RC NAME

L4 RC TYPE
L4 RC USER KEY

L5 RC NAME

L5 RC TYPE

L5 RC USER KEY

L6 RC NAME

L6 RC TYPE

L6 RC USER KEY

L7 RC NAME

L7 RC TYPE

L7 RC USER KEY

L8 RC NAME

L8 RC TYPE

L8 RC USER KEY

L9 RC NAME

L9 RC TYPE

L9 RC USER KEY

L10 RC NAME

L10 RC TYPE

L10 RC USER KEY


PARAMETERS:

single, multiple, range accounts

RUN FOR Jrnl Status = "P"

Note ORDER
Extract from Jrnl Period 5
After allocation ( see LOGIC separate tab) 19
After allocation ( see LOGIC separate tab) 20
After allocation ( see LOGIC separate tab) 21
29

30

35
37
SQL for Expenditure Category:
select expenditure_type, expenditure_category 40
from pa.pa_expenditure_types
49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64
65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83
Notes:

Report: INTL Account Analysis with Subledger EG Format csv


- Problem runing ITD data for any specific account /s

FROM
From: INTL Account Analysis with Subledger EG Format csv

HERE IS THE SQL TO CAPTURE Asset Type & Asset Cost


select pa.project_id,
pa.project_number,
pa.asset_number,
pa.asset_name,
pa.asset_type,
pa.CAPITALIZED_COST cost
from apps.PAFG_ASSETS pa
where pa.project_number = :proj_num

HERE IS THE SQL TO CAPTURE Asset Type & Asset Cost


select pa.project_id,
pa.project_number,
pa.asset_number,
pa.asset_name,
pa.asset_type,
pa.CAPITALIZED_COST cost
from apps.PAFG_ASSETS pa
where pa.project_number = :proj_num

From: Table = ap_suppliers Column: segment1


From: Table = gl_je_lines Column: attribute9
Area can be captured as follows:
select ppa.segment1 project_number,
ppe.c_ext_attr2 company_code,
ppe.c_ext_attr1 RC,
h.l6_rc_name area
from pa.pa_projects_all ppa,
PA.PA_PROJECTS_ERP_EXT_B ppe,
apps.eb_rc_hierarchy_flat_v h
where ppa.project_id = ppe.project_id
and ppe.attr_group_id = 101
and ppa.segment1 = '200400'
and h.rc_user_key = ppe.c_ext_attr1
and H.HIERARCHY_UID = 300204
and h.l6_rc_type = 'AREA'

From: Table = apps.eb_rc_hierarchy_flat_v Column: RC_NAME||RC_USER_KEY


where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: RC_NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: RC_TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: RC_USER_KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L1 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L1 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L1 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L2 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L2 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L2 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L3 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L3 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L3 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L4 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L4 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L4 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L5 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L5 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L5 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L6 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L6 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L6 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L7 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L7 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L7 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L8 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L8 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L8 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L9 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L9 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L9 RC USER KEY
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L10 RC NAME
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L10 RC TYPE
where hierarchy_uid = 30024
From: Table = apps.eb_rc_hierarchy_flat_v Column: L10 RC USER KEY
where hierarchy_uid = 30024
COMMENT 2 COLUMN TITLE
Period Year
SEE LOGIC ON TAB ==> LOGIC FOR BLK ALLOCATION Block I Amt (USD)
SEE LOGIC ON TAB ==> LOGIC FOR BLK ALLOCATION Block O Amt (USD)
SEE LOGIC ON TAB ==> LOGIC FOR BLK ALLOCATION Total Amt (USD)
Asset Type

Asset Cost

Vendor Number
Project Name

Expenditure Cat
Area

RC Name Number

RC Name

RC TYPE

RC User Key

L1 RC Name

L1 RC Type

L1 RC User Key

L2 RC Name

L2 RC Type

L2 RC User Key

L3 RC Name

L3 RC Type

L3 RC User Key

L4 RC Name

L4 RC Type
L4 RC User Key

L5 RC Name

L5 RC Type

L5 RC User Key

L6 RC Name

L6 RC Type

L6 RC User Key

L7 RC Name

L7 RC Type

L7 RC User Key

L8 RC Name

L8 RC Type

L8 RC User Key

L9 RC Name

L9 RC Type

L9 RC User Key

L10 RC Name

L10 RC Type

L10 RC User Key


BLOCK ACCOUNTED AMOUNT ALLOCABLE BLOCK I

based on
BI AF Y/N based on logic account
below ed
amount

BLOCK I N
BLOCK O N
EG ALLOCABLE SG&A-BILL Y
EG ALLOCABLE SG&A-NONBILL Y
ALEN AREA UNIT Y
EQUATORIAL GUINEA Y

FUTURE BLOCKS N
BLOCK O TOTAL

based on
accounte Total Allocation
D+E percentages
d amount

n/a
n/a
50/50
50/50
5% Blk I / 95% Blk O
50/50
Entire amount = in Total field and NONE under
n/a Block I or Block O

You might also like