VerifyCustomerPONumberIsUnique

Verify Customer PO Number Is Unique

Minor Business Rule

Object Name: B4200130

Parent DLL: CDIST

Location: Client/Server

Language: C

Use this function to verify that the combination of CustomerPONumber and CustomerNumber is unique in 
the Sales Order Header Table (F4201).  If the combination is not unique - issue a warning message 2597 

and set ErrorCode = 1

^

Data Structure

D4200130 - Verify Customer PO Number Is Unique

Parameter NameData ItemData TypeReq/OptI/O/Both
szCustomerPONumberVR01charNONENONE

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

mnCustomerNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

F4201 Sales Order Header File