DDToken

Content Manager Token Creation

Minor Business Rule

Object Name: B7900041

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900041DesignerKevin Clearwater
Data Structure 
D7900041AProgrammerKevin Clearwater
Function Name
DDTokenSystem CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application



1.Functional Description

1.1Purpose

The purpose of this function is to write/maintain token information in an array of structures for use in Content Manager.  This particular function 

maintains Data Dictionary type tokens.


1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.


1.3Special Logic


Array of  structures were allocated manually so that they memory could be shared amongst different programs.  Make sure that the memory is frees 

properly or it will chew up resources. 


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
EV01CmodeIYMode the function runs in.  See processing section.

GENLNGIdPointerI/OY/NCache Pointer passed in and out to keep track of memory space.

DSCRSzTextIYThe applied description

DTAIszDataItemIYData Item being selected

LNGPszLanguagePreferenceIYLanguage of token.

SYSzProductCodeReportingIYProduct Code of the object the form is in.

FMNMSzFormNameIYForm name of data items

AA06SzTypeIYRow, Column, or FDA.  Text of the type is required from Content Manager.

OBNMszObjectNameIYName of object that the form is in.

TEXTIDidTextIDIYThe FDA spec ID for the actual DD item in FDA.

SYAOszJargonIYJargon applied from the form and Task called from.

GENLNGIdHuserI/OY/NHuser passed in and out to keep track of memory space in RT Buffer.

INT01SequenceNumberI/OY/NThis keeps track of the members in the array.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



if cMode = 1/* Create pointer in RT Cache and Init Huser*/

/* Initialize Behavior */

/* Pass Back Huser for future use in later function calls */

/* Allocate Memory for array of structures so that it will still be around after this function 
/* Use jdeStoreDataPtr to store the pointer to the first element in the array of structures

   into Run Time Cache for future use in later function calls.*/


if cMode = 2/* Use RT Cache and Huser to build token*/


/*Load the token structure for the sequence number passsed in*/


if cMode = 3/* Get Token Information for display*/


/*Load the form DS for token display*/

if cMode = 4/* Clear RT Cache and Free Huser*/


/* Use jdeRemoveDataPtr to remove the pointer from Run Time Cache*/

/*Free Huser*/


Data Structure

D7900041A - Content Manager Data Dictionary Token

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charOPTNONE

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

idPointerGENLNGIDOPTNONE

General purpose ID variable.

szTextDSCAcharOPTNONE

A description for the data items. Enter text in upper and lower case. The system uses this name to search for similar data items. To enter an 
alpha description, follow these conventions: Dates Begin all date fields with the word, Date. Amounts Begin all amount fields with the word, 
Amount. Units Begin all unit, quantity, and volume fields with the word, Units. Name Begin all 30-byte description fields with the word, 
Name. Prompt Begin any Y/N prompting field with the word, Prompt. Address Number  Begin all address numbers (employee, customer, owner) with the 
word, Address Number.

szDataItemDTAIcharOPTNONE

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.

szLanguagePreferenceLNGPcharOPTNONE

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

szProductCodeReportingSYRcharOPTNONE

A user defined code (98/SY) that specifies the system number for reporting and jargon purposes.

szFormNameSCRNcharOPTNONE

In OneWorld, a form or application object name as found in the Object Management Workbench. In WorldSoftware, a screen or display file 
name as found in the Software Versions Repository.

szTypeAA06charOPTNONE

A six-character code that specifies scrub specification data.

szObjectNameOBNMcharOPTNONE

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

idTextIDTEXTIDIDOPTNONE

The form-specific code that identifies text used by RDA and FDA.

szJargonSYRcharOPTNONE

A user defined code (98/SY) that specifies the system number for reporting and jargon purposes.

idHuserGENLNGIDOPTNONE

General purpose ID variable.

nSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None
POObjectToken

POObjectToken

Content Manager Token Creation

Minor Business Rule

Object Name: B7900041

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900041DesignerKevin Clearwater
Data Structure 
D7900041CProgrammerKevin Clearwater
Function Name
POObjectTokenSystem CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application




1.Functional Description

1.1Purpose

The purpose of this function is to write/maintain token information in an array of structures for use in Content Manager.  This particular function 
maintains Processing Option Object type tokens.


1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.


1.3Special Logic


Array of  structures were allocated manually so that they memory could be shared amongst different programs.  Make sure that the memory is frees 

properly or it will chew up resources. 


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
EV01CmodeIYMode the function runs in.  See processing section.

GENLNGIdPointerI/OY/NCache Pointer passed in and out to keep track of memory space.

OBNMszObjectNameIYName of object template (e.g. T1234)

LNGPszLanguagePreferenceIYLanguage of token.

GENLNGIdHuserI/OY/NHuser passed in and out to keep track of memory space in RT Buffer.

INT01SequenceNumberI/OY/NThis keeps track of the members in the array.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



