VerifyRemarksExist

Verify Remarks Exist

Minor Business Rule

Object Name: B3100150

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This business function will validate that the SAR Detail Table (F4802) contains at least Remarks Line 
for a given Work Order Number. This function will return a code '1'in the errorcode field, if any 

Remarks are found and '0' if no Remarks are found.


1.2Setup Notes and Prerequisites

• None.

1.3Special Logic

None.

2.Technical Specifications


2.4Processing
 

Check  the SAR Detail table (F4802) for a record using  Work Order Number (DOCO), Work Order Type 
(DCTO) and Work Order Suffix (SFXO) as the key fields. 


If the any Work Order Remarks are found, the function will return '1' in the Error Code field, and 

'0' if No Remarks are found. If the Message Code is input as 'Y', the error message (Number - 1866) will 

be returned

^

Data Structure

D3100150 - Verify Remarks Exist

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentNumberDOCOMATH_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.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cMessageCodeMSGAcharNONENONE

A code to indicate which messages should be displayed. A Y code will display all messages, including those that have been cleared or 
processed, but not those already deleted. Any value other than Y will display current messages only.

Related Functions

None

Related Tables

F4802 Work Order Instructions File