1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Module 5: Processing Orders docx

48 509 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Processing Orders
Trường học Microsoft Corporation
Chuyên ngành Order Processing
Thể loại module
Năm xuất bản 2001
Thành phố Redmond
Định dạng
Số trang 48
Dung lượng 1,29 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Design a solution for receiving purchase orders by using Commerce Server and BizTalk Server!. Design a solution for processing purchase orders by using Commerce Server and BizTalk Server

Trang 1

Contents

Overview 1

Lesson: Introduction to Processing Orders 2

Lesson: Designing a Solution to Receive

Lesson: Designing a Solution to Process

Lesson: Implementing an Order

Review 37

Lab A: Receiving and Processing

Module 5: Processing Orders

Trang 2

Information in this document, including URL and other Internet Web site references, is subject to change without notice Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred Complying with all applicable copyright laws is the responsibility of the user Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property

 2001 Microsoft Corporation All rights reserved

Microsoft, Windows, BackOffice, BizTalk, FrontPage, Hotmail, PowerPoint, Visual Basic, Visual C++, Visual Studio, and Windows Media are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries

The names of actual companies and products mentioned herein may be the trademarks of their respective owners

Trang 3

Instructor Notes

This module introduces students to the process of accepting and fulfilling orders for products or services Students will learn how to use Microsoft®Commerce Server 2000, Microsoft BizTalk™ Server 2000, and Microsoft BizTalk Accelerator for Suppliers (AFS) to enable their organizations to automate and manage their purchase order workflows

After completing this module, students will be able to:

! Describe the process of receiving and processing purchase orders

! Design a solution for receiving purchase orders by using Commerce Server and BizTalk Server

! Design a solution for processing purchase orders by using Commerce Server and BizTalk Server

! Implement a business-to-business B2B integration solution by using AFS

To teach this module, you need the following materials:

! Microsoft PowerPoint® file 2420A_05.ppt

! Module 5 demonstration, Using BizTalk Server Orchestration Services in

Order Processing, 2420A_05d005.avi

To prepare for this module:

! Read all of the materials for this module

! Read the Microsoft e-procurement case study

! Read the white paper, Integrating Third-Party ERP Systems with Microsoft

Commerce Server 2000 Applications, under Additional Reading on the

Web page on the Student Materials compact disc

! Read the white paper, Orchestrating Business Processes with Microsoft

BizTalk Server 2000, under Additional Reading on the Web page on the

Student Materials compact disc

! Preview the Module 5 demonstration, Using BizTalk Server Orchestration

Services in Order Processing, 2420A_05d005.avi

Trang 4

How to Teach This Module

This section contains information that will help you teach this module

Lesson: Introduction to Processing Orders

This lesson introduces students to the steps in an order processing workflow and the Microsoft applications that contribute to an order processing solution Some of these concepts may be review for your students If so, present this lesson quickly Emphasize that the steps of order processing may be very similar in paper-based transactions and B2B integration solutions Because Module 5 is the halfway point of the course, consider showing the Module 1

demonstration, How Trading Partner Integration Works, to illustrate where you

are in the integration process

Lesson: Designing a Solution to Receive Purchase Orders

This lesson introduces students to the process of receiving and validating purchase orders from trading partners in a secure manner Tell students that this lesson marks a change in the technical depth of the course The materials in the next three lessons are increasingly complex and will require instructor

expertise

The following information is specific to individual pages in this lesson

Discuss when to use BizTalk Server and when to use Commerce Server Although several possible receiving methods exist, emphasize that an organization must select a method to receive purchase orders that its trading partner supports and that meets its own security and reliability requirements Ensure that students understand the difference between schema validation and business logic validation Emphasize that students must complete both types of validation before processing a purchase order

Lesson: Designing a Solution to Process Purchase Orders

This lesson introduces students to the process of fulfilling electronic purchase orders Emphasize the importance of assessing current workflows, identifying business and technical requirements, and evaluating the integration of other

business systems Other business systems means back-end systems It is

impossible to cover every possible integration scenario Be prepared to answer student questions about specific integration challenges Familiarize yourself with the BizTalk accelerators and BizTalk adapters on the BizTalk Server Web site at http://www.microsoft.com/biztalk

The following information is specific to individual pages in this lesson

Be prepared to discuss Commerce Server pipelines and their role in a B2B

integration solution Read the white paper, Integrating Third-Party ERP

