WriteRemarksRecord

Write Remarks Record

Major Business Rule

Object Name: B3000760

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description
This business function creates a row in Work Order Remarks File F4802 for a given order number, 
 type, suffix, record type and line number. If row creation fails, this business function will return 

an error message '2463' (Record already exists) if suppress error messages input parameter is equal 

to '0'.               


1.1Purpose
This business function creates a record in Work Order Remarks File F4802.

 1.2Setup Notes and Prerequisites

None

1.3Special Logic

None.

2.Technical Specifications


2.4Processing 

 Clear the F4802.
 Load all fields passed in to the WB fields. 

 Write a row in F4802 file.


Retrievals:

None.


Returns:


1.  Return error message ID '2463' if write is not successful and if  '0' was specified for Suppress 
Error

     messages parameter.


Checklist:


Business Function SVR(The Business Function SVR document can be found on 
in the shared folder NTSERV2.xls)

______Business Function Name

______Source file Name

______Description of what the function does

______Which programs use the function

______Authors name


    Object Librarian Check:

______Verify Related Functions List against header file
______Verify Related Tables List against header file

______Verify Business Function Data Structure in the header file against Business Function   

   Parameter List

______"Check In" All the Business Function Parameter Lists


   All Business Functions must be run through Bounds Checker before checking them  in.

______Bounds Checker


Note:
Make sure to highlight the line and click on either 'Parameters' or 'Notes' button to get 
Function ID




^

Data Structure

D3000760 - Write Remarks Record

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.

mnLineNumberLINSMATH_NUMERICNONENONE

The Line Number associated with Work Order text information.

szDescriptionSRDScharNONENONE

A detailed narrative description to explain the pending work order or engineering change order. The field offers unlimited text. You can 
format it on the Record Types screen to divide a work order into sections.

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.

cSuppressErrorMessagesEV01charNONENONE

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

Related Functions

None

Related Tables

F4802 Work Order Instructions File