DeleteECOPartsListRecords

Delete ECO Parts List Records

Major Business Rule

Object Name: B3000800

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description
This business function will delete rows from ECO Parts List (F3013) table for a given Index/Key 
number combination. 


Index:  Pass in the number that identifies the index used to delete the record.

Keys:   Pass the number of key elements used to delete the record.

Field values: Pass key values used to delete the record.

Suppress Error Message:1=Suppress runtime error message handling, 

0=Allow runtime error message handling.


1Purpose
This business function will delete rows from ECO Parts List (F3013) table by either Full or partial 
Keys.


1.2Setup Notes and Prerequisites

• Set on "Suppress Error Messages" to suppress the runtime error message handling. Otherwise, if an 
error occurs the error message will be displayed on the message line and the appropriate field (if any) 

will be highlighted.

• The user passes to the business function the number of the index they want to use, the number of key 
fields within that index that will be used and key values (full or partial).


List of Indexes:


  1 = ECPR, KIT, MMCU, TBM, BQTY, SRV  (6 Keys)

2 = ECPR, ITM, MMCU, TBM, BQTY, TRV (6 Keys)

3 = ITM, DOCO (2 Keys)

4 = DOCO, PSQ, RSQ (3 Keys)

  5 = DOCO, DCTO (2 Keys)



1.3Special Logic

None.

2.Technical Specifications



2.4Processing 


1. Delete all rows from ECO Parts List Table (F3013) for specified Index/Key number/Key values 
combination.   



Retrievals:
 1.  ECO Parts List Detail Table (F3013).

Returns:

1.  If delete fails, return Error Message ID '0001' (Action Invalid).
2.  If Key values passed as input parameters are not valid for Index/Key number combination, return 

Error

     Message ID '0001' (Action Invalid). 


Checklist:


Business Function SVR(The Business Function SVR document can be found on 
in the shared folder NTSERV2.xls)

______Business Function Name

______Source file Name

______Description of what the function does

______Which programs use the function

______Authors name


    Object Librarian Check:

______Verify Related Functions List against header file
______Verify Related Tables List against header file

______Verify Business Function Data Structure in the header file against 

Business Function Parameter List

______"Check In" All the Business Function Parameter Lists


   All Business Functions must be run through Bounds Checker before 

checking them  in.

______Bounds Checker


Note:
Make sure to highlight the line and click on either 'Parameters' or 'Notes' button to get 
Function ID



^

Data Structure

D3000800 - Delete ECO Parts List Records

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

mnPrimarySequencePSQMATH_NUMERICNONENONE

szBusinessUnitMCUcharNONENONE

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.

mnRelatedSequenceRSQMATH_NUMERICNONENONE

cParentChildInclusionECPRcharNONENONE

A code that indicates whether the item is a parent or component. Using this value, the system selects items for you on the Related Items 
window when you perform a where-used inquiry for components or a single-level or multilevel inquiry for parent items. The Engineering Change 
Population program uses this value to determine the requested change. Valid values are:    P The item is a parent.    C The item is a 
component.

mnItemNumberShortITMMATH_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

szBranchMMCUcharNONENONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

szTypeOfBillTBMcharNONENONE

A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses. 
For example:    M     Standard manufacturing bill    RWK   Rework bill    SPR   Spare parts bill  The system enters bill type M in the work order 
header when you create a work order, unless you specify another bill type. The system reads the bill type code on the work order header to 
know which bill of material to use to create the work order parts list. MRP uses the bill type code to identify the bill of material to use when it 
attaches MRP messages. Batch bills of material must be type M for shop floor management, product costing, and MRP processing.

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

mnBatchQuantityBQTYMATH_NUMERICNONENONE

The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components 
based on the amount of finished goods produced. For example, 1 ounce of solvent is required per unit up to 100 units of finished product. 
However, if 200 units of finished product is produced, 2 ounces of solvent are required per finished unit. In this example, you would set up batch 
quantities for 100 and 200 units of finished product, specifying the proper amount of solvent per unit.

szToRevisionLevelTRVcharNONENONE

The revision level for the part that is reported next. This might not be the next sequential revision.

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

szSwapToRevisionLevelSRVcharNONENONE

The revision level of the "Swap-to item" whenever an engineering change order is swapping out one item for another. The swap-to revision 
becomes the next revision level for the item only when the ECO is created in "Swap To" mode.

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.

szIndexDTAIcharNONENONE

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.

szKeysDTAIcharNONENONE

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.

cSuppressErrorMessagesEV01charNONENONE

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

Related Functions

B4000460 Free Ptr To Data Structure

Related Tables

F3013 ECO Parts List Detail