Systems with Microsoft Commerce Server 2000 Applications

Methods for Receiving

Trang 5

Be prepared to discuss the processing capabilities of BizTalk Server and its role

in a B2B integration solution Read the white paper, Orchestrating Business

Processes with Microsoft BizTalk Server 2000

If your students have a strong technical background, consider asking them to use the white board to sketch how they would design an infrastructure that incorporates security, reliability, and compatibility with their current business systems

Lesson: Implementing an Order Processing Solution Using AFS

This lesson introduces the functionality of AFS in providing a B2B integration solution Students should be able to identify the steps necessary to complete an order processing solution Emphasize that AFS is implemented through Microsoft Consulting Services and by Microsoft Certified Partners

Begin this lesson by showing the multimedia presentation of the Microsoft Solution for Supplier Enablement on the Web page on the Student Materials compact disc

Lab: Receiving and Processing Purchase Orders

In this lab, students will analyze the business practices of a supplier as it moves toward B2B integration and plans future growth Students will develop a strategy to enable the supplier to receive and process purchase orders from its primary trading partners Ensure that students make progress toward the end design when they work as teams; do not let them belabor a single question The design lab is scheduled for 45 minutes Divide students into pairs or small teams, and ask them to spend 20 minutes reading and discussing the scenario Then, have each pair or team present its answers to the class

Students will examine Adventure Works’s business drivers and motivations for engaging in B2B e-commerce and for using a marketplace Although the lab scenario provides a clear path to certain design decisions, it contains enough ambiguity to encourage student discussion and debate Students may disagree with the answers that are provided in the Delivery Guide and the Student Materials compact disc Disagreement is acceptable if students can provide adequate business or technical justification To increase student involvement, ask a representative of each team to present the team’s answers to the class and then defend the design

How BizTalk Server

Processes Orders

Practice

Timing

Discussion

Trang 6

Customization Information

This section identifies the lab setup requirements for a module and the configuration changes that occur on student computers during the labs This information is provided to assist you in replicating or customizing Microsoft Official Curriculum (MOC) courseware

This module contains a single paper-based design lab There are no hands-on labs in this module, and as a result, there are no lab setup requirements or configuration changes that affect replication or customization

Trang 7

Overview

Trading Partner

Trading Partner

PO

Supplier Business

Logic

Business Logic Business Other

Systems

Other Business Systems CRM ERP Inventory Accounting PO

PO

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

To conduct business with trading partners, suppliers must be able to accept and fulfill orders for goods or services by receiving and processing purchase orders (POs) A business-to-business (B2B) trading partner integration solution meets this requirement by enabling suppliers to automate and manage their purchase order workflow

Microsoft offers three products that work together to provide a B2B integration solution Microsoft® Commerce Server 2000 is a scalable development platform for the creation of e-commerce Web sites and order processing systems

Microsoft BizTalk™ Server 2000 is a development environment that manages business process workflows and system integration Microsoft BizTalk Accelerator for Suppliers (AFS) simplifies the implementation of a B2B integration solution

After completing this module, you will be able to:

! Describe the process of receiving and processing purchase orders

! Design a solution for receiving purchase orders by using Commerce Server and BizTalk Server

! Design a solution for processing purchase orders by using Commerce Server and BizTalk Server

! Implement a B2B integration solution by using AFS

Introduction

Objectives

Trang 8

Lesson: Introduction to Processing Orders

" What is Order Processing?

" Commerce Server Tools for Processing Orders

" BizTalk Server Tools for Processing Orders

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

To accept and fulfill purchase orders, you must complete the steps in an order processing workflow These steps are similar whether you perform them manually or through a fully automated solution This lesson describes the order processing workflow and introduces Microsoft tools that contribute to an order processing solution

After completing this lesson, you will be able to:

! Describe the order processing workflow

! Describe how Commerce Server can receive and process purchase orders

! Describe how BizTalk Server can receive and process purchase orders

Introduction

Lesson objectives

Trang 9

What Is Order Processing?

Order processing

is the set of actions required

to receive, validate, process, and fulfill a customer’s order

Receive order

Receive

valid?

Schema valid?

Calculate shipping

Calculate shipping

Calculate taxes

Calculate taxes

Generate invoice

Generate invoice

Fulfill order

Fulfill order

No

No Yes

Yes

Accounting

Warehouse/ shipping

Warehouse/ shipping

