Generic TradingPartnerOrder business object

The generic TradingPartnerOrder business object is designed to contain information that supports both sales orders and purchase orders. This business object contains both buyer and supplier names, purchase order and sales order numbers, and the item ID's for both the supplier and the buyer.

Business object structure

Figure 1 illustrates the generic TradingPartnerOrder business object hierarchy.

Figure 1. Generic TradingPartnerOrder business object hierarchy

TradingPartnerOrder header business object

The top-level TradingPartnerOrder business object contains such information as the To and From trading partner IDs, buyer and supplier's URL, internal and external employee contacts, order status and priority, payment information, and order creation dates.

TradingPartnerOrder contains the following child business objects: BuyerAttributes which contains the BuyerAddress child business object SupplierAttributes which contains the SupplierAddress child business object TradingPartnerDocumentReference OrderContactRef TradingPartnerPaymentInformation HeaderAdjustment LineItem which contains the ContactRef, LineItemAdjustment, TradingPartnerDeliverySchedule, and AssociatedPartners child business objects

TradingPartnerOrder child business objects

Business object attributes
Child business object Description Cardinality
BuyerAttributes This business object contains all header-level attributes that are specific to the buying process, including Vendor Id, Vendor Address, and Purchase Order Id. BuyerAttributes contains the BuyerAddress child business object. 1
SupplierAttributes This business object contains all header-level attributes that are specific to the sales process, including Customer Id, Customer Address, and Sales Order Id.. SupplierAttributes contains the SupplierAddress child business object. 1
TradingPartner DocumentReference This business object contains the Id of any reference documents, such as a contract. A purchase order can be made with reference to a contract, inquiry, quote, sales order, or another order. This container will allow multiple reference documents to be linked at the header level.   n
OrderContactRef This business object contains such information as the contact's Id and role information. n
TradingPartner PaymentInformation This business object contains the type of payment being used, amount and date of payment, check number, and credit card detail. n
HeaderAdjustment This business object contains such information as the adjustment type, rate, and amount. n
LineItem This business object contains basic information about the item being ordered, including the quantity ordered, item description, and price. LineItem contains the ContactRef, LineItemAdjustment, TradingPartnerDeliverySchedule, and AssociatedPartners child business objects. n

BuyerAttributes child business object

Business object attributes
Shared business object Description Cardinality
BuyerAddress Contains the buyer's address information. n

SupplierAttributes child business object

Business object attributes
Shared business object Description Cardinality
SupplierAddress Contains the supplier's address information. n

LineItem child business objects

Business object attributes
Shared business object Description Cardinality
ContactRef Contains the contact and employee information associated with a purchase or sales order, such as the order initiator, person to be notified when the order is received, and the sales representative at the vendor site. n
LlineItemAdjustment This business object contains such information as the line item's adjustment type, rate, and amount. n
TradingPartner DeliverySchedule Contains delivery information for the LineItem. n
AssociatedPartners Contains the customers and addresses linked to the order. It does not contain the primary customer (also referred to as the Sold-to or the primary address). n

Assumptions

This business object will be used by the TradingPartnerOrderManagement collaboration template to represent both sales orders and purchase orders. No mapping between generic business objects will be required in that collaboration template because a purchase order application-specific business object can map into this generic business object, then into a sales order application-specific business object. The same applies from a sales order to a purchase order.

Supported verbs

The generic TradingPartnerOrder business object supports the following verbs:

Examining the object

For a listing of the generic TradingPartnerOrder business object's attributes, use System Manager.

Related Reference

Copyright IBM Corp. 1997, 2004