F470462WriteEDIInvoiceExpHdr

F470462 Write EDI Invoice Expanded Header

Minor Business Rule

Object Name: B4700141

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4700141A - F470462 Write EDI Invoice Expanded Header

Parameter NameData ItemData TypeReq/OptI/O/Both
cEDITypeEDTYcharOPTINPUT

The identifier used to mark EDI transaction records as header and detail information. This is an EDI function only.

mnEDIRecordSequenceEDSQMATH_NUMERICOPTINPUT

An identifier that is used to assign the relative position within the header or detail information of an EDI transaction-- for example, H01, H02, 
D01, and so on.

szEDICompanyKeyOrderEKCOcharREQINPUT

Company - Key (EDI - Document Key Co)

mnEDIDocumentNumberEDOCMATH_NUMERICREQINPUT

The document number that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the 
order number assigned at order entry time (DOCO).

szEDIDocumentTypeEDCTcharREQINPUT

The document type that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the order 
type (DCTO) assigned at order entry time, an invoice document type, a voucher document type, and so on.

mnAddressNumberSoldToAN8MATH_NUMERICOPTINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnAddressNumberBillToBTANMATH_NUMERICOPTINPUT

cEDISuccessfullyProcessedEDSPcharOPTINPUT

An option that indicates whether a record has been successfully processed. Depending on the application, the system updates the EDSP 
field in a table with one of the following values: 1 Successfully processed Blank (or N or 0) Not processed

szEDIBatchNumberEDBTcharOPTINPUT

The number that the transmitter assigns to the batch.  During batch processing, the system assigns a new batch number to the PeopleSoft 
transactions for each control (user) batch number it finds. 

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharOPTOUTPUT

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.

cSuppressErrorMessageEV01charOPTINPUT

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

mnFutureUse0001FUT1MATH_NUMERICOPTNONE

This field is for future use.

mnFutureUse0002FUT2MATH_NUMERICOPTNONE

This field is for future use.

szFutureUse0004FUT4charOPTNONE

This field is for future use.

szFutureUse0005FUT5charOPTNONE

This field is for future use.

cForFutureUseFlag1X1charOPTNONE

Flag reserved for future use.

cForFutureUseFlag2X2charOPTNONE

Flag reserved for future use.

jdFutureUse_Date1D1FUJDEDATEOPTNONE

Future use date field.

jdFutureUse_Date2D2FUJDEDATEOPTNONE

Future use date field.

szTransactionOriginatorTORGcharOPTINPUT

The person who originally entered the transaction.

szProgramIdPIDcharOPTINPUT

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.

szWorkStationIdJOBNcharOPTINPUT

The code that identifies the work station ID that executed a particular job.

jdDateUpdatedUPMJJDEDATEOPTINPUT

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTINPUT

The computer clock in hours:minutes:seconds.

szUserIdUSERcharOPTINPUT

The code that identifies a user profile.

Related Functions

B0100002 A/B - Get Parent Address
B4000880 Verify And Get Address Book for OP
B4200100 Get Sold To Billing Instructions
N1200310 Get Address Book Number Description

Related Tables

F470462 EDI Invoice Expanded Header (Sales)