GetLineTypeConstants

Line Type - Activity Rules

Minor Business Rule

Object Name: B4000260

Parent DLL: COPBASE

Location: Client/Server

Language: C

^

Data Structure

D4000260B - Get Line Type Constants

Parameter NameData ItemData TypeReq/OptI/O/Both
szLineTypeLNTYcharNONENONE


^

szLineTypeDescLNDScharNONENONE

The first 30 characters of the description that identifies each defined line type. The system uses this description as the default description 
for all non-inventory line items you create through order entry.

szLineTypeDesc2LND2charNONENONE

The second 30 characters of the description that identifies each defined line type. The system uses this description as the default 
description for all non-inventory line items you create through order entry.

cGLInterfaceGLIcharNONENONE

A code that indicates whether the system reflects the monetary amount or unit value of any activity containing this order line type in the 
general ledger. For World, valid values are:    Y The system reflects the monetary amount or unit value in the general ledger.    N The system does 
not reflect the monetary amount or unit value in the general ledger. For OneWorld, a checkmark indicates that the system reflects the 
monetary amount or unit value of any activity containing this order line type in the general ledger.

cInventoryInterfaceIVIcharNONENONE

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

cARInterfaceARIcharNONENONE

A code that indicates whether the system will reflect the monetary amount or unit value of any activity containing this order line type in 
Accounts Receivable. In World software, valid values are:    Y The system reflects the monetary amount or unit value in the Accounts Receivable 
system.    N The system does not reflect the monetary amount or unit value in the Accounts Receivable system. For OneWorld, a checkmark 
indicates that the system reflects the monetary amount or unit value of any activity containing this order line type in the Accounts Receivable 
system.

cAPInterfaceAPIcharNONENONE

A code that indicates whether the system reflects the dollar or unit value of any activity containing this order line type in Accounts Payable. 
In World software, valid values are:    Y Reflect the dollar or unit value of any activity containing this order type in Accounts Payable.    N Do not 
reflect the dollar or unit value of any activity containing this order type in Accounts Payable. In OneWorld, a checkmark indicates that the 
system reflects the dollar or unit value of any activity containing this order type in Accounts Payable.

cReverseSignRSGNcharNONENONE

A code that indicates whether the system reverses the sign of the quantity in the line. This code is used to allow easy entry of credit 
memos. In World software, valid values are:    Y Reverse the sign of the quantity.    N Do not reverse the sign of the quantity. This is the default. In 
OneWorld, a checkmark indicates that the system reverses the sign of the quantity in the line.

cTextLineTXYNcharNONENONE

A code that indicates whether the information with this order line type contains only text information. In World software, valid values are:    Y 
This line contains only text information.    N This line contains more than text information. In OneWorld, a checkmark indicates that the 
information with this order line type contains only text information.

cIncludeSalesCOGSPRFTcharNONENONE

A code that indicates that the system includes sales and cost of goods sold in gross profit calculations. In World software, valid values are:    
Y Include the sales and costs of goods sold in gross profit calculations.    N Do not include the sales and costs of goods sold in gross profit 
calculations. In OneWorld, a checkmark indicates that the system includes the sales and costs of goods sold in gross profit calculations.

cIncludeCashDiscountCDSCcharNONENONE

A code indicating whether the system includes the extended monetary amount of the transaction in the cash discount or payment terms 
discount calculation. In World software, valid values are:    Y Include the extended monetary amount of the transaction in the discount calculation.    
N Do not include the extended monetary amount of the transaction in the discount calculation. This is the default. In OneWorld, a checkmark 
indicates that the system includes the extended monetary amount of the transaction in the cash discount calculation.

cIncludeTax1TX01charNONENONE

A code that indicates whether the monetary value of this order line is subject to applicable taxes and which taxes to apply. Valid values are:  
  Y The line is subject to applicable taxes.    N The line is not subject to applicable taxes.    3-8   Yes, the line is subject to applicable taxes at 
the rate indicated by the group number (3-8). The system uses group numbers for VAT (value added tax).

cIncludeTax2TX02charNONENONE

A code that indicates whether the monetary value of this order line is subject to the second of two applicable taxes. The system uses this 
value and the value in the Include in Tax 1 field only for Job Cost and non-stock inventory order lines.

szGLOffsetGLCcharNONENONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

cPrintDocument1PDC1charNONENONE

