F48310ValidateCrewMaster

F48310 Resource Master Processing

Minor Business Rule

Object Name: N4803050

Parent DLL: CMFG

Location: Client/Server

Language: NER

Data Structure

D4803050B - F48310 Validate Crew Master

Parameter NameData ItemData TypeReq/OptI/O/Both
szLongResourceNumber_ALKYALKYcharOPTBOTH

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

mnResourceNumber_RSCNRSCNMATH_NUMERICOPTINPUT

A number that represents either the address number or the asset number,depending on whether the resource that you are working with is a 
person or a piece of equipment. The system uses the resource number in conjunction with the resource type for unique identification.

szResourceType_RRTYRRTYcharOPTINPUT

A code that identifies the type of resource for which you are entering competency information. This is a user defined code (05/RT). Valid 
values are: 01 Individual 02 Asset, such as equipment

jdScheduledStartDate_SESDSESDJDEDATEOPTINPUT

The calendar date that an operation or rate is scheduled to begin.

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

cSuppressErrorMessages_SUPPSSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageID_DTAIDTAIcharOPTOUTPUT

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.

cSchedulePattern_DTSPNDTSPNcharOPTOUTPUT

A code used to specify a Schedule Pattern utilized in maintenance scheduling. For example, M could stand for a weekly scheduling pattern 
starting on Monday with a 7-day period; 2 could stand for biweekly with a 14-day period.  The number of days utilized for display and 
processing is defined in the special handling code of UDC 13/SP (Schedule Pattern).

Related Functions

None

Related Tables

None
F48310VerifyResourceMaster

F48310VerifyResourceMaster

F48310 Resource Master Processing

Minor Business Rule

Object Name: N4803050

Parent DLL: CMFG

Location: Client/Server

Language: NER

Functional Description

Purpose


Validate if the resource type and number exists in the Resource Master (F48310) table and is active. 

If the date is passed in, will also check if the date is within the effective date range defined on 

the resource master. 


Setup Notes and Prerequisites


Resource Master is setup using the P48310 Resource Master Application.


Special Logic



Technical Specification


Perform a fetch on the F48310 for the resource type / number passed in.


If successful, additionally checks

• Is resource active
• If date passed in, check if within the effective dates.

Returns

Resource Master exists "cExists"

   '0' - Does not exist

   '1' - Exists


Error messages

   "136I" - Resource Is Not Active For Date Selected

   "125P" - Resource Is Inactive.

   "121J" - Resource Master Not Found


Data Structure

D4803050A - F48310 Verify Resource Master Exists

Parameter NameData ItemData TypeReq/OptI/O/Both
szResourceTypeRRTYcharREQINPUT

A code that identifies the type of resource for which you are entering competency information. This is a user defined code (05/RT). Valid 
values are: 01 Individual 02 Asset, such as equipment

mnResourceNumberRSCNMATH_NUMERICREQINPUT

A number that represents either the address number or the asset number,depending on whether the resource that you are working with is a 
person or a piece of equipment. The system uses the resource number in conjunction with the resource type for unique identification.

jdDateScheduledStartJulianSESDJDEDATEOPTINPUT

The calendar date that an operation or rate is scheduled to begin.

cSuppressWarningMessagesSUPPcharOPTINPUT

This field allows you to control the printing of the exception report. Valid values are:    Blank Print all records    1       Print warnings and errors    
2       Print errors only    3       Do not print the report 

cErrorCodeERRCcharOPTOUTPUT

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

szErrorMessageDTAIcharOPTOUTPUT

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.

cExistsEV01charOPTOUTPUT

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

Related Functions

None

Related Tables

None