CheckandReplaceMatchingString

Language Translation Search and Replace

Minor Business Rule

Object Name: B7900007

Parent DLL: CTRANS

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

This function checks the input string for a match based on the search string and logic flags for case sensitive, equal to and 

search type. If a match is found in the input string, it replaces the "Search string" with the "Replace with" string and returns the 

updated string. 


1.2Setup Notes and Prerequisites


1.3Special Logic

Pass in

• Input string either as a 300, 3000 or 30000 character string. If multiple strings entered, only the 
largest string will be checked.

• Case sensitive flag
• Equal to flag - Does the string either contain or not contain the string.
• Search type flag returned by the "Check Search Type" function.
• 'b7 
Pass out a flag indicating if a match exists.

• Record Match equal '1' for a match, '0' for no match
• Updated string is passed back out via the original input string field.
• 'b7
The "Search type" returns the following character depending on the string passed in.

String-'X' - Exact match

String*-'S' - Starting with

*String  -'E' - Ending with

*String*-'W' - Full wild card search



Data Structure

D7900007 - Language Translation Search and Replace

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeACTNcharREQINPUT

A code that specifies the action that is performed. Valid values are: A Add C Change

cUpdateMasterFileEV01charOPTNONE

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

cProcessEditEV01charOPTNONE

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

cSuppressErrorMessageSUPPScharOPTNONE

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.

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.

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cSearchTypeEV01charOPTNONE

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

cCaseSensitiveEV02charOPTINPUT

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

cConditionLogicEV03charOPTINPUT

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cDoubleByteLanguageEV04charOPTINPUT

PeopleSoft event point processing flag 04.

cMatchingRecordEV05charOPTOUTPUT

A flag that indicates whether automatic spell check is turned on.

szSearchTextDL01charOPTBOTH

A user defined name or remark.

szReplaceWithDL01charOPTINPUT

A user defined name or remark.

nInputLengthINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

nOutputLengthINT02integerOPTOUTPUT

Number of Days in the Past to Query for Quote Requests Received. 

szInputTextShort300DLcharOPTNONE

A description, remark, name or address.

szInputTextLong3000VarRTRDcharOPTNONE

A line of text that holds the foreign or translated description for miscellaneous information held in OneWorld. For example, OneWorld 
Explorer and JDE User information is held in a translated text description once the translation of the base language has been completed.

szInputPOText30000VarPOTXcharOPTNONE

Text for processing option templates.  May be page title, comments, or data item description

Related Functions

None

Related Tables

None
CheckforStringMatch

CheckforStringMatch

Language Translation Search and Replace

Minor Business Rule

Object Name: B7900007

Parent DLL: CTRANS

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function checks the input string for a match based on the search string and logic flags for case sensitive, equal to and search type.

1.2Setup Notes and Prerequisites


1.3Special Logic

Pass in

• Input string either as a 300, 3000 or 30000 character string. If multiple strings entered, only the 
largest string will be checked.

• Case sensitive flag
• Equal to flag - Does the string either contain or not contain the string.
• Search type flag returned by the "Check Search Type" function.
 

Pass out a flag indicating if a match exists.

• Record Match equal '1' for a match, '0' for no match

The "Search type" returns the following character depending on the string passed in.

String-'X' - Exact match

String*-'S' - Starting with

*String  -'E' - Ending with

*String*-'W' - Full wild card search



Data Structure

D7900007 - Language Translation Search and Replace

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeACTNcharREQINPUT

A code that specifies the action that is performed. Valid values are: A Add C Change

cUpdateMasterFileEV01charOPTNONE

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

cProcessEditEV01charOPTNONE

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

cSuppressErrorMessageSUPPScharOPTNONE

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.

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.

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cSearchTypeEV01charOPTNONE

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

cCaseSensitiveEV02charOPTINPUT

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

cConditionLogicEV03charOPTINPUT

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cDoubleByteLanguageEV04charOPTINPUT

PeopleSoft event point processing flag 04.

cMatchingRecordEV05charOPTOUTPUT

A flag that indicates whether automatic spell check is turned on.

szSearchTextDL01charOPTBOTH

A user defined name or remark.

szReplaceWithDL01charOPTINPUT

A user defined name or remark.

nInputLengthINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

nOutputLengthINT02integerOPTOUTPUT

Number of Days in the Past to Query for Quote Requests Received. 

szInputTextShort300DLcharOPTNONE

A description, remark, name or address.

szInputTextLong3000VarRTRDcharOPTNONE

A line of text that holds the foreign or translated description for miscellaneous information held in OneWorld. For example, OneWorld 
Explorer and JDE User information is held in a translated text description once the translation of the base language has been completed.

szInputPOText30000VarPOTXcharOPTNONE

Text for processing option templates.  May be page title, comments, or data item description

Related Functions

None

Related Tables

None
CheckSearchType

CheckSearchType

Language Translation Search and Replace

Minor Business Rule

Object Name: B7900007

Parent DLL: CTRANS

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function checks the search string passed in to determine if there are leading or tailing wild card characters ('*'). It then returns a code 
indicating the search type, and the string with the wild cards removed.


1.2Setup Notes and Prerequisites

Pass in the search text string.

Function passes out the 'Search Type' and the search string without the wild card characters.


1.3Special Logic


The "Search type" returns the following character depending on the string passed in.

String-'X' - Exact match

String*-'S' - Starting with

*String  -'E' - Ending with

*String*-'W' - Full wild card search


Data Structure

D7900007 - Language Translation Search and Replace

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeACTNcharREQINPUT

A code that specifies the action that is performed. Valid values are: A Add C Change

cUpdateMasterFileEV01charOPTNONE

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

cProcessEditEV01charOPTNONE

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

cSuppressErrorMessageSUPPScharOPTNONE

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.

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.

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cSearchTypeEV01charOPTNONE

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

cCaseSensitiveEV02charOPTINPUT

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

cConditionLogicEV03charOPTINPUT

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cDoubleByteLanguageEV04charOPTINPUT

PeopleSoft event point processing flag 04.

cMatchingRecordEV05charOPTOUTPUT

A flag that indicates whether automatic spell check is turned on.

szSearchTextDL01charOPTBOTH

A user defined name or remark.

szReplaceWithDL01charOPTINPUT

A user defined name or remark.

nInputLengthINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

nOutputLengthINT02integerOPTOUTPUT

Number of Days in the Past to Query for Quote Requests Received. 

szInputTextShort300DLcharOPTNONE

A description, remark, name or address.

szInputTextLong3000VarRTRDcharOPTNONE

A line of text that holds the foreign or translated description for miscellaneous information held in OneWorld. For example, OneWorld 
Explorer and JDE User information is held in a translated text description once the translation of the base language has been completed.

szInputPOText30000VarPOTXcharOPTNONE

Text for processing option templates.  May be page title, comments, or data item description

Related Functions

None

Related Tables

None