In World software, a code that indicates whether this order line appears on the first document in a series of four documents that relate to this 
order. For example, it might be necessary to include receiving information in a purchase order that provides instructions about the desired 
disposition of goods. Although this information is vital to the proper handling of the order,it should not appear on the purchase order that is 
delivered to the supplier. In OneWorld, a checkmark indicates that this order line appears on the first document in a series of four documents that 
relate to this order.

cPrintDocument2PDC2charNONENONE

A code that indicates whether this order line appears on the second document in a series of four documents that relate to this order. For 
example, it might be necessary to include receiving information in a purchase order that provides instructions about the desired disposition of 
goods. Although this information is vital to the proper handling of the order, it should not appear on the purchase order that is delivered to the 
supplier.

cPrintDocument3PDC3charNONENONE

A OneWorld code that indicates whether the system validates the sales order line's item against the Item Master table. Use this flag in 
conjunction with the nonstock inventory interface only. Valid values are:    0   The system will not validate the line item against the Item Master 
table.    1   The system will validate the line item against the Item Master table and will display an error if the item is invalid.

cRecordVariancePDC4charNONENONE

A code that indicates the account to which the system books a variance. In World software, valid values are:    Y A variance that is 
generated during voucher match should be booked to the variance account.    N Book any variance back to the expense account for the order detail 
line. In OneWorld, a checkmark indicates that a variance that is generated during voucher match should be booked to the variance 
account. NOTE: This field is used in conjunction with an inventory interface of A or B in the Procurement system only.

cIncludeTotalDocument1IDC1charNONENONE

A code generally used with the 'D' and 'N' Inventory Interface which indicates whether a Purchase Order should be generated or not. A 
code of '1' will generate a Purchase Order while a code of '0' does not. This field is only used in OneWorld.

cIncludeTotalDocument2IDC2charNONENONE

A user defined code (40/PJ) that identifies the type of interface to a Manufacturing Project.  The valid values are:    0   The item is not related 
to a project    1   Update the lot/location on the parts list and issue the material    2   Update the lot/location on the parts list and do not issue the 
material This code will be used by Purchase Order Receipts to allocate the received inventory to the appropriate project.  The code can 
only be used when a purchase order is created from a parts list and the tie to a project is established.

cIncludeTotalDocument3IDC3charNONENONE

A code that indicates whether the system should include in the total value of the order any monetary value associated with the order line. If 
you enter N (No), you can print information, such as original estimate amounts, on the order next to the actual amount billed without adding the 
estimate amounts to the total order. This code controls whether the system includes the monetary value in the third of four documents in the 
processing cycle.

cIncludeTotaldocument4IDC4charNONENONE

A code that indicates whether the system should include in the total value of the order any monetary value associated with the order line. If 
you enter N (No), you can print information, such as original estimate amounts, on the order next to the actual amount billed without adding the 
estimate amounts to the total order. This code controls whether the system includes the monetary value in the fourth of four documents in the 
processing cycle.

cIncludeColumnSalesJournalCSJcharNONENONE

The Sales Journal report has four columns. The value in this field controls which of the four columns receives the sales value, if any, of this 
line. Valid values are:    1   Column 1 receives the sales value (if any).    2   Column 2 receives the sales value (if any).    3   Column 3 receives the 
sales value (if any).    4   Column 4 receives the sales value (if any).

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

cApplyRetainageARTcharNONENONE

A code that indicates whether the system includes the item's values in the calculation of an accounts payable retainage. Use this field only 
if the interface between the Procurement system and Accounts Payable system is active. In World software, valid values are:    Y Include the 
item's values in the accounts payable retainage calculation.    N Do not include the item's values in the accounts payable retainage 
calculation. This is the default. In OneWorld, a checkmark indicates that the system includes the item's values in the accounts payable retainage 
calculation.

cApplyFreightAFTcharNONENONE

An option that specifies whether the system performs freight calculations during processing.  Valid values are: On The system performs 
freight calculations during processing. Off The system does not perform freight calculations during processing.

cGenerateWorkOrderGWOcharNONENONE

A code indicating whether the system automatically generates an internal work order for this order detail line. In World software, valid values 
are:    Y Generate an internal work order.    N Do not generate an internal work order. In OneWorld, a checkmark indicates that the system 
generates an internal work order for this order detail line.

cSuppressErrorMessageEV01charNONENONE

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

cErrorCodeERRcharNONENONE

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

cCallMaterialsIssueCMIcharOPTNONE

An option that specifies whether the system activates the materials issue function when performing the receipts into stock function.  You use 
this option only for the Procurement system and when you are using Engineering Project Management.

