F4802Close

Write WO Text Row

Minor Business Rule

Object Name: B3100860

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This is a generic business function to handle all processing of the F4802.  There are four main 
functions to add, delete, fetch and update records to the file.  The last function, F4802Close, will close 

the F4802 and release the memory.  If the input  F4802 Record Pointer, the function will open the 

table and return the pointer.   This pointer can then be sent in multiple times to perform any I/O on the 

table.  The function F4802Close MUST be called when through processing to release the memory.  


1.2Setup Notes and Prerequisites
None

1.3Special Logic

The same data structure will be used for all functions in the B3100860.  Some of the parameters will 
not be used with all functions.  See each data structure description below for further details.


2.Technical Specifications
2.4Processing
/***********************************************************************************/
F4802Close:

Get ODBC Handle
If input idF4802Pointer does not  = NULL

Remove F4802 Pointer
Close F4802

End If
End F4802GetWOTextRecord





^

Data Structure

D3100860 - Write WO Text Row

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szTextLineTXLNcharNONENONE

An internal counter used by order processing programs to determine the order in which the lines of a print message appear.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

jdDateAssociatedDAAJDEDATENONENONE

The date associated with a given SAR change to the Software Action Ledger.

szAssociatedText1ANM1charNONENONE

Associated Work Order Items.

szAssociatedText2ANM2charNONENONE

Associated Work Order Items.

szAssociatedText3ANM3charNONENONE

Associated Work Order Items.

idF4802PointerGENLNGIDNONENONE

General purpose ID variable.

cF4802IndexEV02charNONENONE

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

cNumberOfKeysEV03charNONENONE

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. 

cProcessEditsEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

Related Functions

None

Related Tables

F4802 Work Order Instructions File
F4802DeleteWOTextRow

F4802DeleteWOTextRow

Write WO Text Row

Minor Business Rule

Object Name: B3100860

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This is a generic business function to handle all processing of the F4802.  There are four main 
functions to add, delete, fetch and update records to the file.  The last function, F4802Close, will close 

the F4802 and release the memory.  If the input  F4802 Record Pointer, the function will open the 

table and return the pointer.   This pointer can then be sent in multiple times to perform any I/O on the 

table.  The function F4802Close MUST be called when through processing to release the memory.  


1.2Setup Notes and Prerequisites
None

1.3Special Logic

The same data structure will be used for all functions in the B3100860.  Some of the parameters will 
not be used with all functions.  See each data structure description below for further details.


2.Technical Specifications
2.4Processing
/***********************************************************************************/
F4802DeleteWOTextRow:

Get ODBC Handle
If input idF4802Pointer = NULL

Open F4802 table
Else

Retrieve F4802 Pointer

End If
If F4802 Pointer is not Null

If input cF4802 Index = '2'
Load Key Values to Key 2 Structure: WBDOCO, WBTYPR

If cNumberOfKeys <= 0 and > 2

cNumberOfKeys = 2

End If

Delete Record using index 2 and input cNumberOfKeys

Else if input cF4802 Index = '3'

Load Key Values to Key 3 Structure: WBDOCO, WBDCTO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 4
cNumberOfKeys = 4
End If

Delete Record using index 3 and input cNumberOfKeys
Else (use Index = '1')
Load Key Values to Key 1 Structure: WBDOCO, WBDCTO, WBSFXO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 5

cNumberOfKeys = 5

End If

Delete Record using index 1 and input cNumberOfKeys

End If

If delete not successful

set error message ID - 013G Delete Unsuccessful
Return Code = ER_ERROR
Else

Store pointer and set output idF4802Pointer

End If

Else
set error message ID - 3143 File cannot be accessed

Return Code = ER_ERROR

End If

End F4802DeleteWOTextRecord



^

Data Structure

D3100860 - Write WO Text Row

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szTextLineTXLNcharNONENONE

An internal counter used by order processing programs to determine the order in which the lines of a print message appear.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

jdDateAssociatedDAAJDEDATENONENONE

