You are on page 1of 23

OUM

DS.140 DESIGN SPECIFICATION


Indus Towers Limited
Infra Services Additional PR process

Author: Surendra Darla


Creation Date: 42160Jun 18,
Last Updated: 42160Jun 18, June 26, 2015
Document Ref: DS-140-E039
Version: V1.1

Approvals:

<Approver 1>

<Approver 2>
DS.140 Design Specification Doc Ref: DS-140-E039
42160Jun 18, June 26, 2015

1 Document Control

1.1 Change Record


5

Date Author Version Change Reference


5-Jun-15 Surendra Darla Draft 1a No Previous Document
26-Jun-15 Surendra Darla 1.1 Updated

1.2 Reviewers

Name Position

Deepika Jain Senior Technical Developer


Dushmanta K Mohanty Senior Technical Developer

Unit Test Conditions2224172


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039
42160Jun 18, June 26, 2015

Contents

1 Document Control..................................................................................................... ii
1.1 Change Record........................................................................................................... ii
1.2 Reviewers.................................................................................................................... ii

2 Technical Overview................................................................................................... 1
2.1 Program flow Diagram................................................................................................ 1

3 Application Set up..................................................................................................... 2

4 Data Design............................................................................................................... 8
4.1 Data Design Table....................................................................................................... 8
4.2 Data Sources.............................................................................................................. 8
4.3 Archiving..................................................................................................................... 8

5 SQL Design................................................................................................................ 9
5.1 SQL Statements.......................................................................................................... 9
5.2 Performance Considerations.....................................................................................10

6 Interface Design...................................................................................................... 11
6.1 Service Design.......................................................................................................... 11
6.2 External Interface Design.......................................................................................... 11

7 Unit Test Conditions...............................................................................................13

8 Installation Considerations....................................................................................14

9 Open and Closed Issues.........................................................................................15


9.1 Open Issues.............................................................................................................. 15
9.2 Closed Issues............................................................................................................ 15

Unit Test Conditions2324173


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

2 Technical Overview
This technical design covers the technical design for creating the Additional PR Lines based on the
already existing PO. Additional lines would then be sent to the original PR requestor of that same PO
for approval/rejection. Upon approval of the PR, system would create the PR via PR open interface in
incomplete status and notify the requestor with the new PR number created so that the PR requestor
can view and approve the request.
The Technical design would cover below requirements:

Once the PR Additional Lines is submitted for the same PO, Workflow Notification will be triggered to the PO
Requestor for validating the additional PR Lines.

Once the PO Requestor Validated the Additional PR Lines he can change the status manually and he can submit
the request. Once the PR Requestor submits the request Workflow notification will be routed to the supplier.

Supplier can view the request from the Worklist Page in the application and he can accept the request.

Once request is accepted the Additional PR Lines will be inserted in to the standard tables by using import PR
Import/API.

Assumptions

1. The Status Lookup Should be configured before creating the Additional PR Lines.
2. Additional PR Lines should be created through appropriate responsibility.

2.1 Program flow Diagram

Create the Additional PR Lines


for the Existing PO By using
Custom OAF Page from I
Supplier Responsibility

Once the Additional PR Lines is


submitted Workflow Notification
will be routed to the PR
Requestor for validating the
Request.

Once the PR Requestor


Receives the Notification, can
change the status of the request
and he can submit to the
Unit Test Conditions2124171
Infra Services Additional PR process supplier..
File Ref: DS-140-E039-PA V1.0
DS.140 Design Specification Doc Ref: DS-140-E039

Supplier Will Receives the


notification and Supplier can
accept the request.
Once Accepted the Additional PR
Lines will be created into the
Statndarad Table.

Once the Additional PR Lines


created notification will be routed
to the PR Requestor.

End the Process.

2.1.1 Program Definition

Script Name / Package / Procedure / Function Name Description

Name Type

XXINDUS_E039_PO_ADDLINES_PKG Package Package is Used for Creating the Additional PR Lines.