Reject

Reject

Business logic valid?

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Order processing is the set of actions that are required to receive, validate,

process, and fulfill a customer’s order The goal of an integrated solution is to automate and streamline your order processing workflow

Whether you use an electronic or paper-based purchase order, the steps that are required to process the order are similar The following table includes the steps that a supplier completes in a typical order processing workflow

3 Validates the purchase order business logic

Confirms that the purchase order includes all necessary information, including customer information Checks each line item against the supplier’s catalog, confirms the correct price, and applies discounts if appropriate

4 Calculates shipping Determines the shipping method and cost

5 Calculates taxes Applies all of the appropriate taxes based on the

supplier’s location and the customer’s location

6 Fulfills the purchase order Updates other business systems, such as manufacturing,

inventory, shipping, accounting, and Customer Relationship Management (CRM) systems

Definition

Steps of order

processing

Trang 10

Commerce Server Tools for Processing Orders

Commerce Server provides:

Personalization

Session management Security and authentication Business analytics

User profile system Order processing workflow Order management database

Campaign management Catalog management

Processing orders

Processing orders

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Commerce Server is a development platform that you can use to create e-commerce Web sites quickly Depending on your order processing requirements, Commerce Server can provide all or part of your order processing solution

Commerce Server includes the following features to process purchase orders:

! User profile system This system tracks information about buyers and their

organizations, including contact and address information You can use this information to authenticate buyers and personalize your Commerce Server sites

! Order processing workflow This high-performance management system

divides the order processing flow in discrete steps You can run one or more Component Object Model (COM) components in each step You can also modify each step and component to suit your own business process

! Order management database Commerce Server 2000 stores all of the

purchase orders and other order information in a Microsoft SQL Server™ 2000 Data Warehouse

In addition to providing order processing functionality, Commerce Server includes tools that you can use to manage your Web site, e-mail promotions, catalogs, personalization, business analytics, sessions, and security

For more information about Commerce Server features, see

Course 2185A, Deploying and Managing Microsoft Commerce Server 2000, and Course 2341A, Fundamentals of Developing a Business-to-Consumer

Solution with Microsoft Commerce Server 2000

Trang 11

BizTalk Server Tools for Processing Orders

BizTalk Server provides:

State management

State management

COM+ and long-running transactions

Message transformation Message processing Message sending and receiving Business process orchestration Application integration components

Processing orders

Processing orders

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

BizTalk Server is a messaging platform that receives, transforms, validates, and routes Extensible Markup Language (XML) messages through channels, ports, document source specifications (schemas), and maps It is also a business process orchestration platform that manages the order processing workflow and short- and long-term transactions You can use BizTalk Server to integrate multiple business systems in a coherent order processing solution

BizTalk Server performs the following functions:

! Message transformation BizTalk Server uses Extensible Stylesheet

Language Transformations (XSLT) and XML schemas to transform documents from one schema to another and to validate documents against the corresponding schema BizTalk Server also supports custom parsers and serializers for flat file formats, such as electronic data interchange (EDI)

! Message processing You use channels to specify how to verify and

transform a document You can specify the document’s source specification, destination specification, transformation map, Simple Object Access Protocol (SOAP) envelope, reliable delivery settings, receipt requirements, encryption settings, and authentication requirements You can use BizTalk Server ports to specify the destination and delivery mechanism for the message

! Message sending and receiving BizTalk Server uses Hypertext Transfer

Protocol (HTTP), SOAP, Simple Mail Transfer Protocol (SMTP), and Message Queuing to implement reliable message receiving and sending functions BizTalk Server includes support for encryption, authentication, message receipts, and auditing

Introduction

BizTalk Server features

used for processing

orders

Trang 12

! Business process orchestration BizTalk Orchestration Services manages

process workflows It supports parallel processes, short-term COM+

transactions, and long-running transactions by using full-state management

! Application integration components You can use the combination of

messaging tools and process orchestration to integrate heterogeneous systems and asynchronous processes

For more information about BizTalk Messaging Services and BizTalk

Orchestration Services, see Course 2379A, Developing and Deploying

Microsoft BizTalk Server 2000 Solutions Also see the white paper,

Microsoft BizTalk Server 2000 Operations, under Additional Reading on the

Web page on the Student Materials compact disc

Note

Trang 13

Lesson: Designing a Solution to Receive Purchase

Orders