The date associated with a given SAR change to the Software Action Ledger.

szAssociatedText1ANM1charNONENONE

Associated Work Order Items.

szAssociatedText2ANM2charNONENONE

Associated Work Order Items.

szAssociatedText3ANM3charNONENONE

Associated Work Order Items.

idF4802PointerGENLNGIDNONENONE

General purpose ID variable.

cF4802IndexEV02charNONENONE

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

cNumberOfKeysEV03charNONENONE

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. 

cProcessEditsEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

Related Functions

None

Related Tables

F4802 Work Order Instructions File
F4802GetWOTextRow

F4802GetWOTextRow

Write WO Text Row

Minor Business Rule

Object Name: B3100860

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This is a generic business function to handle all processing of the F4802.  There are four main 
functions to add, delete, fetch and update records to the file.  The last function, F4802Close, will close 

the F4802 and release the memory.  If the input  F4802 Record Pointer, the function will open the 

table and return the pointer.   This pointer can then be sent in multiple times to perform any I/O on the 

table.  The function F4802Close MUST be called when through processing to release the memory.  


1.2Setup Notes and Prerequisites
None

1.3Special Logic

The same data structure will be used for all functions in the B3100860.  Some of the parameters will 
not be used with all functions.  See each data structure description below for further details.


2.Technical Specifications
2.4Processing
/***********************************************************************************/
F4802GetWOTextRow:

Get ODBC Handle
If input idF4802Pointer = NULL

Open F4802 table
Else

Retrieve F4802 Pointer

End If
If F4802 Pointer is not Null

// Set global variables index and number of keys

If input cF4802 Index = '2'

Load Key Values to Key 2 Structure: WBDOCO, WBTYPR
If cNumberOfKeys <= 0 and > 2
cNumberOfKeys = 2
End If
Else if input cF4802 Index = '3'
Load Key Values to Key 3 Structure: WBDOCO, WBDCTO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 4
cNumberOfKeys = 4
End If
Else (use Index = '1')
Load Key Values to Key 1 Structure: WBDOCO, WBDCTO, WBSFXO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 5
cNumberOfKeys = 5
End If
End If
// Determine which type of fetch to use

If cProcessEdits = '1'

// FetchMatchingKey

Fetch the Next Record based on key -  1st Call function with cProcessEdits = '0' 


Else If input cProcessEdits = '2'

// Select Keyed

Select Records using input index and input cNumberOfKeys 

End If
If Select Successful

// Fetch 

Fetch Record

End If

 

Else if cProcessEdits = '3'

// Fetch

Fetch next record using the pointer from the previous call where cProcessEdits = 

'2' 


Else if cProcessEdits = '4'

// Sort 

Define Sort Structure with WBLINS in descending order
// Fetch 

Fetch Record

Else

// FetchKeyed

Fetch Record using input index and input cNumberOfKeys 
End If

If fetch not successful

set error message ID - 017F Fetch Unsuccessful
Return Code = ER_ERROR
Else

Store pointer and set output idF4802Pointer

Load output parameters: szOrderType, szOrderSuffix, cRecordType, mnLineNumber, 

jdDateUpdated, szTextLine, szAssociatedText1, szAssociatedText2,
szAssociatedText3,

End If
Else

set error message ID - 3143 File cannot be accessed

Return Code = ER_ERROR

End If

End F4802GetWOTextRecord



^

Data Structure

D3100860 - Write WO Text Row

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szTextLineTXLNcharNONENONE

An internal counter used by order processing programs to determine the order in which the lines of a print message appear.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

jdDateAssociatedDAAJDEDATENONENONE

The date associated with a given SAR change to the Software Action Ledger.

szAssociatedText1ANM1charNONENONE

Associated Work Order Items.

szAssociatedText2ANM2charNONENONE

Associated Work Order Items.

szAssociatedText3ANM3charNONENONE

Associated Work Order Items.

idF4802PointerGENLNGIDNONENONE

General purpose ID variable.