XXINDUS_E039_PO_HEADERS_TAB Table Table is Used for the Creating the Additional PR Lines for
Header level Data.
XXINDUS_E039_PO_LINES_TAB Table Table is Used for the Creating the Additional PR Lines for Line
level Data.
XXINDUS_E039_DEBUG_LOG_TAB Table Error Log Table
XXINDUS_E039_DEBUG_ID_S Sequence Sequence used for the Error Log Table
XXINDUS_E039_REQ_ID_S Sequence Sequence used for the generating the request ID
XXINDUS_E039_SNO_ID_S Sequence Sequence used for the generating line level line id
XXINDUS_E039_PO_WF_ITEM_S Sequence Sequence used for the generating workflow item sequence.
XXINDUS_E039_PO_HEADERS_TAB Synonym Synonym is Used for the Creating the Additional PR Lines for
Header level Data.
XXINDUS_E039_PO_LINES_TAB Synonym Synonym is Used for the Creating the Additional PR Lines for
Line level Data.
XXINDUS_E039_DEBUG_LOG_TAB Synonym Synonym for Log Table
XXINDUS_E039_DEBUG_ID_S Synonym Synonym used for the Error Log Table
XXINDUS_E039_REQ_ID_S Synonym Synonym used for the generating the request ID
XXINDUS_E039_SNO_ID_S Synonym Synonym used for the generating line level line id
Unit Test Conditions2224172
Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

XXINDUS_E039_PO_WF_ITEM_S Synonym Synonym used for the generating workflow item sequence.

2.1.2 New/Updated Seed Data


NA

Lookup Type Application Code Meaning Access Level


XXINDUS PO LINE Purchasing XXINDUS PO Look up for Holding the User
STATUS LINE STATUS PO Additional Line
Statuses

Login to Applications

Go to Application Developer Responsibility

Select ApplicationLookupscommon

Provide the required details like Application , Lookup Type, Meaning.


Provide the Lookup values as shown in the below mentioned screenshot.

Unit Test Conditions2324173


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

After providing all the necessary information provided in the screenshot, Save the work done (ctrl+s).

2.1.3 Descriptive Flex field


NA
Application Title
Form Name Base Table
Segment Name Window Prompt Column Value Set Displayed Enabled

2.1.4 Value Sets

Value Descripti List Security Format Max Pr Numb Upperc Right Min Max Valid
Set on Type Type Type Size eci ers ase Justify Value Valu ation
Name sio Only Only e Type
n

2.1.5 Alerts
2.1.5.1 Alert Details
Alert Name Description Application

Unit Test Conditions2424174


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

2.1.6 Concurrent Program Executable

Executable Short Name Application Description Execution Execution File Name


Method

2.1.7 Concurrent Program Definition


2.1.7.1 Program Definition

Program Short Name Application Description Executable Method Output


Name Format

2.1.7.2 Incompatibilities
NA

Application Name Scope Type

2.1.7.3 Parameters Display

Se Parameter Description Enable Displa Concatenate Prompt Token


q d y Size d Description

2.1.7.4 Parameters Validation

Unit Test Conditions2524175


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

Se Value Set Default Type Default Value Range Req Enable


q . Security

2.1.7.5 Concurrent Request Group

Grou Application Code Description Request Type Name Application


p

2.1.8 Concurrent Request Set


2.1.8.1 Request Set
NA

Set Set Code Application Description Owner

2.1.8.2 Active Dates


NA

From To

2.1.8.3 Run Options


NA

Print Together Allow Incompatibility

2.1.8.4 Stages

Seq. Stage Description Stage Code Function Application Return Allow


Value Incomp-
affects atibility
set
outcome
NA

2.1.8.5 Stage Requests


NA
Stage Seq. Program Application Description Allow
Code Stage
Function to
Use This
Programs
Unit Test Conditions2624176
Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

Results

2.1.8.6 Print Options


NA
Program Copies Style Save Printer

2.1.8.7 Request Parameters


NA
Program Seq. Prompt Display Modify Shared Default Type Default
Parameter Value

2.1.8.8 Link Stages


NA
Set Set Application Start Stage

Display Name Stage to Proceed To Stage to Proceed To Stage to Proceed To


Sequence On: Success On: Warning On: Error

