340 likes | 474 Views
VirtualWorks. E N G I N E E R I N G CONTROL. Download RCN. Requirements Engineering. Publish RCN. Download ECR. Design Engineering. Publish ECR. Engineering. Design Engineering. The blueprint structure is transformed to a formal engineering structure
E N D
E N G I N E E R I N G CONTROL Download RCN Requirements Engineering Publish RCN Download ECR Design Engineering Publish ECR Engineering
Design Engineering • The blueprint structure is transformed to a formal engineering structure • Business requirements are analyzed to generate the component data model • Design refinements provides the option to manually define the engineering structure
Design Engineering Engineering Control Requirement Engineering Design Engineering Design Refinements
Planning &Control Design Engineering Download RCN Requirements Engineering Publish RCN Create and Release RCN Download ECR Design Engineering Publish ECR Create and Release ECR Construction / Code Generation Create and Release ICO Engineering
Download ECR Design Engineering Activities Publish ECR Design Engineering
Design Engineering • Design Engineering involves • Data Modeling • Service generation • Method Detailing • Design Refinements
Design Engineering • Define Business terms derived from the UI controls stored as Bt Synonyms • Data Modeling • BO design • Logical data modeling • Mapped to table structures • Generate Service Structure • Define/Refine Service Structure
Design Engineering • BT synonyms are the real life representation of dataitems on the UI • Like BT synonyms, used in the same business context, are associated to a Business Term Empcode Empcode ManagerCode SupervisorCode
Business Objects • A component implements functionality through Business Documents • A Business Document contains a hierarchical data model and is termed as a Business Object (BO)
BO-Hierarchy- Data Segments PO Main Segment PO Number <Key> PO Date Vendor Code PO Currency PO Amount Item List Segment PO Number <Key, related to the same value in the PO Main Segment> Item Code<Key> Quantity Value Schedule Segment PO Number<Key > Item Code<Key> Schedule Number<Key> Quantity
Business Objects • Each level in a Business Object(BO) hierarchy is called a Data Segment • The persistent image of a Data Segment will be implemented as a database table • A Data Segment is a structure of data items/data elements • Data Items in a Data Segment map to Business Term Synonyms
Design Engineering • Service Generation • Services are generated for actions • Service structure is generated based on action patterns and control mapping • Service structure consists of service data structure, processing logic and data binding logic
Design Engineering • Method Detailing • Methods are generated based on action patterns and action-control mapping • Method parameters are generated based on action control mapping • Methods wrap the stored procedures for accessing the database
Service 1 Service Segment 1 Service Segment 2 Process Section 1 Service 1 SP 1 Method1 Method 1 SP 2 Method2 Method 2 Method 3 SP 3 Service Hierarchy
Action = Update Employee Info Update Employee Header Info Update Employee Detail Info Display generated employee code Design Engineering: Pattern Identification • The various design elements that comprise a service are generated based on behavioural patterns
Design Engineering: Action Pattern Attributes • Refresh on Save • Validate On Initialize • Separate Method for Message Handling • Include Message Placeholders • Conditional Multiline Fetch • Clear On Page Save • Header Fetch Required • ML Fetch Required • Separate Header Refresh Required • Separate Header Check Required • Process Only Selected Rows • Should User Role be Mapped to All Methods • Transaction Scope Required
Service 2 PS 2 Method3 Method4 Integration Services • A service that may be called from another service is called an Integration Service Service 1 PS 1 Service 2 Method 1 Method1 Method2
Design Engineering • The elements of a generated service can be refined in terms of • Process Sections and its sequence • Methods and its sequence • Integration Service and its data items • A Method can be refined in terms of • Method parameters • Messages mapped • Method documentation
Engineering Control • Download ECR • Download Released ECR for Design Engineering activities
Engineering Control • Setup Design Preferences. • Specify for each component, • The prefixes to be used for the design entities • The default values to be substituted for the standard data types
Design Engineering • Maintain BT • Define Precision values for the numeric type of business term synonyms to represent data with multiple precisions • Define business terms. • Associate the appropriate precision type to numeric business terms. • Map the business terms to business term synonyms.
Design Engineering • Engineer Data • Define • Business Objects • Business Object segments • Business Object segment dataitems for every component
Design Engineering • Generate Services • Default/Specify prefixes for the UI controls • Define Hidden view for UI controls • Map new action pattern to actions if required. • Map actions to relevant controls on the UI to generate service • View the generated service entities
Design Engineering • Refine Services • Refine a service by • Unmapping Process sections • Changing process section sequence • Unmapping methods • Changing method sequence • Mapping it to a new stored procedure. • Mapping integration services and IS data items
Design Engineering • Refine Methods • Refine methods by • Unmapping parameters • Defining design error messages • Unmapping messages • Adding method documentation • View Requirement to design method mapping
Design Engineering • Publish ECR • Completion of Design activities
Design Engineering Release ECR Download ECR Maintain BT Engineer Data Data modeling Generate Services Refine Services Refine Methods Service generation Design Service Design Method Handle Messages Design Refinements Publish ECR
Design Engineering Design Refinements Define Services DefineMethods HandleMessages
Design Refinements • Design Service • Define a new service/Integration Service • Associate Service to action • Define Service Segments • Define Service segment Data items • Define Process sections • Define Process section rules • Map IS service segment Data items • Map method parameters to service segment Data items • Map service segment Data items to UI controls
Design Method • Define methods • Define method parameters • Map the relevant Business rules to the methods • Add method documentation
Handle Messages • Define messages • Associate them to the relevant requirement messages • Map the relevant messages to the methods • Map message placeholders to the relevant • Method parameters • Service segment data items
Design Engineering Engineering Control Download/ Publish ECR Maintain BT Engineer Data Generate Services Refine Services Refine Methods Design Engineering Handle Messages Design Services Design Method Design Refinements