cF4802IndexEV02charNONENONE

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

cNumberOfKeysEV03charNONENONE

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. 

cProcessEditsEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

Related Functions

None

Related Tables

F4802 Work Order Instructions File
F4802UpdateWOTextRow

F4802UpdateWOTextRow

Write WO Text Row

Minor Business Rule

Object Name: B3100860

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This is a generic business function to handle all processing of the F4802.  There are four main 
functions to add, delete, fetch and update records to the file.  The last function, F4802Close, will close 

the F4802 and release the memory.  If the input  F4802 Record Pointer, the function will open the 

table and return the pointer.   This pointer can then be sent in multiple times to perform any I/O on the 

table.  The function F4802Close MUST be called when through processing to release the memory.  


1.2Setup Notes and Prerequisites
None

1.3Special Logic

The same data structure will be used for all functions in the B3100860.  Some of the parameters will 
not be used with all functions.  See each data structure description below for further details.


2.Technical Specifications
2.4Processing
/***********************************************************************************/
F4802UpdateWOTextRow:

Get ODBC Handle
If input idF4802Pointer = NULL

Open F4802 table
Else

Retrieve F4802 Pointer

End If
If F4802 Pointer is not Null

If input cF4802 Index = '2'
Load Key Values to Key 2 Structure: WBDOCO, WBTYPR

If cNumberOfKeys <= 0 and > 2

cNumberOfKeys = 2

End If

Update Record using index 2 and input cNumberOfKeys

Else if input cF4802 Index = '3'

Load Key Values to Key 3 Structure: WBDOCO, WBDCTO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 4
cNumberOfKeys = 4
End If

Update Record using index 3 and input cNumberOfKeys
Else (use Index = '1')
Load Key Values to Key 1 Structure: WBDOCO, WBDCTO, WBSFXO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 5

cNumberOfKeys = 5

End If

Update Record using index 1 and input cNumberOfKeys

End If

If update not successful

set error message ID - 013H Update Unsuccessful
Return Code = ER_ERROR
Else

Store pointer and set output idF4802Pointer

End If

Else
set error message ID - 3143 File cannot be accessed

Return Code = ER_ERROR

End If

End F4802UpdateWOTextRecord



^

Data Structure

D3100860 - Write WO Text Row

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szTextLineTXLNcharNONENONE

An internal counter used by order processing programs to determine the order in which the lines of a print message appear.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

jdDateAssociatedDAAJDEDATENONENONE

The date associated with a given SAR change to the Software Action Ledger.

szAssociatedText1ANM1charNONENONE

Associated Work Order Items.

szAssociatedText2ANM2charNONENONE

Associated Work Order Items.

szAssociatedText3ANM3charNONENONE

Associated Work Order Items.

idF4802PointerGENLNGIDNONENONE

General purpose ID variable.

cF4802IndexEV02charNONENONE

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

cNumberOfKeysEV03charNONENONE

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. 

cProcessEditsEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

Related Functions

None

Related Tables

F4802 Work Order Instructions File
F4802WriteWOTextRow

F4802WriteWOTextRow

Write WO Text Row

Minor Business Rule

Object Name: B3100860

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This is a generic business function to handle all processing of the F4802.  There are four main 
functions to add, delete, fetch and update records to the file.  The last function, F4802Close, will close 

the F4802 and release the memory.  If the input  F4802 Record Pointer, the function will open the 

table and return the pointer.   This pointer can then be sent in multiple times to perform any I/O on the 

table.  The function F4802Close MUST be called when through processing to release the memory.  


1.2Setup Notes and Prerequisites
None

1.3Special Logic

The same data structure will be used for all functions in the B3100860.  Some of the parameters will 
not be used with all functions.  See each data structure description below for further details.


2.Technical Specifications
2.4Processing
/***********************************************************************************/
F4802WriteWOTextRow:

Get ODBC Handle
If input idF4802Pointer = NULL

Open F4802 table
Else

Retrieve F4802 Pointer

