100% found this document useful (1 vote)
307 views

MD070 Technical Design Document - Delivery Note Report-REP - TRU.009

This document provides an overview of the technical design for a delivery note report concurrent program in the Truitt EBS system. It describes the program logic, parameters, output, tables and views used, SQL statements, and integration with other components. It also addresses database changes needed, including any new or updated seed data, tables, indexes, and sequences. Finally, it outlines installation requirements and lists open issues to be resolved.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
307 views

MD070 Technical Design Document - Delivery Note Report-REP - TRU.009

This document provides an overview of the technical design for a delivery note report concurrent program in the Truitt EBS system. It describes the program logic, parameters, output, tables and views used, SQL statements, and integration with other components. It also addresses database changes needed, including any new or updated seed data, tables, indexes, and sequences. Finally, it outlines installation requirements and lists open issues to be resolved.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 17

AIM

MD.070 APPLICATION EXTENSION


TECHNICAL DESIGN

Truitt EBS Implementation


Delivery Note Report
(REP-TRU-009)

Author: Srinivas Dirisala


Creation Date: March 13, 2022
Last Updated: March 13, 2022
Document Ref: MD050 Functional Specification Document-Delivery Note Report
Version: DRAFT 1A

Approvals:

<Approver 1>

<Approver 2>
MD.070 Application Extension Technical Design Doc Ref MD70. Delivery Note Report
Version 1.0

Document Control

Change Record
1

Date Author Version Change Reference

17-Oct-211 Srinivas Dirisala Draft 1A No Previous Document

Reviewers

Name Position

Baxter Technical Support


Baxter Technical Support
Solution Architect
Solution Architect
Tech Team Lead

Distribution

Copy No. Name Location


1
Library Master Project Library
2 Project Manager
3
4

Note To Holders:

If you receive an electronic copy of this document and print it out, please write your
name on the equivalent of the cover page, for document control purposes.

If you receive a hard copy of this document, please write your name on the front
cover, for document control purposes.

File Ref: MD70. Delivery Note Report (v. DRAFT 1 ) Open and Closed Issues for this Deliverable 13 of 17
MD.070 Application Extension Technical Design Doc Ref MD70. Delivery Note Report
Version 1.0

Contents

Document Control...................................................................................................................ii

Technical Overview.................................................................................................................1
Approach............................................................................................................................1
Related Documents..........................................................................................................1
Module List........................................................................................................................2
Concurrent Program Details...........................................................................................2
Report Logic..............................................................................................................................3
Concurrent Program Parameters...................................................................................3
Log Output........................................................................................................................3
Output – Load Mode........................................................................................................3
Table and View Usage.....................................................................................................3
Program Logic (pseudo code)........................................................................................4
SQL Statements.................................................................................................................4
Default Data Sources........................................................................................................4
Validation Logic................................................................................................................4
Incompatibility..................................................................................................................5
Performance Considerations...........................................................................................5
Other Considerations.......................................................................................................5
Integration Issues.....................................................................................................................6
Changes Required.............................................................................................................6
Shared Components.........................................................................................................6
Alert conditions................................................................................................................6
Incompatibilities................................................................................................................6
Performance Issues...........................................................................................................6
Database Design.......................................................................................................................7
Desired Table Changes....................................................................................................7
New/Updated Seed Data................................................................................................7
Descriptive Flexfields.......................................................................................................7
Value Sets...........................................................................................................................7
Grants/Synonyms............................................................................................................7
Archiving...........................................................................................................................7
Database Diagram............................................................................................................7
Tables, Indexes, Sequences.............................................................................................7
Installation Requirements.......................................................................................................8

Implementation Notes.............................................................................................................9
Installation.........................................................................................................................9
Open and Closed Issues for this Deliverable....................................................................10

File Ref: MD70. Delivery Note Report (v. DRAFT 1 ) Open and Closed Issues for this Deliverable 13 of 17
MD.070 Application Extension Technical Design Doc Ref MD70. Delivery Note Report
Version 1.0
Open Issues......................................................................................................................10
Closed Issues...................................................................................................................10

File Ref: MD70. Delivery Note Report (v. DRAFT 1 ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Technical Overview

This document defines the technical components required for custom report ‘BNA
Delivery Note Report. This Application Extension Technical Design document complements
the Application Extension Functional Design document for MD050 Functional Specification
Document-Delivery Note Report and you should consider the set to be the complete detailed
design.

Report Names:

 BNA Delivery Note Report

Approach

Note: If the Functional Design included a Technical Overview section, duplicate that i n formation here and add
additional details.

The design is based on the following assumptions:

The ‘BNA Delivery Note Report ' concurrent program is to be developed using XML publisher and oracle reports
to achieve the desired print output requested by the business.

- The concurrent program definition for the report should take the “Warehouse, Delivery Name, Print Customer
Item, Item Display Option, Print Mode, Sort Option, Delivery Date (Low), Delivery Date (High), Freight Carrier,
Quantity Precision, Display Unshipped Items and Debug Flag” as parameters for filtering the output result.

Related Documents

Document Name Document Location

Truitt EBS Implementation MD050 Functional Specification Baxter Sharepoint


Document - Delivery Note Report

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Module List

Con cur rent Pr ogr a m s

Delivery Note Report Concurrent program to generate the


output of PDF reports for the items that
are shipped.

Concurrent Program Details

Concurrent Program Names: Delivery Note Report

Short Name: XXBNAOMDELNOTEREP

Application: Fixed Assets

Executable Name: XXBNAOMDELNOTEREP

Executable File Name: XXBNAOMDELNOTEREP

Output Format: PDF

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Report Logic
Concurrent Programs “Delivery Note Report” will generate the required Output in PDF format.
Required data will get fetched using SQL Query.

Sample OutPut
The report output should get printed with the below layout provided from business.

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Concurrent Program Parameters

Sequence Parameter Name Value Set Prompt Token

10 P_WAREHOUSE BNA_SRS_WAREHOUSE Delivery Name P_WAREHOUSE

20 P_DELIVERY_NAME BNA_SRS_DELIVERY_NAME Print Customer P_DELIVERY_NAME


Item

30 P_CUST_ITEM BNA_SRS_CUST_ITEM Item Display P_CUST_ITEM


Option

40 P_ITEM_DISPLAY_OPTIO BNA_SRS_ITEM_DISPLAY_OP Print Mode P_ITEM_DISPLAY_OPTION


N TION

50 P_PRINT_MODE BNA_SRS_PRINT_MODE Sort Option P_PRINT_MODE

60 P_SORT_OPTION BNA_SRS_SORT_OPTION Delivery Date P_SORT_OPTION


(Low)

70 P_DELIVERY_DT_LOW FND_STANDARD_DATE Delivery Date P_DELIVERY_DT_LOW


(High)

80 P_DELIVERY_DT_HIGH FND_STANDARD_DATE Freight Carrier P_DELIVERY_DT_HIGH

90 P_FREIGHT_CARRIER BNA_SRS_FREIGHT_CARRIE Quantity Precision P_FREIGHT_CARRIER


R

100 P_QUANTITY_PRECISION BNA_SRS_QUANTITY_PRECI


SION
Display P_QUANTITY_PRECISION
Unshipped Items

110 P_DISPLAY_UNSH_ITEMS FND_SRS_YES_NO Debug Flag P_DISPLAY_UNSH_ITEMS

120 P_DEBUG_FLAG FND_SRS_YES_NO Delivery Name P_DEBUG_FLAG

Log Output

Output – Load Mode

 Output will be in PDF Format

Table and View Usage

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Table Name Select Insert Update Delete

OE_ORDER_HEADERS_ALL X

OE_ORDER_LINES_ALL X

WSH_DELIVERY_DETAILS X

WSH_DELIVERY_ASSIGNMENTS X

MTL_SYSTEM_ITEMS X

MTL_TXN_REQUEST_LINES X

RA_SALESREPS_ALL X

HR_OPERATING_UNITS X

OE_TRANSACTION_TYPES_TL X

ORG_ORGANIZATION_DEFINITIONS X

Program Logic (pseudo code)

SQL Statements

SELECT DISTINCT oeh.flow_status_code header_status,


  oel.flow_status_code line_status,
  DECODE (wdd.released_status, 'S', 'SUBMITTED FOR RELEASE', 'R', 'READY TO RELEASE',
'B', 'BACKORDERED', 'Y', 'STAGED', 'C', 'SHIPPED', 'D', 'CANCELLED') released_status,
  NVL(oel.invoice_interface_status_code, 'NO') ar_interfaced,
  oeh.creation_date,  (SELECT name
  FROM apps.oe_order_sources
  WHERE order_source_id = oeh.order_source_id
  ) hdr_source,
  oeh.header_id,
  oeh.org_id header_org_id,
  (SELECT hou.name
  FROM hr_operating_units hou
  WHERE hou.organization_id = oeh.org_id
  ) header_ou,
  oeh.order_number,
  (SELECT ott.name
  FROM apps.oe_transaction_types_tl ott
  WHERE ott.transaction_type_id = oeh.order_type_id
  ) order_type,
  oeh.cust_po_number,
  oeh.fob_point_code,
  oeh.shipping_method_code,
  (SELECT name
  FROM apps.ra_salesreps_all rsa

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0
  WHERE rsa.salesrep_id = oeh.salesrep_id
  ) salesrep_name,
  oeh.transactional_curr_code trx_curr,
  oeh.ship_to_contact_id, -- contact_id in ra_contacts, ship to contact
  oeh.sold_to_contact_id, -- contact_id in ra_contacts, customer level contact
  oeh.ship_to_org_id,     -- site_use_id in hz_cust_site_uses_all
  oeh.sold_to_org_id,     -- cust_account_id in hz_cust_accounts
  oel.creation_date line_creation_date,
  oel.last_update_date line_upd_date,
  (SELECT user_name FROM apps.fnd_user WHERE user_id = oel.last_updated_by
  ) line_upd_by,
  oel.line_id,
  RTRIM ( oel.line_number
  || '.'
  || oel.shipment_number
  || '.'
  || oel.option_number
  || '.'
  || oel.component_number, '.') line_number,
  oel.org_id line_org_id,
  (SELECT hou.name
  FROM hr_operating_units hou
  WHERE hou.organization_id = oel.org_id
  ) line_ou,
  (SELECT ROUND (SUM (cic.item_cost), 2)
  FROM apps.cst_item_costs cic
  WHERE cic.inventory_item_id = MSI.inventory_item_id
  AND cic.organization_id     = MSI.organization_id
  AND cic.cost_type_id        = 1
  ) cogs,
  oel.unit_selling_price usp,
  oel.tax_code,
  oel.tax_value,
  oel.ordered_quantity ord_qty,
  (SELECT ott.name
  FROM apps.oe_transaction_types_tl ott
  WHERE ott.transaction_type_id = oel.line_type_id
  ) line_type,
  oel.schedule_ship_date,
  oel.promise_date,
  oel.latest_acceptable_date latest_acc_date,
  oel.request_date,
  oel.request_id,
  (SELECT a.order_number
  FROM apps.oe_order_headers_all a,
    apps.oe_order_lines_all b
  WHERE a.header_id = b.header_id
  AND b.line_id     = oel.attribute17
  ) icso_number,
  oel.attribute17 icso_line_id,
  (SELECT RTRIM ( oola.line_number
    || '.'
    || oola.shipment_number
    || '.'
    || oola.option_number
    || '.'
    || oola.component_number, '.')
  FROM apps.oe_order_lines_all oola
  WHERE oola.line_id = oel.attribute17
  ) icso_line_num,

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0
  NVL (oel.attribute18, 'EXTERNAL SO') attribute18,
  oel.attribute19 pto_model,
  oel.global_attribute1 flag_3A4,
  oeh.Global_Attribute3 hdr_attr3,
  oel.Global_Attribute3 line_attr3,
  oeh.Global_Attribute4 hdr_attr4,
  oel.Global_Attribute4 line_attr4,
  oel.booked_flag,
  oel.open_flag,
  oeh.booked_date,
  (SELECT set_name FROM apps.oe_sets WHERE set_id = oel.ship_set_id
  ) ship_set_name,
  oel.subinventory,
  oel.top_model_line_id,
  msi.item_type,
  msi.inventory_item_id item_id,
  msi.segment1 item_num,
  msi.shippable_item_flag,
  (SELECT ood.organization_name
  FROM apps.org_organization_definitions ood
  WHERE ood.organization_id = msi.default_shipping_org
  ) default_shipping_org,
  oel.ship_from_org_id,
  (SELECT ood.organization_name
  FROM apps.org_organization_definitions ood
  WHERE ood.organization_id = oel.ship_from_org_id
  ) ship_from_org,
  wdd.last_update_date del_upd_date,
  (SELECT user_name FROM apps.fnd_user WHERE user_id = wdd.last_updated_by
  ) del_upd_by,
  wda.delivery_id,
  wdd.delivery_detail_id,
  wdd.move_order_line_id,
  wdd.request_id del_request_id,
  mtrl.from_subinventory_code from_subinv,
  mtrl.to_subinventory_code to_subinv,
  mtrl.quantity_delivered qty_delivered,
  mtrl.pick_slip_number,
  mtrl.pick_slip_date,
  oel.actual_shipment_date
FROM apps.oe_order_headers_all oeh,
  apps.oe_order_lines_all oel,
  wsh.wsh_delivery_details wdd,
  apps.wsh_delivery_assignments wda,
  apps.mtl_system_items msi,
  apps.mtl_txn_request_lines mtrl
WHERE oeh.header_id        = oel.header_id
AND oel.line_id            = wdd.source_line_id(+)
AND wdd.delivery_detail_id = wda.delivery_detail_id(+)
AND msi.inventory_item_id  = oel.inventory_item_id
AND oel.ship_from_org_id   = msi.organization_id
AND mtrl.line_id(+)        = wdd.move_order_line_id
AND oeh.order_number      IN (':p_order_number')
ORDER BY line_number,
  line_id,
  delivery_id

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Performance Considerations

Other Considerations

Restart Strategy

Crash Recovery

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Integration Issues

Changes Required

Within Product

No changes required

Other Products

No changes required

Shared Components

INV

None

BOM

None

ENG

None

MPS/MRP

None

WIP

None

Alert conditions

None.

Incompatibilities

None.

Performance Issues

None.

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Database Design
This section summarized new and changed database objects and data required to
support. However, the complete database design is documented in the Database
Extensions Design document.

Desired Table Changes

None

New/Updated Seed Data

None

Descriptive Flexfields

None.

Value Sets

Grants/Synonyms

Owner Object Grantees

Archiving

No need to archive.

Database Diagram

No new tables

Tables, Indexes, Sequences

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Installation Requirements
Installation scripts must be prepared to perform the following actions in an automated
way:

1. Register concurrent Programs.


2. Define Value Sets for Parameters.
3. Create Data Definition/Template throug XML Publisher Adminstrator
Responsibility.
4. Upload Data Definition and Upload Data Template

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Implementation Notes
Development was done to work with Oracle Release 12 Vesion.

See the Link Test scripts for more information.

Installation

All modules are installed as if part of a separate product. A UNIX directory structure is created under $APPL_TOP
as shown in the following example:
$APPL_TOP
|
FA
|
1.0.0
___________________________|___________________________________
| | | | | | | | |
forms bin src sql log out srw install sql

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17
Doc Ref MD70. Delivery Note Report
Version 1.0

Open and Closed Issues for this Deliverable

Open Issues

ID Issue Resolution Responsibility Target Date Impact


Date

Closed Issues

ID Issue Resolution Responsibility Target Date Impact


Date

File Ref: MD70. Delivery Note Report (v. ) Open and Closed Issues for this Deliverable 13 of 17

You might also like