F1204CheckErrorDeleteLocation

F1204 Check Error for Delete Current Location

Minor Business Rule

Object Name: B1200130

Parent DLL: CMFG

Location: Client/Server

Language: C

Functional Description

Purpose


This function determines whether the Current Location you attempt to delete is the most current 

location for the asset in the Location Tracking Table (F1204).


Setup Notes and Prerequisites


Special Logic




Technical Specification




Select Locations from Location Tracking Table (F1204) using Input Item Number and Location Code = 

'C'.

While Fetch is Successful

If Start Effective Date is Greater Than Input Start Date

Return Code = '1'

End If

End While




Data Structure

D1200130 - F1204 Check Error for Delete Current Location


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAssetItemNumberNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

jdDateBeginningEffectiveEFTBJDEDATEREQINPUT

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. 

cEverestEventPoint01EV01charREQOUTPUT

' '  =  No Error - Current Location
'1' = Error - Other Location is more Current

^

Related Functions

None

Related Tables

F1204 Location Tracking Table