2.1.9 Profile Options


NA

Profile Name Default Value User Value

2.1.10 Messages
NA

Message Name Language Application Message Text

2.1.11 Menus
NA

Menu User Menu Name Description


JA_POS_NEW_APPLICATION_MENU JA India local iSupplier Application Menu
Seq. Navigator Prompt Submenu Function Description
1 PR Lines Tracker Indus Aditional PR Lines Indus Aditional PR Lines
Tracker Tracker
2 PR Lines View Page Indus Additional PR Lines Indus Additional PR Lines
View Page View Page

Unit Test Conditions2724177


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

2.1.12 Applications
NA

Application Short Name Basepath Description

2.1.13 Forms
NA

Form Application User Form Name Description

2.1.14 Functions
NA

Function User Function Name Type Description


XXINDUS_E039_ADD_PR_LINES PR Add Lines Page SSWA jsp function Custom OAF Page for Creating
Additional PR Lines
XXINDUS_E039_PR_VIEW_PG PR Lines View Page SSWA jsp function PR Additional Lines PG From
Workflow
XXINDUS_E039_PR_TRACKER PR Lines Tracker SSWA jsp function PR Additional Lines Tracker

2.1.14.1 Form
NA

Function Form Application Parameters

2.1.14.2 Web Host


NA
Function Host Name Agent Name Icon

2.1.14.3 Web HTML


NA
Function HTML Call Secured Encrypted Parameters

Unit Test Conditions2824178


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

2.1.15 XML Publisher Template Manager


2.1.15.1 Data Definition

Value

Data Definition Name

Data Definition Code

Executable Application

XML Schema

Preview Data

Description

2.1.15.2 Template

Value
Template Name

Template Code
Executable Application
Template Type
Template File
Default File Language
DefaultFileTerritory
Description

Unit Test Conditions2924179


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

3 Data Design

3.1 Data Design Table


Entity (Class) Attribute (Data Format Length Accessibility Validation Rules Required?
Field)
Person Name Alphanume 25 All Must exist in HR Yes
ric Database

3.2 Data Sources


<To be populated in case of interface>

Table Column Source Value

<table name> <column name <table>.<column>


<column 2> 'Literal string'
<column 3> (Description of derived value)

3.2.1 Tables, Indexes, Sequences


Tables:
Table Name: xxindus_e039_po_headers_tab
Script: CREATE TABLE XXINDUS.XXINDUS_POEXT01_PO_HEADERS_TAB
(
HEADER_ID NUMBER NOT NULL,
REQUEST_ID VARCHAR2(240),
PO_HEADER_ID NUMBER,
PO_NUMBER VARCHAR2(240),
REQ_CREATION_DATE DATE,
STATUS_FLAG VARCHAR2(2),
COMMENTS VARCHAR2(2000),
Unit Test Conditions210241710
Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

BUYER_ID NUMBER,
SUPPLIER_ID NUMBER,
CREATED_SUPPLIER_ID NUMBER,
APPROVER NUMBER,
ATTRIBUTE1 VARCHAR2(240),
ATTRIBUTE2 VARCHAR2(240),
ATTRIBUTE3 VARCHAR2(240),
ATTRIBUTE4 VARCHAR2(240),
ATTRIBUTE5 VARCHAR2(240),
ATTRIBUTE6 VARCHAR2(240),
ATTRIBUTE7 VARCHAR2(240),
ATTRIBUTE8 VARCHAR2(240),
ATTRIBUTE9 VARCHAR2(240),
ATTRIBUTE10 VARCHAR2(240),
LAST_UPDATED_BY NUMBER,
LAST_UPDATE_DATE DATE,
CREATION_DATE DATE,
CREATED_BY NUMBER,
LAST_UPDATE_LOGIN NUMBER,
WORKFLOW_ITEM_KEY VARCHAR2(240),
TOTAL_AMOUNT NUMBER,
TOTAL_LINES NUMBER
);

Table Name: xxindus_e039_po_lines_tab