Related Functions

None

Related Tables

F40203 Order Activity Rules
F40205 Line Type Control Constants File
GetLineTypeConstantsT1

GetLineTypeConstantsT1

Line Type - Activity Rules

Minor Business Rule

Object Name: B4000260

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4000260B1 - Get Line Type Constants

Parameter NameData ItemData TypeReq/OptI/O/Both
szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

szLineTypeDescLNDScharNONENONE

The first 30 characters of the description that identifies each defined line type. The system uses this description as the default description 
for all non-inventory line items you create through order entry.

szLineTypeDesc2LND2charNONENONE

The second 30 characters of the description that identifies each defined line type. The system uses this description as the default 
description for all non-inventory line items you create through order entry.

cGLInterfaceGLIcharNONENONE

A code that indicates whether the system reflects the monetary amount or unit value of any activity containing this order line type in the 
general ledger. For World, valid values are:    Y The system reflects the monetary amount or unit value in the general ledger.    N The system does 
not reflect the monetary amount or unit value in the general ledger. For OneWorld, a checkmark indicates that the system reflects the 
monetary amount or unit value of any activity containing this order line type in the general ledger.

cInventoryInterfaceIVIcharNONENONE

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

cARInterfaceARIcharNONENONE

A code that indicates whether the system will reflect the monetary amount or unit value of any activity containing this order line type in 
Accounts Receivable. In World software, valid values are:    Y The system reflects the monetary amount or unit value in the Accounts Receivable 
system.    N The system does not reflect the monetary amount or unit value in the Accounts Receivable system. For OneWorld, a checkmark 
indicates that the system reflects the monetary amount or unit value of any activity containing this order line type in the Accounts Receivable 
system.

cAPInterfaceAPIcharNONENONE

A code that indicates whether the system reflects the dollar or unit value of any activity containing this order line type in Accounts Payable. 
In World software, valid values are:    Y Reflect the dollar or unit value of any activity containing this order type in Accounts Payable.    N Do not 
reflect the dollar or unit value of any activity containing this order type in Accounts Payable. In OneWorld, a checkmark indicates that the 
system reflects the dollar or unit value of any activity containing this order type in Accounts Payable.

cReverseSignRSGNcharNONENONE

A code that indicates whether the system reverses the sign of the quantity in the line. This code is used to allow easy entry of credit 
memos. In World software, valid values are:    Y Reverse the sign of the quantity.    N Do not reverse the sign of the quantity. This is the default. In 
OneWorld, a checkmark indicates that the system reverses the sign of the quantity in the line.

cTextLineTXYNcharNONENONE

A code that indicates whether the information with this order line type contains only text information. In World software, valid values are:    Y 
This line contains only text information.    N This line contains more than text information. In OneWorld, a checkmark indicates that the 
information with this order line type contains only text information.

cIncludeSalesCOGSPRFTcharNONENONE

A code that indicates that the system includes sales and cost of goods sold in gross profit calculations. In World software, valid values are:    
Y Include the sales and costs of goods sold in gross profit calculations.    N Do not include the sales and costs of goods sold in gross profit 
calculations. In OneWorld, a checkmark indicates that the system includes the sales and costs of goods sold in gross profit calculations.

cIncludeCashDiscountCDSCcharNONENONE

A code indicating whether the system includes the extended monetary amount of the transaction in the cash discount or payment terms 
discount calculation. In World software, valid values are:    Y Include the extended monetary amount of the transaction in the discount calculation.    
N Do not include the extended monetary amount of the transaction in the discount calculation. This is the default. In OneWorld, a checkmark 
indicates that the system includes the extended monetary amount of the transaction in the cash discount calculation.

cIncludeTax1TX01charNONENONE

A code that indicates whether the monetary value of this order line is subject to applicable taxes and which taxes to apply. Valid values are:  
  Y The line is subject to applicable taxes.    N The line is not subject to applicable taxes.    3-8   Yes, the line is subject to applicable taxes at 
the rate indicated by the group number (3-8). The system uses group numbers for VAT (value added tax).

cIncludeTax2TX02charNONENONE

A code that indicates whether the monetary value of this order line is subject to the second of two applicable taxes. The system uses this 
value and the value in the Include in Tax 1 field only for Job Cost and non-stock inventory order lines.

szGLOffsetGLCcharNONENONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

cPrintDocument1PDC1charNONENONE

