12.12.2016 Views

bomtrm

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CST_MARGIN_TEMP<br />

CST_MARGIN_TEMP temporarily stores the detailed information that<br />

is used to build Margin Analysis Reports. Like CST_MARGIN_BUILD,<br />

Margin Analysis Load Run and Purge Margin Analysis Load Run<br />

requests populate and remove records from this table.<br />

Foreign Keys<br />

Primary Key Table Primary Key Column Foreign Key Column<br />

RA_CUSTOMER_TRX_ALL CUSTOMER_TRX_ID CUSTOMER_TRX_ID<br />

RA_CUSTOMER_TRX_LINES_ALL CUSTOMER_TRX_LINE_ID CUSTOMER_TRX_LINE_ID<br />

SO_HEADERS_ALL HEADER_ID HEADER_ID<br />

SO_LINES_ALL LINE_ID LINE_ID<br />

SO_LINES_ALL LINE_ID PARENT_LINE_ID<br />

Column Descriptions<br />

Name Null? Type Description<br />

LEGAL_ENTITY_ID NULL NUMBER Legal Entity Identifier<br />

BUILD_ID (PK) NOT NULL NUMBER Build identifier<br />

SOURCE NOT NULL VARCHAR2(15) Identifies source of the record<br />

ROW_TYPE NOT NULL NUMBER Identifies the type of a sales<br />

order line<br />

ORIGIN NOT NULL NUMBER Identifies the origin of the<br />

record<br />

INVOICE_SOURCE NULL VARCHAR2(30) Source of the invoice<br />

PARENT_ROWID NULL ROWID Identifier of SO_ORDER_LINES<br />

ORDER_NUMBER NULL NUMBER Order number of the sales order<br />

ORG_ID NULL NUMBER Operating unit<br />

HEADER_ID NULL NUMBER Order header identifier<br />

ORDER_TYPE_ID NULL NUMBER Order type identifier<br />

CUSTOMER_ID NULL NUMBER Customer identifier<br />

SOLD_TO_CUSTOMER_NAME NULL VARCHAR2(50) Customer name based on customer<br />

identifier<br />

PRIMARY_SALESREP_ID NULL NUMBER Primary sales representative<br />

identifier<br />

SALES_CHANNEL_CODE NULL VARCHAR2(30) Sales channel code identifier<br />

PARENT_INVENTORY_ITEM_ID NULL NUMBER Parent inventory item<br />

identifier in case of a<br />

non–standard item<br />

PARENT_ORGANIZATION_ID NULL NUMBER Organization identifier for the<br />

parent item<br />

PARENT_LINE_ID NULL NUMBER Line identifier for the parent<br />

line<br />

PARENT_LINE_NUMBER NULL NUMBER Line number for the parent line<br />

PARENT_ITEM_TYPE_CODE NULL VARCHAR2(30) Type identifier of the parent<br />

item, i.e. Standard, Model,<br />

Class, etc.<br />

PARENT_ATO_FLAG NULL VARCHAR2(1) Flag indicating if the order<br />

line is for ATO<br />

INVENTORY_ITEM_ID NULL NUMBER Inventory item identifier for<br />

the child line<br />

ORGANIZATION_ID NULL NUMBER Organization identifier for the<br />

child line<br />

LINE_ID NULL NUMBER Line identifier for the child<br />

line<br />

LINE_TYPE_CODE NULL VARCHAR2(30) Line type code for the child<br />

line<br />

Oracle Proprietary, Confidential Information––Use Restricted by Contract<br />

Detailed Design<br />

3 – 343

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!