Script: CREATE TABLE XXINDUS.XXINDUS_POEXT01_PO_LINES_TAB
(
LINE_ID NUMBER NOT NULL,
HEADER_ID NUMBER,
PO_LINE_ID NUMBER,
PO_HEADER_ID NUMBER,
LINE_TYPE VARCHAR2(240),
LINE_TYPE_ID NUMBER,

Unit Test Conditions211241711


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

LINE_NUM NUMBER,
ITEM_JOB VARCHAR2(240),
ITEM_ID NUMBER,
ITEM_DESCRIPTION VARCHAR2(240),
QUANTITY NUMBER,
UNIT_PRICE NUMBER,
TOTAL_PRICE NUMBER,
AMOUNT NUMBER,
UOM VARCHAR2(240),
UOM_CODE VARCHAR2(100),
STATUS VARCHAR2(100),
STATUS_FLAG VARCHAR2(2),
REASON VARCHAR2(240),
REMARKS VARCHAR2(240),
APPROVAL_STATUS VARCHAR2(2),
APPROVER VARCHAR2(240),
APPROVER_COMMENTS VARCHAR2(240),
ATTRIBUTE1 VARCHAR2(240),
ATTRIBUTE2 VARCHAR2(240),
ATTRIBUTE3 VARCHAR2(240),
ATTRIBUTE4 VARCHAR2(240),
ATTRIBUTE5 VARCHAR2(240),
ATTRIBUTE6 VARCHAR2(240),
ATTRIBUTE7 VARCHAR2(240),
ATTRIBUTE8 VARCHAR2(240),
ATTRIBUTE9 VARCHAR2(240),
ATTRIBUTE10 VARCHAR2(240),
LAST_UPDATED_BY NUMBER,
LAST_UPDATE_DATE DATE,
CREATION_DATE DATE,
CREATED_BY NUMBER,
LAST_UPDATE_LOGIN NUMBER
);

Unit Test Conditions212241712


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

Table Name: xxindus_e039_debug_log_tab


Script: CREATE TABLE XXINDUS.XXINDUS_POEXT01_DEBUG_LOG_TAB
(
ERROR_ID NUMBER NOT NULL,
PROGRAM_NAME VARCHAR2(240),
POSITION_NO NUMBER,
ERROR_MESSAGE VARCHAR2(2000),
LAST_UPDATED_BY NUMBER,
LAST_UPDATE_DATE DATE,
CREATION_DATE DATE,
CREATED_BY NUMBER,
LAST_UPDATE_LOGIN NUMBER ) ;
Sequences:
Sequence Name: xxindus_e039_po_wf_item_s
Script: CREATE SEQUENCE XXINDUS.XXINDUS_PO_WF_ITEM_S MINVALUE 1 MAXVALUE
9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE
NOPARTITION ;
Sequence Name: xxindus_e039 _debug_id_s
Script: CREATE SEQUENCE XXINDUS.XXINDUS_PO_WF_ITEM_S MINVALUE 1 MAXVALUE
9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE
NOPARTITION ;
Sequence Name: xxindus_e039_req_id_s
Script : CREATE SEQUENCE XXINDUS.XXINDUS_POEXT01_REQ_ID_S MINVALUE 1 MAXVALUE
9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE
NOPARTITION ;
Sequence Name: xxindus_e039_sno_id_s
Script: CREATE SEQUENCE XXINDUS.XXINDUS_POEXT01_SNO_ID_S MINVALUE 1 MAXVALUE
9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE
NOPARTITION ;
Synonyms:
Synonym Name: xxindus_e039_po_lines_tab
Script : CREATE OR REPLACE SYNONYM XXINDUS_POEXT01_PO_LINES_TAB FOR
XXINDU.XXINDUS_POEXT01_PO_LINES_TAB;
Synonym Name: xxindus_e039_sno_id_s
Script : CREATE OR REPLACE SYNONYM XXINDUS_POEXT01_SNO_ID_S FOR
XXINDU.XXINDUS_POEXT01_PO_LINES_TAB;

Unit Test Conditions213241713


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

Synonym Name: xxindus_e039_debug_log_tab


