AddLocationFieldsToUDC

Location Information

Major Business Rule

Object Name: B4000310

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

To add a new user define location piece to the UDC table (F0005), the following must be true:  (1)  
Each piece must have a user define code capability attached to the its Data Dictionary item.  (2)  Each 

piece must be define in the  location definition.  (3)  If each piece does not exist in the F0005 

table.




Technical Specification



2.4Processing          


1.For each AISLE, BIN, ect.., verify if it has UDC edits as a property to its Data Dictionary 

definition.

2.If any item has UDC edits defines, set EditUDC to '1'.

3.If the Location is not blank and UDC Edits is on, update F0005 with System Code and Record Type 

retrieve from Data Dictionary value.

UpdateF0005

SY<=Data Dictionary::AS400EditParm1

RT<=Data Dictionary::AS400EditParm2

KY<=Aisle, Bin, LA03..10





Data Structure

D4000310B - Add Location Fields To User Defined Codes

Parameter NameData ItemData TypeReq/OptI/O/Both
szAisleAISLcharNONENONE

A code that identifies a location in a warehouse. This code is used in conjunction with a bin and lot identifier, to indicate a specific, tangible 
storage area within a warehouse or yard.

szBinBINcharNONENONE

A specific storage location within a warehouse or store. The system uses the bin with an aisle location to identify a storage area whose 
width, depth, and height can be readily measured.

szLocationCode03LA03charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocationCode04LA04charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocationCode05LA05charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocationCode06LA06charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocationCode07LA07charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocationCode08LA08charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocationCode09LA09charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To be used as a general reporting code for location information.

szLocationCode10LA10charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To be used as a general reporting code for location information.

mnNumberCharactersInAisleSE01MATH_NUMERICNONENONE

A number that identifies the number of characters to represent the tank (or aisle for packaged stock). Valid values are numbers 1 through 8.

mnNumberCharactersInBinSE02MATH_NUMERICNONENONE

A number that identifies the number of characters to represent the owner for commingled bulk stock (or bin for packaged stock). Valid 
values are numbers 1  through 8.

mnNumberCharactersInLA03SE03MATH_NUMERICNONENONE

The number of characters to represent Code 3 in the location format specification.

mnNumberCharactersInLA04SE04MATH_NUMERICNONENONE

The number of characters to represent Code 4 in the location format specification.

mnNumberCharactersInLA05SE05MATH_NUMERICNONENONE

The number of characters to represent Code 5 in the location format specification.

mnNumberCharactersInLA06SE06MATH_NUMERICNONENONE

The number of characters to represent Code 6 in the location format specification.

mnNumberCharactersInLA07SE07MATH_NUMERICNONENONE

The number of characters to represent Code 7 in the location format specification.

mnNumberCharactersInLA08SE08MATH_NUMERICNONENONE

The number of characters to represent Code 8 in the location format specification.

mnNumberCharactersInLA09SE09MATH_NUMERICNONENONE

The number of characters to represent Code 9 in the location format specification.

mnNumberCharactersInLA10SE10MATH_NUMERICNONENONE

The number of characters to represent Code 10 in the location format specification.

cEditUDCEV01charNONENONE

Special Output Returned
'1' = at least one of the  Location has a UDC Edits defined in datadictionary.  ab 



^

Related Functions

B4000150 Get Branch Constants
B4000360 Check Location Master
B9800100 Get Audit Information

Related Tables

F0005 User Defined Codes
F4100 Location Master
F41001 Inventory Constants
FormatLocation

FormatLocation

Location Information

Major Business Rule

Object Name: B4000310

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4000310A - Format Location

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharNONENONE


^

szDisplayFormatLocationWL01charNONENONE

Special Input Expected
Required if MODE  2ab 

^

szFileFormatLocationLOCNcharNONENONE

Special Input Expected
Required if MODE  1ab 

^

cValidateMODEcharNONENONE

Special Input Expected
'1': Validate location in F4100 

'3' and F41001::LCTL = 'Y': Validate location in  F4100ab 


^

szAisleAISLcharNONENONE

A code that identifies a location in a warehouse. This code is used in conjunction with a bin and lot identifier, to indicate a specific, tangible 
storage area within a warehouse or yard.

szBinBINcharNONENONE

A specific storage location within a warehouse or store. The system uses the bin with an aisle location to identify a storage area whose 
width, depth, and height can be readily measured.

szLocation3LA03charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation4LA04charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation5LA05charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation6LA06charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation7LA07charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation8LA08charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation9LA09charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To be used as a general reporting code for location information.

szLocation10LA10charNONENONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To be used as a general reporting code for location information.

cModeMODEcharNONENONE

Special Input Expected
1 = Take file location and convert to a display location format. 

2 = Take display location and convert to a file location  format.ab 


idBranchConstantRecordGENLNGIDNONENONE

Special Input Expected
F41001 Row Ptr if not passed in, the function will retrieve  itab 


^

Related Functions

B4000150 Get Branch Constants
B4000360 Check Location Master
B9800100 Get Audit Information

Related Tables

F0005 User Defined Codes
F4100 Location Master
F41001 Inventory Constants
FormatLocationWithTemplate

FormatLocationWithTemplate

Location Information

Major Business Rule

Object Name: B4000310

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4000310C - Format Location With Template

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeMODEcharOPTNONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

cValidateMODEcharOPTNONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

idBranchConstantRecordGENLNGIDOPTNONE

General purpose ID variable.

szCostCenterMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szDisplayFormatLocationWL01charOPTNONE

This field is a generic location field which can represent different locations based upon the location qualifier field (WLC) associated with this 
field. If WLC is 06, then this field represents a business unit or branch/plant. If WLC is 93, then this field represents a warehouse location.  
(avail A6.1) If WLC is 94, then this field represents an address book number that specifies the ship to customer. This field should be mapped left 
justified, blank filled.

szFileFormatLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szAisleAISLcharOPTNONE

A code that identifies a location in a warehouse. This code is used in conjunction with a bin and lot identifier, to indicate a specific, tangible 
storage area within a warehouse or yard.

szBinBINcharOPTNONE

A specific storage location within a warehouse or store. The system uses the bin with an aisle location to identify a storage area whose 
width, depth, and height can be readily measured.

szLocation3LA03charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation4LA04charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation5LA05charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation6LA06charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation7LA07charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation8LA08charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To use as a general reporting code for location information.

szLocation9LA09charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To be used as a general reporting code for location information.

szLocation10LA10charOPTNONE

A code that the system uses for one of two purposes:     o To identify a specific location within a Branch/Plant as part of the location identifier.  
   o To be used as a general reporting code for location information.

cAddF4100RecordEV01charOPTNONE

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

cSuppressErrorMessageEV01charOPTNONE

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

szErrorMessageIDDTAIcharOPTNONE

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.

cLocationSegmentControlEV01charOPTNONE

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

Related Functions

B4000150 Get Branch Constants
B4000360 Check Location Master
B9800100 Get Audit Information

Related Tables

F0005 User Defined Codes
F4100 Location Master
F41001 Inventory Constants