if cMode = 1/* Create pointer in RT Cache and Init Huser*/

/* Initialize Behavior */

/* Pass Back Huser for future use in later function calls */

/* Allocate Memory for array of structures so that it will still be around after this function 
/* Use jdeStoreDataPtr to store the pointer to the first element in the array of structures

   into Run Time Cache for future use in later function calls.*/



if cMode = 2/* Use RT Cache and Huser to build token*/


/*Load the token structure for the sequence number passsed in*/


if cMode = 3/* Get Token Information for display*/


/*Load the form DS for token display*/

if cMode = 4/* Clear RT Cache and Free Huser*/


/* Use jdeRemoveDataPtr to remove the pointer from Run Time Cache*/

/*Free Huser*/



Data Structure

D7900041C - Content Manager Processing Option Object Token

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charOPTNONE

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

idPointerGENLNGIDOPTNONE

General purpose ID variable.

szObjectNameOBNMcharOPTNONE

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

szLanguagePreferenceLNGPcharOPTNONE

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

idHuserGENLNGIDOPTNONE

General purpose ID variable.

nSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None
POTextToken

POTextToken

Content Manager Token Creation

Minor Business Rule

Object Name: B7900041

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900041DesignerKevin Clearwater
Data Structure 
D7900041BProgrammerKevin Clearwater
Function Name
POTextTokenSystem CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application



1.Functional Description

1.1Purpose

The purpose of this function is to write/maintain token information in an array of structures for use in Content Manager.  This particular function 
maintains Processing Option Text  type tokens.


1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.


1.3Special Logic


Array of  structures were allocated manually so that they memory could be shared amongst different programs.  Make sure that the memory is frees 

properly or it will chew up resources. 


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
EV01CmodeIYMode the function runs in.  See processing section.

GENLNGIdPointerI/OY/NCache Pointer passed in and out to keep track of memory space.

OBNMszObjectNameIYName of object template (e.g. T1234)

POTPCTextTypeIYType of PO text record

ITNUMmnItemNumberIYNumber of tab that the text belongs to 

SQNUMmnPOSequenceNumberIYSequence of text on specific tab

LNGPszLanguagePreferenceIYLanguage of token.

GKEYszGlossaryHelpKeyIYData Item of the F1 help 

GENLNGIdHuserI/OY/NHuser passed in and out to keep track of memory space in RT Buffer.

INT01SequenceNumberI/OY/NThis keeps track of the members in the array.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



if cMode = 1/* Create pointer in RT Cache and Init Huser*/

/* Initialize Behavior */

/* Pass Back Huser for future use in later function calls */

/* Allocate Memory for array of structures so that it will still be around after this function 
/* Use jdeStoreDataPtr to store the pointer to the first element in the array of structures

   into Run Time Cache for future use in later function calls.*/



if cMode = 2/* Use RT Cache and Huser to build token*/


/*Load the token structure for the sequence number passsed in*/


if cMode = 3/* Get Token Information for display*/


/*Load the form DS for token display*/

if cMode = 4/* Clear RT Cache and Free Huser*/


/* Use jdeRemoveDataPtr to remove the pointer from Run Time Cache*/

/*Free Huser*/



Data Structure

D7900041B - Content Manager Processing Option Text Token

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charOPTNONE

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

idPointerGENLNGIDOPTNONE

General purpose ID variable.

szObjectNameOBNMcharOPTNONE

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

cTextTypePOTPcharOPTNONE

A code that specifies the type of processing option text. Valid values are: 1 Data Item line text. 2 Page Titles. 3 Comments.

mnItemNumberITNUMMATH_NUMERICOPTNONE

A number that identifies processing option data items.

mnPOSequenceNumberSQNUMMATH_NUMERICOPTNONE

A number that identifies the processing option sequence within a page for page title short and long text, and for processing option comment 
text.

szLanguagePreferenceLNGPcharOPTNONE

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

szGlossaryHelpKeyGKEYcharOPTNONE

A code that identifies document logic modules within a program type. The Glossary Help Key is validated against the Data Dictionary. 
When a program is generated, the glossary for the key is added as documentation for the logic module.

idHuserGENLNGIDOPTNONE

General purpose ID variable.

nSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szPOTextDLcharOPTNONE

A description, remark, name or address.

Related Functions

None

Related Tables

None
WriteDDTokenToFile

WriteDDTokenToFile

Content Manager Token Creation

Minor Business Rule

Object Name: B7900041

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900041DesignerKevin Clearwater
Data Structure 
D7900041DProgrammerKevin Clearwater
Function Name
WriteDDTokenToFileSystem CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application




1.Functional Description

1.1Purpose

The purpose of this function is to write to a file the token information in an array of structures for use in Content Manager.  This particular function 
writes to a file the Data Dictionary type tokens.


1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.


1.2Special Logic