End If
If F4802 Pointer is not Null

If input Line Number is not 0

Retrieve the last record in group defined by input Order Number, Order Type, Record 

Type

Set F4802 structure line number by incrementing the Fetched Record's Line Number by 


End If

Load input parameters to the F4802 data structure
Add record to F4802

If add not successful

set error message ID - 017E Insert Unsuccessful
Return Code = ER_ERROR
Else

Store pointer and set output idF4802Pointer

End If

Else
set error message ID - 3143 File cannot be accessed

Return Code = ER_ERROR

End If

End F4802WriteWOTextRecord

 

^

Data Structure

D3100860 - Write WO Text Row

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szTextLineTXLNcharNONENONE

An internal counter used by order processing programs to determine the order in which the lines of a print message appear.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

jdDateAssociatedDAAJDEDATENONENONE

The date associated with a given SAR change to the Software Action Ledger.

szAssociatedText1ANM1charNONENONE

Associated Work Order Items.

szAssociatedText2ANM2charNONENONE

Associated Work Order Items.

szAssociatedText3ANM3charNONENONE

Associated Work Order Items.

idF4802PointerGENLNGIDNONENONE

General purpose ID variable.

cF4802IndexEV02charNONENONE

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

cNumberOfKeysEV03charNONENONE

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. 

cProcessEditsEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

Related Functions

None

Related Tables

F4802 Work Order Instructions File
s <= 0 and > 2

cNumberOfKeys = 2

End If

Delete Record using index 2 and input cNumberOfKeys

Else if input cF4802 Index = '3'

Load Key Values to Key 3 Structure: WBDOCO, WBDCTO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 4
cNumberOfKeys = 4
End If

Delete Record using index 3 and input cNumberOfKeys
Else (use Index = '1')
Load Key Values to Key 1 Structure: WBDOCO, WBDCTO, WBSFXO, WBTYPR, WBLINS

If cNumberOfKeys <= 0 and > 5

cNumberOfKeys = 5

End If

Delete Record using index 1 and input cNumberOfKeys

End If

If delete not successful

set error message ID - 013G Delete Unsuccessful
Return Code = ER_ERROR
Else

Store pointer and set output idF4802Pointer

End If

Else
set error message ID - 3143 File cannot be accessed

Return Code = ER_ERROR

End If

End F4802DeleteWOTextRecord



^

Data Structure

D3100860 - Write WO Text Row

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szTextLineTXLNcharNONENONE

An internal counter used by order processing programs to determine the order in which the lines of a print message appear.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

jdDateAssociatedDAAJDEDATENONENONE

The date associated with a given SAR change to the Software Action Ledger.

szAssociatedText1ANM1charNONENONE

Associated Work Order Items.

szAssociatedText2ANM2charNONENONE

Associated Work Order Items.

szAssociatedText3ANM3charNONENONE

Associated Work Order Items.

idF4802PointerGENLNGIDNONENONE

General purpose ID variable.

cF4802IndexEV02charNONENONE

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

cNumberOfKeysEV03charNONENONE

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. 

cProcessEditsEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

Related Functions

None

Related Tables

F4802 Work Order Instructions File
F4802GetWOTextRow

F4802GetWOTextRow

Write WO Text Row

Minor Business Rule

Object Name: B3100860

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This is a generic business function to handle all processing of the F4802.  There are four main 
functions to add, delete, fetch and update records to the file.  The last function, F4802Close, will close 

the F4802 and release the memory.  If the input  F4802 Record Pointer, the function will open the 

table and return the pointer.   This pointer can then be sent in multiple times to perform any I/O on the 

table.  The function F4802Close MUST be called when through processing to release the memory.  


1.2Setup Notes and Prerequisites
None

1.3Special Logic

The same data structure will be used for all functions in the B3100860.  Some of the parameters will 
not be used with all functions.  See each data structure description below for further details.


2.Technical Specifications
2.4Processing
/***********************************************************************************/
F4802GetWOTextRow: