Functional Description
Purpose
Maintain the Equipment Constants table, F1300. Single record update/insert or fetch F1300
information.
Setup Notes and Prerequisites
The Table has no real primary unique key. There should only be one record in the table.
Special Logic
Use the action code "2" - Change Existing Record or "4" - Inquire Into Existing Record.
The action code of "4" should fetch the single record from the F1200 and place the record information
into the data structure.
The action code of "2" should fetch the single record from the F1200
if no record exits then
Insert a new record with information from data structure
else
Update the current record with information from data structure
Set the ErrorCode = 1 or 2 for errors, else return ErrorCode = 0.
Technical Specification
ErrorCode = 0
Open table F1300
If (F1300 Open == Success)
If (ActionCode = 4)
Fetch F1300
InclusionVersion = F1300.f9mver
DefaultCostInformation = F1300.f9eqf1
EquipmentFutureConstant = F1300.f9eqf3
EquipmentFutureConstant = F1300.f9eqf4
EquipmentFutureConstant = F1300.f9eqf5
EquipmentFutureConstant = F1300.f9eqf6
EquipmentFutureConstant = F1300.f9eqf7
EquipmentFutureConstant = F1300.f9eqf8
Fetch F1300
F1300.f9mver = InclusionVersion
F1300.f9eqf1 = DefaultCostInformation
F1300.f9eqf3 = EquipmentFutureConstant
F1300.f9eqf4 = EquipmentFutureConstant
F1300.f9eqf5 = EquipmentFutureConstant
F1300.f9eqf6 = EquipmentFutureConstant
F1300.f9eqf7 = EquipmentFutureConstant
F1300.f9eqf8 = EquipmentFutureConstant
If (Fetch Success)
Update F1300
else
Insert F1300
If (Fetch Error)
ErrorCode = 1
If (Open Error)
ErrorCode = 2
^
D1300001 - Access F1300 Table
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cActionCode | ACTN | char | NONE | NONE |
2-Update/Insert 4-Fetchab
| ||||
szInclusionVersion | MVER | char | NONE | NONE |
A user defined code (40/RV) that identifies an inclusion rule that you want the system to use for this branch/plant. The Manufacturing and
| ||||
cDefaultCostInformation | EQF1 | char | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
cEquipmentFutureConstant2 | EQF2 | char | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
cEquipmentFutureConstant3 | EQF3 | char | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
cEquipmentFutureConstant4 | EQF4 | char | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
cEquipmentFutureConstant5 | EQF5 | char | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
mnEquipmentFutureConstant6 | EQF6 | MATH_NUMERIC | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
mnEquipmentFutureConstant7 | EQF7 | MATH_NUMERIC | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
mnEquipmentFutureConstant8 | EQF8 | MATH_NUMERIC | NONE | NONE |
This is a system constant that is reserved for future use by the Equipment Management system. | ||||
cErrorCode | EV01 | char | NONE | NONE |
Return: 1 for Fetch Error, 2 for Open Table Error, or 0 for no Errors
| ||||
cWODetailedRecordType | TYPR | char | NONE | NONE |
The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use
|
None |
F1300 Equipment Constants |