Standard

Orders

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

As a supplier, your goal is to receive and validate purchase orders from your trading partners in a secure manner Before receiving purchase orders, you must agree on a common purchase order standard and transport protocol with each trading partner, and then document those decisions in separate trading partner agreements

After you design your solution for receiving purchase orders, BizTalk Server and Commerce Server can provide the functionality for you to implement your solution

After completing this lesson, you will be able to:

! Describe the process of receiving purchase orders

! Identify the requirements for receiving purchase orders

! Choose a purchase order standard

! Choose a purchase order transport protocol

! Choose a method for receiving purchase orders

! Choose a method for validating purchase orders

Introduction

Lesson objectives

Trang 14

Overview of Receiving Purchase Orders

The supplier:

1 Receives the PO

2 Validates the PO

3 Sends an acknowledgement to the trading partner

4 Transforms the PO for order processing

Supplier

Trading Partner

Trading Partner

Acknowledgement

3

4

Received

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

The first steps in order processing include receiving, validating, acknowledging, and transforming purchase orders from a trading partner

The process of receiving purchase orders includes the following steps:

1 The supplier receives the purchase order from a trading partner

2 The supplier submits the purchase order to a validation process that checks the schema and business logic of the purchase order

3 If the purchase order is valid, the supplier sends a positive acknowledgement to the trading partner

4 The supplier transforms the purchase order and sends it to the purchase order processing system

If the purchase order is invalid, the supplier sends a negative acknowledgement (NAC) to the trading partner and discards the purchase order

Introduction

Steps for receiving a

purchase order

Note

Trang 15

Requirements for Receiving Purchase Orders

Trading partner agreement

A trading partner agreement that defines:

"A purchase order standard that your trading partner or industry uses

"A transport protocol that is widely accepted and supports security

A trading partner agreement that defines:

"A purchase order standard that your trading partner or industry uses

"A transport protocol that is widely accepted and supports security

Validation method

PO

#

Receiving method

PO A receiving method that supports multiple

standards and transport protocols

A receiving method that supports multiple standards and transport protocols

A validation method that provides schema validation and business logic validation

A validation method that provides schema validation and business logic validation

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

To receive purchase orders from a trading partner, you must have:

! A trading partner agreement that defines a purchase order standard and a transport protocol

! A method for receiving purchase orders

! A method for validating purchase orders

A trading partner agreement defines how two trading partners will process orders Specifically, it includes a:

! Purchase order standard Defines the format and type of data that is

included in a purchase order Consistent order processing depends on clearly defined purchase order standards Common purchase order standards include Commerce XML (cXML) and XML Common Business Library (xCBL)

! Transport protocol Defines how you and your trading partners send and

receive purchase orders during a transaction The transport protocol determines the level of security provided when sensitive customer and organization data is transferred over the Internet HTTP is one common transport protocol

You may choose to use the same trading partner agreement with several trading partners However, large buyers or marketplaces may dictate all important components of a trading partner agreement

Establish a method for receiving purchase orders that enables you to receive orders from the greatest number of trading partners Your method must be flexible enough to support multiple purchase order standards and transport protocols This flexibility will enable you to maintain B2B integration with existing trading partners as new standards appear

Trang 16

Decide on a method to validate purchase orders that enables you to implement changing business rules Your validation method must:

! Validate the purchase order schema Your validation method must be

flexible enough to accommodate the schema that your trading partners use

! Provide business logic for content validation After validating the purchase

order standard, you must also validate the content of the order against your business logic

Method for validating

purchase orders

Trang 17

Considerations for Choosing a Purchase Order Standard

Supplier Supplier Trading

Examples of purchase order standards include:

"General: Commerce Server, cXML, xCBL

"Industry specific: RosettaNet, HIPAA

"Non-XML: EDI, flat file

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Before sending purchase orders between trading partners, each party must first agree on the content and structure of purchase orders For example, will you use the same standards as your trading partners or industry? Will purchase orders include the buyer’s purchase order history or preferred shipping method? Choose a purchase order standard that maximizes the return on your investment Considerations include:

! The standard that your trading partner uses Often, your trading partner

dictates which purchase order standard you will use, particularly if it is a large buyer or marketplace As a supplier, consider increasing your market reach by supporting the most widely used standards, like cXML and xCBL

! The standard that your industry uses If your industry has defined a

