F1721GetContractForInstalledBase

F1721 Get Contract for Installed Base

Minor Business Rule

Object Name: N1700970

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description
 


1.1Purpose

This NER is used to determine if there is either a billable contract or a Base Warranty contract for an Installed Base item. A billable contract is 

identified by a contract detail line type that is not a Base Warranty line type. If a contract is found, the contract number, contract change number and line 

number are returned, and the Contract Found flag is "1".  Otherwise the Contract Found flag is "0".


1.2Setup Notes and Prerequisites.


There are six parameters:

Input:NUMB Installed Base Item Number 

Output:DOCO Contract Number

Output:COCHContract Change Number

Output:LNIDLine Number

Input:EV01Billable ("B") or Warranty ("W")

Output:EV01Contract Found


1.3Special Logic




Data Structure

D1700970 - F1721 Get Contract for Installed Base

Parameter NameData ItemData TypeReq/OptI/O/Both
mnInstalledBaseItem_NUMBNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

mnBillableContract_DOCODOCOMATH_NUMERICOPTOUTPUT

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.

szContractChangeNum_COCHCOCHcharOPTOUTPUT

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.

mnLineNumber_LNIDLNIDMATH_NUMERICOPTOUTPUT

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.

cBillableOrWarranty_EV01EV01charREQINPUT

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

cContractFound_EV01EV01charOPTOUTPUT

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

Related Functions

None

Related Tables

None