Professional Documents
Culture Documents
December, 2015
Duncan Klett, Leah McGuire, Paul Haviland
Host ERP
Extraction
Query Engine
Worksheet - Demand:
Input Data Calculated Data [filter] {fields,,,}
Analytic: Netting
Worksheet – SR
Part PartType Netting: PlannedOrder
SupplyOrder Netting: Activity
Worksheet – CPO
ScheduledReceipt Netting: IndDmd Extensions
Netting: SR Extensions
DemandOrder Etc…
IndependentDemand Worksheet – Supply
Union
BillOfMaterial
• Owner Table
– Netting owned by Part
– WhereConsumedForDemand owned by Analytics
IndependentDemand
• Cascading deletes
– Delete a record any record(s) referencing it will be
deleted Data
– Exception: Nullable Reference fields
Scenarios
9
12
Interdependent (one to Add all fields to an existing New tables, with a one-to-many
many relationships) fields to table relation to one another;
be added to the data model The new table at the top linked
Data
(though a reference) to an
existing table
13
SRC Source Component worksheet typically table based query worksheet not
in one of the other categories below
CMP Composite Intermediate Composite worksheet not in one of the other
categories below
SEL Selected Worksheet that is used with IN functions from other worksheets
so when it is used, the expression would be like Part IN SelParts!
LKP Lookup Worksheet that is used to perform Lookups
(can also be used for IN expressions)
INS Insert Command worksheet that is used for Insert Automation
UPD Update Command worksheet that is used for Update Automation
MOD Modify Command worksheet that is used for Modify Automation
DEL Delete Command worksheet that is used for Delete Automation
GET Get The worksheet where data for the Command worksheets
(Ins, Upd) is calculated
14
Suggestions:
• Leading columns (especially if GroupBy) should use Hide Duplicates
• Quantities use Hide Zeros
• Conditional formatting so negative numbers are Bold Red
• Editable fields use cyan or light yellow background
• Center Boolean fields and other “short” fields (often Site, Type, etc)
• Conditional formatting on Boolean fields so the “normal” case has light
grey (almost hidden) text and the “exception” case is normal text.
• Where data in a column typically exceeds column width, set adjacent
columns to CENTER their contents
• Define drill to details sheets when presenting aggregated data
• Highlight “exception” data with Bold Red text or Yellow background
15
Entering Returns
ASSERT(has PartSources, The fixed lead time for the part's source. However, if at
PrimaryPartSource.FixedLeadTime, 'There least one part returned does not have a part source
are parts without sources') defined, the query is canceled and the error message
"There are parts without sources" is displayed instead.
1 / ASSERT(StdUnitCost <> 0, One divided by the standard unit cost for the part.
StdUnitCost, 'Undefined unit costs') However, if at least one part returned does not have a
standard unit cost value, the query is canceled and the
error message "Undefined unit costs" is displayed instead.
16
17
Processes
18
• Create/Modify/Delete
– Data import/update
– Choose interactive, scheduled or automated operations
Analytics
• Record uniqueness
– Critical for quick access to a record
– Mapping data in key (string) fields impacts the system
Data
performance
Use Avoid
Keys Reference1, ID=Ref1+Ref2
Reference2, ID (string) + String
21
Processes
23
Processes
24
25
27
28
29
30
31
32
33
• Prepared examples:
1. Pegged demand and supply
2. Multi-site shortage report
3. Capture sales forecast
4. Firm-up near-in planned orders
5. Cross-tab to edit customer price
35
Requirement:
• Report all the parts, all levels, needed to satisfy selected end-item
demand
Solution – Alternatives
• What is report to be used for?
– Pegging to demand or supply?
– Which demands/supplies to report?
• WhereConsumedForDemand
• WhereConsumedForSupply
• WhereConsumed
36
37
38
39
• Decisions required:
– What is meant by 4 weeks: 4 Week, 28 Days, 1 Month??
– Shortage based on planning or AvailableDate?
• Report from Activity or CTPActivity
– How to handle “bad” data (blank ref part)
• Design
1. Running projected balance by Part (reference, includes Site)
2. Identify first shortage date and quantity by Part
3. Summarize to identify more than one part in Ref Part set
4. Final report:
Filter for multiple parts, Group to identify earliest
40
41
42
43
• Insert/Modify/Delete
ONLY Quantity, Unit Price, Value editable
(other columns act like keys)
• Group except above fields
Includes fields for autocreate headers
44
45
46
Determine new/changed
Near-in supply plan Firmed Planned Orders
to Sched Receipts
Calculate / update
Next order number
47
48
50