CheckForEquipmentOnContract

Check for Equipment on Contract

Minor Business Rule

Object Name: N1701100

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This function is to check to see if the equipment number (Asset Item Number (NUMB)) entered on a 

contract detail line exists on another active contract.  If it does, a warning message is to be issued to 

the application telling the user that the equipment entered is currently covered on another contract 

detail line.


1.2Setup Notes and Prerequisites

The use of this function is determined by a processing option in P1721.  That processing option must 

be set on before the app will call this function.  


Data Structure

D1701100 - Check For Equipment on Contract

Parameter NameData ItemData TypeReq/OptI/O/Both
mnEquipmentNumber_NUMBNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

mnCurrentContractNo_DOCODOCOMATH_NUMERICREQINPUT

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.

szCurrentContractChangeNo_COCHCOCHcharREQINPUT

The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a 
change order for a contract, the system automatically increases the change order number by one. For example, the base contract is the change 
order number 000, the first change order is 001, the second is 002, and so on.

jdContractDetailStartDate_CSDTCSDTJDEDATEREQINPUT

The date you actually start work on the contract.

jdContractDetailEndDate_CDTECDTEJDEDATEREQINPUT

The date you actually completed work on the contract.

mnLineNumber_LNIDLNIDMATH_NUMERICREQINPUT

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cOtherContractFound_EV01EV01charOPTNONE

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

cSuppressErrorMessage_EV01EV01charOPTNONE

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

szErrorMessageID_DTAIDTAIcharOPTNONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cErrorCode_ERRCERRCcharOPTNONE

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

None