CopyOrDeleteGenericText

Copy Or Delete Generic Text In 4301/4311

Minor Business Rule

Object Name: B4301490

Parent DLL: CDIST

Location: Server

Language: C

Business Function Specification

Source NameB4301490DesignerKelly Huffman

Data Structure D4301490ProgrammerKelly Huffman

Function NameCopyOrDeleteGenericTextSystem Code43

Function Category

Function Use




1.Functional Description


1.1 Purpose

Copy media object attachments when generating from one order to another.  Example:  Req to Purchase Order.


1.2Setup Notes and Prerequisites

This business function must be run on the client.


1.3Special Logic


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes

DOCOmnOrderNumberIY

DCTOszOrderTypeIY

KCOOszOrderCompanyIY

SFXOszOrderSuffixIY

LNIDmnLineNumberIY

EV01cFileIY

EV01cModeIY

DOCOmnCopyToOrderNumberIY

DCTOszCopyToOrderTypeIY

KCOOszCopyToOrderCompanyIY

SFXOszCopyToOrderSuffixIY

LNIDmnCopyToLineNumberIY



2.3Related Business Functions

Source NameFunction Name




2.4Processing 


/**************************************************************************

 *  Business Function:  CopyOrDeleteGenericText

 *

 *        Description:  Generic Text, Copy Or Delete 4301/4311

 *

 *         Parameters:

 *           LPBHVRCOM           lpBhvrCom    Business Function Communications

 *           LPVOID              lpVoid       Void Parameter - DO NOT USE!

 *           LPDSD4301490        lpDS         Parameter Data Structure Pointer  

 *

 *************************************************************************/


JDEBFRTN (ID) JDEBFWINAPI CopyOrDeleteGenericText (LPBHVRCOM lpBhvrCom, 

                                                   LPVOID lpVoid,

                                                   LPDSD4301490 lpDS)  



























































































































































Data Structure

D4301490 - Copy Or Delete Generic Text in 4301/4311

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_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.

szOrderTypeDCTOcharOPTNONE

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

szOrderCompanyKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

mnLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cFileEV01charOPTNONE

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

cModeEV01charOPTNONE

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

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

szCopyToOrderCompanyKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szCopyToOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

mnCopyToLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

Related Functions

B9800420 Get Data Dictionary Definition

Related Tables

None