In World software, a code that indicates whether this order line appears on the first document in a series of four documents that relate to this 
order. For example, it might be necessary to include receiving information in a purchase order that provides instructions about the desired 
disposition of goods. Although this information is vital to the proper handling of the order,it should not appear on the purchase order that is 
delivered to the supplier. In OneWorld, a checkmark indicates that this order line appears on the first document in a series of four documents that 
relate to this order.

cPrintDocument2PDC2charNONENONE

A code that indicates whether this order line appears on the second document in a series of four documents that relate to this order. For 
example, it might be necessary to include receiving information in a purchase order that provides instructions about the desired disposition of 
goods. Although this information is vital to the proper handling of the order, it should not appear on the purchase order that is delivered to the 
supplier.

cPrintDocument3PDC3charNONENONE

A OneWorld code that indicates whether the system validates the sales order line's item against the Item Master table. Use this flag in 
conjunction with the nonstock inventory interface only. Valid values are:    0   The system will not validate the line item against the Item Master 
table.    1   The system will validate the line item against the Item Master table and will display an error if the item is invalid.

cRecordVariancePDC4charNONENONE

A code that indicates the account to which the system books a variance. In World software, valid values are:    Y A variance that is 
generated during voucher match should be booked to the variance account.    N Book any variance back to the expense account for the order detail 
line. In OneWorld, a checkmark indicates that a variance that is generated during voucher match should be booked to the variance 
account. NOTE: This field is used in conjunction with an inventory interface of A or B in the Procurement system only.

cIncludeTotalDocument1IDC1charNONENONE

A code generally used with the 'D' and 'N' Inventory Interface which indicates whether a Purchase Order should be generated or not. A 
code of '1' will generate a Purchase Order while a code of '0' does not. This field is only used in OneWorld.

cIncludeTotalDocument2IDC2charNONENONE

A user defined code (40/PJ) that identifies the type of interface to a Manufacturing Project.  The valid values are:    0   The item is not related 
to a project    1   Update the lot/location on the parts list and issue the material    2   Update the lot/location on the parts list and do not issue the 
material This code will be used by Purchase Order Receipts to allocate the received inventory to the appropriate project.  The code can 
only be used when a purchase order is created from a parts list and the tie to a project is established.

cIncludeTotalDocument3IDC3charNONENONE

A code that indicates whether the system should include in the total value of the order any monetary value associated with the order line. If 
you enter N (No), you can print information, such as original estimate amounts, on the order next to the actual amount billed without adding the 
estimate amounts to the total order. This code controls whether the system includes the monetary value in the third of four documents in the 
processing cycle.

cIncludeTotaldocument4IDC4charNONENONE

A code that indicates whether the system should include in the total value of the order any monetary value associated with the order line. If 
you enter N (No), you can print information, such as original estimate amounts, on the order next to the actual amount billed without adding the 
estimate amounts to the total order. This code controls whether the system includes the monetary value in the fourth of four documents in the 
processing cycle.

cIncludeColumnSalesJournalCSJcharNONENONE

The Sales Journal report has four columns. The value in this field controls which of the four columns receives the sales value, if any, of this 
line. Valid values are:    1   Column 1 receives the sales value (if any).    2   Column 2 receives the sales value (if any).    3   Column 3 receives the 
sales value (if any).    4   Column 4 receives the sales value (if any).

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

cApplyRetainageARTcharNONENONE

A code that indicates whether the system includes the item's values in the calculation of an accounts payable retainage. Use this field only 
if the interface between the Procurement system and Accounts Payable system is active. In World software, valid values are:    Y Include the 
item's values in the accounts payable retainage calculation.    N Do not include the item's values in the accounts payable retainage 
calculation. This is the default. In OneWorld, a checkmark indicates that the system includes the item's values in the accounts payable retainage 
calculation.

cApplyFreightAFTcharNONENONE

An option that specifies whether the system performs freight calculations during processing.  Valid values are: On The system performs 
freight calculations during processing. Off The system does not perform freight calculations during processing.

cGenerateWorkOrderGWOcharNONENONE

A code indicating whether the system automatically generates an internal work order for this order detail line. In World software, valid values 
are:    Y Generate an internal work order.    N Do not generate an internal work order. In OneWorld, a checkmark indicates that the system 
generates an internal work order for this order detail line.

cSuppressErrorMessageEV01charNONENONE

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

cErrorCodeERRcharNONENONE

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

cCallMaterialsIssueCMIcharOPTNONE

An option that specifies whether the system activates the materials issue function when performing the receipts into stock function.  You use 
this option only for the Procurement system and when you are using Engineering Project Management.

