InstalledBaseItemSwap

Installed Base Change Out

Minor Business Rule

Object Name: N1700380

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description
 


1.1Purpose

This NER is used to "swap" two products by changing the Customer Number and Site Number of each product to the Customer Number and Site 

Number of the other product.  Also, the Base Warranty contract detail line for the incoming product is changed to reflect that the original Installed Base 

Number has been replaced by the outgoing product. 


1.2Setup Notes and Prerequisites.

There are three parameters:


Input:NUMBIncoming Installed Base Item Number

Input:NUMBOutgoing Installed Base Item Number

Input:EFTBEffective Date

Output:EV01Successful Swap


The input parameters are required.  The output parameter returns a "1" if there were no errors; a "0" if there were errors.



1.3Special Logic



Data Structure

D1700380 - Installed Base Change Out

Parameter NameData ItemData TypeReq/OptI/O/Both
mnIncomingIBItem_NUMBNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

mnOutgoingIBItem_NUMBNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

jdEffectiveDate_EFTBEFTBJDEDATEOPTINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

mnEffectiveTime_UPMTUPMTMATH_NUMERICOPTINPUT

The time that specifies when the program executed the last update to this record.

cSuccessfulSwap_ERRCERRCcharOPTOUTPUT

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).

szIncomingEquipmentStatusEQSTcharOPTINPUT

A user defined code (12/ES) that identifies the equipment or disposal status of an asset, such as available, down, or disposed.

szOutgoingEquipmentStatusEQSTcharOPTINPUT

A user defined code (12/ES) that identifies the equipment or disposal status of an asset, such as available, down, or disposed.

cEnableItemForReshippingEV01charREQNONE

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

Related Functions

None

Related Tables

None