F3291DeleteSegments

F3291 Delete Segments

Minor Business Rule

Object Name: B3200050

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

Delete all segments in F3291 for a configured item.

1.2Setup Notes and Prerequisites


1.3Special Logic


2.Technical Specifications

2.4Processing 

1. Initialize Error Message ID (EV01) field to a single blank character

2. Read all segments for a configured item/branch using KIT and MCU as key items.
        While Fetch Passes - 

           If found - Delete row

        end While


3. If no rows exist for the specified KIT and MCU - AND 

           Move Error ID ("0002") to DS Error Message ID (DTAI)

       If DS Suppress Error Messages (EV01) is not equal to 1

              Issue GBR error 0002 (Requested Item Not Found)


^

Data Structure

D3200050 - F3291 Delete Segments

Parameter NameData ItemData TypeReq/OptI/O/Both
mnConfiguredItemKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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

F3291 Configured Item Segments