purchase order standard, you may want to consider using that standard For example, members of the health care industry typically select the Health Insurance Portability and Accountability Act (HIPAA) standard

Widely used standards include:

! Commerce Server Includes XML schemas for some business documents,

including purchase orders

! cXML An open standard that was developed by Ariba, Inc for the

communication of e-commerce data

! xCBL An open standard that was developed by Commerce One, Inc Based

on EDI, xCBL is a set of XML business documents and their components that enables businesses to exchange documents across marketplaces

Industry-specific standards include:

! RosettaNet An e-commerce framework for the standardization of business

processes in supply chain transactions

! HIPAA Defines a national standard for electronic health transactions in the

United States

Introduction

Criteria for selecting a

purchase order standard

Examples of purchase

order standards

Trang 18

EDI standards include:

! ANSI X.12 The American National Standards Institute (ANSI) set of

standards that defines the data formats and encoding rules required for a multitude of business transactions, including order placement and processing, shipping and receiving, invoicing, payment, and others

! EDIFACT The United Nations rules for Electronic Data Interchange for

Administration, Commerce and Transport (EDIFACT), which consists of a set of international standards, directories, and guidelines for the electronic interchange of structured data Specifically, EDIFACT applies to trade in goods and services between independent, computerized information systems

For more information about See

cXML The Commerce XML Resources Web site at

http://www.cxml.org xCBL The XML Common Business Library Web site at

http://www.xcbl.org HIPAA The Health Insurance Portability and Accountability Act

Web site at http://www.hcfa.gov/hipaa/hipaahm.htm RosettaNet The RosettaNet Web site at http://www.rosettanet.org EDI The white paper, Using EDI with Microsoft BizTalk

Server 2000, under Additional Reading on the Web

page on the Student Materials compact disc

Note

Trang 19

Considerations for Choosing a Transport Protocol

Supplier

Supplier

Trading Partner

Trading Partner

HTTP

SMTP