cProcurementReceiptRequiredPRRQcharOPTNONE

An option that indicates whether purchase orders lines require a receipt. If you choose this option, the purchase order line must be received 
before the voucher match process. If you forego this option, you can match purchase order lines without requiring a receipt.

cEverestEventPoint01_2EV01charOPTNONE

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

cEverestEventPoint02EV02charOPTNONE

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

cEverestEventPoint03EV03charOPTNONE

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. 

cEverestEventPoint04EV04charOPTNONE

PeopleSoft event point processing flag 04.

cEverestEventPoint05EV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

Related Functions

None

Related Tables

F40203 Order Activity Rules
F40205 Line Type Control Constants File
VerifyActivityRuleStatusCode

VerifyActivityRuleStatusCode

Line Type - Activity Rules

Minor Business Rule

Object Name: B4000260

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

To verify that the passed Order Type, Line Type, Status Code exists in the Order Activity Rules table 

(F40203).  The Line Status Code is an optional input parameter.  If you leave it blank, this function 

will verify against the F40203 using just the Order Type and Line Type.  If a record is not found, 

the error code will be set to 1.   If a record is found, this function will return the Line Status and 

allowed next statuses, as well as the Next Number and Ledger Record Y/N flag. 


Setup Notes and Prerequisites


Special Logic




Technical Specification

Edits:


• The Suppress Error Msg flag will control whether an error message should be issued when the record 
is not found.  If a value of '1' is passed and a record is not found, do not call JdeSetGBRError but DO 

set the error code to '1'.

• If only the first two keys are passed (i.e., line status = blank null) and the record is not found, 
issue error message 0425 & highlight the order type and line type.

• If only Order Type is passed in then use only one key to fetch.                                      
04/05/95  cdl

• If all three keys are passed and the record is not found, issue error message 0425 & highlight the 
order type, line type, and line status code.

'b7
• If an error is issued, move '1' to error code and return CONTINUE_GBR.
'b7

Retrievals:


• The input fields - order type, line type, and line status are the key fields to the Order Activity 
Rules (F40203).  The line status is an optional input parameter.

• If only the first two keys are passed (i.e., line status = blank null), then retrieve a row in table 
Order Activity Rules (F40203) for the order type, and line type only. 

• If all three keys are passed, then retrieve a row in table Order Activity Rules (F40203) for the 
order type, line type, and line status code.

'b7

Data Structure

D4000260A - Verify Activity Rule Status Code

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

szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

szLineStatusCodeTRTYcharNONENONE

A user defined code (40/AT) that indicates the status of the line.

szNextStatusNXTRcharNONENONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

szStatusAllowed1A1TRcharNONENONE

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."

szStatusAllowed2A2TRcharNONENONE

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."

szStatusAllowed3A3TRcharNONENONE

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."

szStatusAllowed4A4TRcharNONENONE

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."

szStatusAllowed5A5TRcharNONENONE

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."

cSuppressErrorMessageEV02charNONENONE

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

cErrorCodeERRcharNONENONE

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

mnNextNumberORNNMATH_NUMERICNONENONE

A code that tells the system which next number series to use when creating order numbers for this order type. There are ten available Next 
Number series. This field addresses the following:     o Purchase requisitions that carry order numbers different from bid requests and 
purchase orders     o Blanket sales orders numbered in a different number range from standard sales orders

cLedgerRecordYNWRTHcharNONENONE

A code that tells the system to write a record to the history table (F42199  for Sales Order Management and F43199 for Purchase Order 
Management). Valid codes are:    Y Write a record for selected fields to the history table    N Do not write a record to the history table 

Related Functions

None

Related Tables

F40203 Order Activity Rules
F40205 Line Type Control Constants File
VerifyNextStatusGreaterThanLast

VerifyNextStatusGreaterThanLast

Line Type - Activity Rules

Minor Business Rule

Object Name: B4000260

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

Verify if Status Code Next is greater than the Last Status Code.

Setup Notes and Prerequisites


Special Logic




Technical Specification

Edits:
If the Next Status Code less than and equal to Last Status Code,  set an error message "0425" on.



^

Data Structure

D4000260C - Verify Next Status GreaterThan Last

Parameter NameData ItemData TypeReq/OptI/O/Both
szStatuscodenextNXTRcharNONENONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

szStatuscodelastLTTRcharNONENONE

A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed.

Related Functions

None

Related Tables

F40203 Order Activity Rules
F40205 Line Type Control Constants File