ValidateCSMSLineType

Validate S/WM Line Type

Minor Business Rule

Object Name: N1700850

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.1Purpose
This NER is used to validate a CSMS Line Type. It performs up to three edits. The first edit is that the Line Type exists in the. F40205 table. The 

second edit is that the Line Type is identified as a CSMS Line Type in F40205. The third edit is optional. It edits that the Line Type is identified in the 

F1793 table as a Base Warranty Line Type. In addition, the Line Type Description is returned, as well as a flag that identifies the Line Type as a Base 

Warranty Line Type.



1.2Setup Notes and Prerequisites.


Use the Type of Edit parameter in the following way:

1=  No Base Warranty Line Type edits
2=  Identify if Line Type is a Base Warranty

3=  Validate Line Type for Base Warranty


The output parameter Base Warranty Status has the following values:

0=  Not a Base Warranty Line Type
1=  Base Warranty Line Type


1.3Special Logic



Data Structure

D1700850 - Validate S/WM Line Type

Parameter NameData ItemData TypeReq/OptI/O/Both
szLineTypeLNTYcharREQINPUT

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

cTypeOfEditEV01charREQINPUT

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

cBaseWarrantyStatusEV01charOPTOUTPUT

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

szDescriptionLineTypeLNDScharOPTOUTPUT

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.

cSuppressErrorMessageEV01charREQINPUT

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

cErrorCodeERRCcharOPTOUTPUT

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

szErrorMessageIDDTAIcharOPTOUTPUT

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.

Related Functions

None

Related Tables

None