Path and file name passed into function (// are used instead of / so that C can recognize the / in the path name)

File is always deleted first if it exists

Objects in token are delaminated by a pipe '|'.

A new line is entered before each new token entry


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
GENLNGIdCachePointerI/OY/NCache Pointer passed in and out to keep track of memory space.

GENLNGIdHuserI/OY/NHuser passed in and out to keep track of memory space in RT Buffer.

DSCRszFileNamePathIYFile and Path that will be used to create file.

INT01nLastTokenSequenceNumber IYGives the function a MAX so it doesn't have to search the entire array.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



/*Open file for insertion of tokens.  The W parameter will delete the file if it exists and create a new one*/
/*Loop through array of structures for token items*/

/*If the data item is blank then this number was skipped. go to next*/
/*Write Token to file*/
/*End of For loop*/

/*Close file for insertion of tokens.*/



Data Structure

D7900041D - Content Manager Writing Token To File

Parameter NameData ItemData TypeReq/OptI/O/Both
idCachePointerGENLNGIDOPTNONE

General purpose ID variable.

idHuserGENLNGIDOPTNONE

General purpose ID variable.

nLastTokenSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szFileNamePathDLcharOPTNONE

A description, remark, name or address.

Related Functions

None

Related Tables

None
WritePOObjectTokenToFile

WritePOObjectTokenToFile

Content Manager Token Creation

Minor Business Rule

Object Name: B7900041

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900041DesignerKevin Clearwater
Data Structure 
D7900041DProgrammerKevin Clearwater
Function Name
WritePOObjectTokenToFileSystem CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application




1.Functional Description

1.1Purpose

The purpose of this function is to write to a file the token information in an array of structures for use in Content Manager.  This particular function 
writes to a file the Processing Option Object type tokens.


1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.


1.3Special Logic


Path and file name passed into function (// are used instead of / so that C can recognize the / in the path name)

File is always deleted first if it exists

Objects in token are delaminated by a pipe '|'.

A new line is entered before each new token entry


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
GENLNGIdCachePointerI/OY/NCache Pointer passed in and out to keep track of memory space.

GENLNGIdHuserI/OY/NHuser passed in and out to keep track of memory space in RT Buffer.

DSCRszFileNamePathIYFile and Path that will be used to create file.

INT01nLastTokenSequenceNumber IYGives the function a MAX so it doesn't have to search the entire array.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



/*Open file for insertion of tokens.  The W parameter will delete the file if it exists and create a new one*/
/*Loop through array of structures for token items*/

/*If the object is blank then this number was skipped. go to next*/
/*Write Token to file*/
/*End of For loop*/

/*Close file for insertion of tokens.*/



Data Structure

D7900041D - Content Manager Writing Token To File

Parameter NameData ItemData TypeReq/OptI/O/Both
idCachePointerGENLNGIDOPTNONE

General purpose ID variable.

idHuserGENLNGIDOPTNONE

General purpose ID variable.

nLastTokenSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szFileNamePathDLcharOPTNONE

A description, remark, name or address.

Related Functions

None

Related Tables

None
WritePOTextTokenToFile

WritePOTextTokenToFile

Content Manager Token Creation

Minor Business Rule

Object Name: B7900041

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900041DesignerKevin Clearwater
Data Structure 
D7900041DProgrammerKevin Clearwater
Function Name
WritePOTextTokenToFileSystem CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application




1.Functional Description

1.1Purpose

The purpose of this function is to write to a file the token information in an array of structures for use in Content Manager.  This particular function 
writes to a file the Processing Option Text type tokens.


1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.

 

1.3Special Logic


Path and file name passed into function (// are used instead of / so that C can recognize the / in the path name)

File is always deleted first if it exists

Objects in token are delaminated by a pipe '|'.

A new line is entered before each new token entry


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
GENLNGIdCachePointerI/OY/NCache Pointer passed in and out to keep track of memory space.

GENLNGIdHuserI/OY/NHuser passed in and out to keep track of memory space in RT Buffer.

DSCRszFileNamePathIYFile and Path that will be used to create file.

INT01nLastTokenSequenceNumber IYGives the function a MAX so it doesn't have to search the entire array.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



/*Open file for insertion of tokens.  The W parameter will delete the file if it exists and create a new one*/
/*Loop through array of structures for token items*/

/*If the object is blank then this number was skipped. go to next*/
/*Write Token to file*/
/*End of For loop*/

/*Close file for insertion of tokens.*/



Data Structure

D7900041D - Content Manager Writing Token To File

Parameter NameData ItemData TypeReq/OptI/O/Both
idCachePointerGENLNGIDOPTNONE

General purpose ID variable.

idHuserGENLNGIDOPTNONE

General purpose ID variable.

nLastTokenSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szFileNamePathDLcharOPTNONE

A description, remark, name or address.

Related Functions

None

Related Tables

None