F32821DeleteRecordsPartialKey

F32821 Delete Records Matching Partial Key

Minor Business Rule

Object Name: N3201010

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
This function will delete records from F32821 based on a partial key.  If the entire required key-set 
is not passed, the function will not proceed and returns an error. 


1.2Setup Notes and Prerequisites

The calling application is responsible for loading all appropriate key values to the data structure 
and identifying the mode.  


1.3Special Logic
There is no special logic within this function.

2.Technical Specifications
2.4Processing 

1.The required keys are tested for improper values.

2.If the keys pass, Table I/O is performed to delete records from F32821

3.The success of the Table I/O is checked and the result is passed to the output error code.



Data Structure

D3201010 - F32821 Delete Records Matching Partial Key

Parameter NameData ItemData TypeReq/OptI/O/Both
mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szErrorCodeVC04AcharNONENONE

This is a generic field used as a work field in Everest.

szRulesTableNameTBLCcharOPTNONE

The name of a collection of data that you set up to minimize the number of assembly inclusion rules that you need for a configured item. You 
must define rule table names in user defined code table 32/TN. A rule table can be accessed by 1 to 20 keys and can return up to 99 
values. When you reference a rule table in an assembly inclusion rule, the system uses the rule keys to retrieve the values that are associated 
with the rule table. For example, if you defined segment 10 to be the color of an item, you could set the table to retrieve item Red Component 
when the customer enters Red for segment 10. In this example, the table would be:        Item Color = Value         Red = Red Component The table 
would include the following: If the color segment value = red, then use item number Red Component on the configured item sales order and 
work order parts list.

cRulesTableTypeRTBTcharOPTNONE

A value that identifies the type of rule table. Valid values are:    P Part list (on sales order and work order)    Q Work order component (on 
work order only)    C Calculated values    H Hot Spot    X Price/Cost adjustment 

szBranchPlantMCUcharOPTNONE

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.

Related Functions

None

Related Tables

None