F4826ActivityRules

F4826 Activity Rules

Major Business Rule

Object Name: B4800100

Parent DLL: CMFG

Location: Client/Server

Language: C

Functional Description

Purpose

Retrieve a row from the Work Order Text table (F4802) with the input keys (document number, document 

type, suffix, record type), to return the last (hightest) work order line number.


Setup Notes and Prerequisites


Special Logic




Technical Specification


1. Fetch a row with the input keys,DOCO, DCTO, SFXO, TYPR, and with LINS in descending order.

2. If a rows is not found, return the LINS as 0.


3. If a row is found, return LINS.



Data Structure

D4800100 - F4826 Activity Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
szStatusCodeWOSRSTcharNONENONE

A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from 
90 through 99  triggers the system to automatically update the completion date.

szNextStatusWONTSTcharNONENONE

The next status for a work order, according to the work order activity rules,as the work order moves through the approval route. You must 
define a status code as a work order status in the Work Order Activity Rules table before you can use it as a next status.

szAllowedStatusCode1A1STcharNONENONE

This is an optional field that indicates a status that can be assigned as the next step in the order process. Although this is not the preferred 
or expected next step, this status is an allowed override. The system does not allow you to initiate an order line step or status that is not 
defined as either the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. In processing 
options, these codes are often referred to as override next status codes. You must define a status code as a work order status in the Work Order 
Activity Rules table before you can use it as a next status or another allowed status.

szAllowedStatusCode2A2STcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatusCode3A3STcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatusCode4A4STcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatusCode5A5STcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szErrorMessageDTAIcharNONENONE

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.

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

cTypeWOTYPScharNONENONE

A user defined code (00/TY) that indicates the classification of a work order or engineering change order. You can use work order type as a 
selection criterion for work order approvals.

cModeEV01charNONENONE

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

idStatusLinkListGENLNGIDNONENONE

General purpose ID variable.

cSuppressErrorMessageEV02charNONENONE

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

Related Functions

None

Related Tables

F4826 W.O. Status Action Table
F4826ActivityRulesFreeMemory

F4826ActivityRulesFreeMemory

F4826 Activity Rules

Minor Business Rule

Object Name: B4800100

Parent DLL: CMFG

Location: Client/Server

Language: C

Data Structure

D4800100B - F4826 Activity Rules Free Memory to Link List

Parameter NameData ItemData TypeReq/OptI/O/Both
idLinkListPointerGENLNGIDREQINPUT

General purpose ID variable.

Related Functions

None

Related Tables

F4826 W.O. Status Action Table