Script : CREATE OR REPLACE SYNONYM XXINDUS_POEXT01_DEBUG_LOG_TAB FOR
XXINDU.XXINDUS_POEXT01_PO_LINES_TAB;
Synonym Name: xxindus_e039_debug_id_s
Script : CREATE OR REPLACE SYNONYM XXINDUS_POEXT01_DEBUG_ID_S FOR
XXINDU.XXINDUS_POEXT01_PO_LINES_TAB;
Synonym Name: xxindus_e039_po_headers_tab
Script : CREATE OR REPLACE SYNONYM XXINDUS_POEXT01_PO_HEADERS_TAB FOR
XXINDU.XXINDUS_POEXT01_PO_LINES_TAB;
Synonym Name: xxindus_e039_req_id_s
Script : CREATE OR REPLACE SYNONYM XXINDUS_POEXT01_REQ_ID_S FOR
XXINDU.XXINDUS_POEXT01_PO_LINES_TAB;
Synonym Name: xxindus_e039_po_wf_item_s
Script : CREATE OR REPLACE SYNONYM XXINDUS_PO_WF_ITEM_S FOR XXINDU.XXINDUS_PO_WF_ITEM_S;

3.3 Archiving

3.3.1 Exception Handling


<Sample Attached>

3.3.2 Error & Message Processing

Code Description System Notification Corrective Action

Unit Test Conditions214241714


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

4 SQL Design
<to be populated in case of PlSQL/Report/Workflow package>

XXINDUS_PO_ADDLINES_PKG_SPEC.sql (Command Line)


Package Specification:

XXINDUS_PO_ADDLINES_PKG_BODY.sql (Command Line)


Package Body :

XXINDUS_PR_ADD_LINES_WF.wft
Workflow :

4.1 SQL Statements


Use Case Scenario 1 - Data Selection

Query fetching below columns:-


Class_code .
Filtering Data:-
Sample SQL Query 1:-
Query fetching below columns:-
Filtering Data:

4.2 Performance Considerations

Unit Test Conditions215241715


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

5 Interface Design
<Specific to Interface>

5.1 Service Design


<Use Case1 name/number>

<Service Name> is published for this component with the following arguments:

Argument Prompt Value Set Default Value

<Use Case2 name/number>

<Service Name> is published for this component with the following arguments:

Argument Prompt Value Set Default Value

5.2 External Interface Design

<Use Case1 name/number>

<Message Name> is sent or received by this component with the following arguments:

Argument Prompt Value Set Default Value

<Use Case2 name/number>

<Message Name> is sent or received by this component with the following arguments:

Argument Prompt Value Set Default Value

Unit Test Conditions216241716


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

Argument Prompt Value Set Default Value

Unit Test Conditions217241717


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

6 Unit Test Conditions


<Sample Attached below>

6.1.1 Unit Test Plan

Program Condition Condition Description Expected Results

XXINDUS PR Create the additional 1. Add the Additional PR Lines for the
Additional Lines PR Lines for the existing PO.
Process Existing PO from I 2. Add the Attachment for the new added Test Cases 1.doc
Supplier line.
Responsibility By 3. Delete option is provided to delete the
Using Custom OAF newly added line.
Page
4. Once the request is submitted control will
come to the Tracker Page i.e provision
provided to view all the Added additional
PR Lines.
XXINDUS PR Validating the request Once Supplier created the request notification will
Additional Lines by the Requestor be routed to the Requestor to validate the request.
Process Test_Case2.doc

XXINDUS Auto Validated requests Once Request is Accepted the Additional PR Lines
PR Creation will be accepted by will be created and notification will be sent to the
using Project the supplier Requestor. Test_Case3.doc
Creation Update

Unit Test Conditions218241718


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

7 Installation Considerations
NA

Unit Test Conditions219241719


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0


DS.140 Design Specification Doc Ref: DS-140-E039

8 Open and Closed Issues

8.1 Open Issues

ID Issue Resolution Responsibility Target Date Impact Date

8.2 Closed Issues

ID Issue Resolution Responsibility Target Date Impact Date

Unit Test Conditions220241720


Infra Services Additional PR process

File Ref: DS-140-E039-PA V1.0

You might also like