Return to:
Database Reference Home Page
Return to:
Table Definitions Master List
*Table Name*
item_plan_week
*Description*
*Schema*
CREATE TABLE item_plan_week (
"item_plan_id" integer
NOT NULL
REFERENCES item_plan_master (item_plan_id), -- Plan Identifier
"line_type" varchar(10)
NOT NULL, -- Plan Line Type ('plan'|'forecast')
"month" integer
NOT NULL, -- Month (1-12)
"week_of_month" integer
NOT NULL, -- Week of month (1-5)
"week_of_year" integer
NOT NULL, -- Week of year (1-53)
"units" integer
DEFAULT 0, -- Units for this week
"retail" numeric(12,2)
DEFAULT 0.00, -- Retail Price for this week
UNIQUE(item_plan_id, line_type, month, week_of_month)
);
There are no comments on this page. [Add comment]