12.12.2016 Views

bomtrm

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BOM_ORG_CAL_WEEKS_VIEW<br />

This view lets you see data from BOM_CAL_WEEK_START_DATES<br />

without knowing the calendar and the exception set for any given<br />

organization. This view joins with MTL_PARAMETERS and finds the<br />

calendar name and exception set an organization is pointing to. Further,<br />

joining to BOM_CAL_WEEK_START_DATES gives the week start date,<br />

sequence number, next date, and prior date.<br />

View Definition<br />

CREATE VIEW BOM_ORG_CAL_WEEKS_VIEW<br />

as SELECT<br />

mtl.organization_id,<br />

bom.week_start_date,<br />

bom.seq_num,<br />

bom.next_date,<br />

bom.prior_date<br />

FROM BOM_CAL_WEEK_START_DATES BOM<br />

, MTL_PARAMETERS MTL<br />

where mtl.calendar_code = bom.calendar_code<br />

and mtl.calendar_exception_set_id = bom.exception_set_id<br />

Foreign Keys<br />

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

BOM_CAL_WEEK_START_DATES WEEK_START_DATE WEEK_START_DATE<br />

SEQ_NUM<br />

SEQ_NUM<br />

NEXT_DATE<br />

NEXT_DATE<br />

PRIOR_DATE<br />

PRIOR_DATE<br />

MTL_PARAMETERS ORGANIZATION_ID ORGANIZATION_ID<br />

Column Descriptions<br />

Name Null? Type Description<br />

ORGANIZATION_ID (PK) NOT NULL NUMBER Organization identifier<br />

WEEK_START_DATE (PK) NOT NULL DATE Week start date<br />

SEQ_NUM NOT NULL NUMBER Sequence number<br />

NEXT_DATE NOT NULL DATE Next date<br />

PRIOR_DATE NOT NULL DATE Prior date<br />

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

3 – 192 Oracle Bills of Material Technical Reference Manual

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

Saved successfully!

Ooh no, something went wrong!