F3013CopyECOPartsList

F3013 Copy ECO Parts List

Minor Business Rule

Object Name: N3003490

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
This function will copy all records in F3013 (Parts List and Related Items) for a given Order Number, 
and add the same records for a new Order Number.


1.2Setup Notes and Prerequisites

None.


1.3Special Logic

None.


2.Technical Specifications
2.4Processing 

1.0Open table F3013.
2.0Select from F3013 where Order Number is equal to BF mnCopyFromOrderNumber.

3.0Call B9800100 - Get Audit Information 

4.0For each selected record, 

4.1Copy each field into ER variables. (Excluding FRV-From Rev, TRV-To Rev, RVNO-Drawing to 
Rev, DOCO-Order Number, DCTO-Order type, and Audit Info.)

4.2Insert a new record with Order Number equal to BF mnCopyToOrderNumber with all fields 
equal to the ER variables. (Excluding FRV-From Rev, TRV-To Rev, and RVNO-Drawing to Rev.  These 

should be blank)

5.0Close table F3013.

^

Data Structure

D3003490 - F3013 Copy ECO Parts List

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCopyFromOrderNumberDOCOMATH_NUMERICOPTNONE

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.

mnCopyToOrderNumberDOCOMATH_NUMERICOPTNONE

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.

szCopyToOrderTypeDCTOcharOPTNONE

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

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None