DoesOrderExist

Does Order Exist

Minor Business Rule

Object Name: B43E0270

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D43E0270A - Does Order Exist

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerID_CTIDCTIDcharOPTNONE

mnProcessID_PEIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionID_TCIDTCIDMATH_NUMERICOPTNONE

mnSupplierNumber_AN8AN8MATH_NUMERICOPTNONE

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

szTransactionCurrencyCode_CRCDCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnCurrencyExchangeRate_CRRCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szBranchPlant_MCUMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szOrderType_DCTOORTYcharOPTNONE

Order Type

mnOrderNumber_DOCODOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderCompany_KCOOKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szOrderSuffix_OSFXOSFXcharOPTNONE

The number that identifies a specific pay item associated with the document.

cConsolidateHeader_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

cCurrencyProcessingFlag_CRYRCRYRcharOPTNONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

jdTransactionDate_TRDJTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

mnJobnumber_JOBSJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

cHeaderRecordFound_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

szBaseCurrencyCode_CRDCCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

cCurrencyMode_CRRMCRRMcharOPTNONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

cUpdateOrWriteWorkFile_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None