FTP """"Supports the transfer of large documentsDoes not have built-in support for encryptionSupports the transfer of large documentsDoes not have built-in support for encryption

PO

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Before you agree with a trading partner on a common transport method and the security requirements for that protocol, you must consider several factors For example, you must choose the security methods you will use for message encryption and authentication

HTTP is the most common transport protocol for the transport of purchase orders over the Internet By using the HTTP protocol, you can receive purchase orders from an Active Server Pages (ASP) page or an Internet Server

Application Programming Interface (ISAPI) filter Consider the following when you evaluate HTTP:

! Flexibility HTTP is the most flexible and widely used transport protocol

today It provides the widest selection of authentication and encryption options of all transport protocols

! Cost HTTP is relatively inexpensive to implement, both in terms of time to

implement and simplicity

! Large documents Although HTTP does not transport large documents well,

this limitation is typically not a concern with purchase orders because they tend to be small

! Security You can secure HTTP with Secure Sockets Layer (SSL) or

Transport Layer Security (TLS) without requiring large changes to your B2B infrastructure or that of your trading partner You can also use virtual private network (VPN) extranet connectivity to secure the data during transport

Introduction

Considerations for

choosing HTTP

Trang 20

SMTP is a common protocol for the sending of e-mail messages between servers Transporting purchase orders by e-mail is an efficient and low-cost transport method Consider the following when you evaluate SMTP:

! Complexity SMTP is more complex than HTTP SMTP may make the

automation and integration of the receiving process difficult

! Cost SMTP is widely available and inexpensive, plus it works well on

unreliable or low-bandwidth connections

! Security You can secure and sign SMTP with Secure/Multipurpose Internet

Mail Extensions (S/MIME) However, it requires a greater investment in security infrastructure than HTTP

File Transfer Protocol (FTP) is an Internet-based protocol for sending files between servers You can also use FTP to transport purchase orders between trading partners Consider the following when you evaluate FTP:

! Large documents The FTP protocol is appropriate for large documents or

large batches of documents

! Security Although FTP has limited support for authentication, it lacks

built-in support for encryption Because applications implement FTP differently, firewall configuration for FTP can be complex This limitation can cause compatibility issues between trading partners

For more information about securing electronic business transactions, see

the white paper, Using Certificates with Microsoft BizTalk Server 2000, under

Additional Reading on the Web page on the Student Materials compact disc

Trang 21

Methods for Receiving Purchase Orders

Method ASP ISAPI

Queuing

Message Queuing ""Reliable, transactional Files limited to less than 4 megabytes

"Not universally supported

"Works with very large documents

"Not universally supported

BizTalk Server

BizTalk Server

Commerce Server

Commerce Server

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Although both BizTalk and Commerce Server can receive purchase orders, BizTalk Server offers more functionality and flexibility for accomplishing the task

Commerce Server receives purchase orders by using the Order Processing pipeline (OPP) Commerce Server can also receive purchase orders that are submitted over HTTP or Secure Hypertext Transfer Protocol (HTTPS) by using ASP or ISAPI filters Commerce Server supports the following methods for receiving purchase orders:

! ASP A specification for the dynamic creation of Web pages on a Web

server You can use an ASP page on Internet Information Services (IIS) to receive purchase orders over HTTP ASP configuration is less complex than ISAPI; however, the performance of ASP is not as good as that of ISAPI Although ASP cannot receive as many purchase orders, it is adequate in most cases because you can receive a few purchase orders per second, or thousands in one hour

! ISAPI filter You can create a custom ISAPI filter component to receive

purchase orders Configuration and coding are more complex than that for ASP or BizTalk Server Reliability and performance are very good: A well-designed ISAPI filter can handle thousands of HTTP requests per second

Introduction

Receiving purchase

orders by using

Commerce Server

Trang 22

BizTalk Server supports multiple transport protocols, including HTTP, HTTPS, Message Queuing, and SMTP Configuration can become very complex and expensive for large-scale systems BizTalk Server can automate the

transformation and schema validation of documents In addition to ASP and ISAPI filters, BizTalk Server supports the following methods for receiving purchase orders:

! Message Queuing Provides asynchronous, guaranteed message delivery

! SMTP A good alternative to HTTP when you or your trading partners have

an unreliable Internet infrastructure or low bandwidth

BizTalk Server does not have built-in functionality to receive files that are transmitted over FTP To receive such purchase orders, you can purchase a third-party addition to BizTalk Server or develop a custom solution

Trang 23

Methods for Validating Purchase Orders

The PO format complies with the PO standard

The PO content complies with business rules

The PO content complies with business rules

Method

BizTalk Server or MSXML parser can validate the PO against the appropriate schema

BizTalk Server or MSXML parser can validate the PO against the appropriate schema

Commerce Server pipeline components or BizTalk Orchestration Services can validate content

Commerce Server pipeline components or BizTalk Orchestration Services can validate content

<Purchase Order>

<BUYER_ID> Wingtip Toys </BUYER_ID>

<SHIP_TO> 123 Elm St </SHIP_TO>

<LINE_ITEMS> … </LINE_ITEMS>

</Purchase Order>

Schema validation

Schema validation

Business logic validation

Business logic validation

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Before you send a purchase order to order processing, you must validate the schema and business logic of the order This validation is necessary to ensure accurate and timely order processing

Schema validation confirms that a purchase order is in the correct schema and

schema version, and that all of the required elements are present In B2B commerce, you validate purchase orders against their corresponding XML schema, which include document type definition (DTD), XML Data Reduced (XDR), and XML Schema Definition (XSD)

e-The Microsoft XML (MSXML) parser can validate a purchase order against a schema If the validation fails, it generates detailed information that explains why

If you use BizTalk Server to receive or process purchase orders, it can perform the schema validation You can use BizTalk Editor to import a DTD or XDR schema and to create the appropriate document specification You can then associate the document specification to the channel that receives your purchase orders BizTalk Server automatically validates orders before it transforms and processes them

BizTalk Server provides flexibility when it detects and reports errors It can also log rejected documents In addition, BizTalk Editor can determine the schema of an imported document

Introduction

Schema validation

Trang 24

Business logic validation confirms that the data in a purchase order complies

with your business rules For example, you must confirm that each product identification (ID) number in the order is a valid product ID number in your catalog You may also require payment information before you process orders

To fix and process invalid orders instead of simply rejecting them, your code must enable detailed error detection and reporting

To implement business logic validation, you will likely write custom program logic in a COM component You can run this code from BizTalk Orchestration Services or from the OPP in Commerce Server, depending on the nature of the code For example, if the code validates content against the Commerce Server catalog or profiling system, run it in the OPP If the code must access other business systems or data sources, run it in BizTalk Orchestration Services

Business logic

validation

Ngày đăng: 21/12/2013, 05:18