F40205GetSmartLineTypeConstants

F40205 Get Smart Line Type Constants

Minor Business Rule

Object Name: B3102250

Parent DLL: CMFGBASE

Location: Client/Server

Language: C














































Data Structure

D3102250 - F40205 Get Smart Line Type Constants

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

cActionCodeACTNcharREQINPUT

A code that specifies the action that is performed. Valid values are: A Add C Change

szLineTypeLNTYcharOPTNONE

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

szLineTypeDescriptionLNDScharOPTNONE

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.

szLineTypeDescription2LND2charOPTNONE

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.

szGLOffsetGLCcharOPTNONE

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.

szOrderTypeDCTOcharOPTNONE

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

cGLInterfaceGLIcharOPTNONE

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.

cInventoryInterfaceIVIcharOPTNONE

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.

cARInterfaceARIcharOPTNONE

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.

cAPInterfaceAPIcharOPTNONE

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.

cReverseSignRSGNcharOPTNONE

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.

cTextLineTXYNcharOPTNONE

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.

cIncludeSalesCOGSPRFTcharOPTNONE

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.

cIncludeTax1TX01charOPTNONE

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

cIncludeTax2TX02charOPTNONE

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.

cPrintDocument1PDC1charOPTNONE

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.

cPrintDocument2PDC2charOPTNONE

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.

cPrintDocument3PDC3charOPTNONE

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.

cRecordVariancePDC4charOPTNONE

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.

cIncludeTotalDocument1IDC1charOPTNONE

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.

cIncludeTotalDocument2IDC2charOPTNONE

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.

cIncludeTotalDocument3IDC3charOPTNONE

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.

cIncludeTotalDocument4IDC4charOPTNONE

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.

cIncludeColumnSalesJournalCSJcharOPTNONE

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

cApplyRetainageARTcharOPTNONE

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.

cApplyFreightAFTcharOPTNONE

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.

cGenerateWorkorderGWOcharOPTNONE

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.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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.

cErrorCodeERRCcharOPTNONE

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

cIncludeCashDiscountCDSCcharOPTNONE

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.

Related Functions

None

Related Tables

None