InsertTextFileProcessorDetail

Maintain Text File Processor Tables

Minor Business Rule

Object Name: N0000207

Parent DLL: CFIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function is used to validate and insert records in the Text Processor Detail Table (F007111).  


Setup Notes and Prerequisites

In order for the insert to succeed, a Text Processor Header (F007101) record with the same key 

attempting to use here must already exist.


Special Logic

For every record in F007101, there might be one or more records in the F007111 table. The F007101 

primary key (batch number, transaction number) should be used to link these records. Use the same batch 

number and transaction number from F007101 when writing related F007111 records. Also make sure you are 

incrementing the line number for every additional F007111 record entered.



Technical Specification


Parameters

Item DescriptionI/OReq?Notes
GPBTmnBatchNumberIYSame as the batch number from the related F007101 

primary key. Obtained from the Insert Text File Processor Header business function call.

GPTNszTransactionNumberIYSame as the transaction number from the related 

F007101 primary key. Obtained from the Insert Text File Processor Header business function call.

LNIDmnLineNumberIYIncrement before calling this business function.

GPTXszTextIYText string of 1500 characers.

GPSPcProcessedFlagINUse blank.

URC1szUserReserveCodeINIt could have the User Define Code for the end of

line. Use the code from 

UDC 00/TP

URRFszUserReservedReferenceIN

URDTjdUserReservedDateIN

URABmnUserReservedNumberIN

PIDszProgramIdIYProgram ID last updating record.

EV01cErrorStatusOYIf insert failed returns 1, else 0.


Related Tables

F007101Text Processor Header

F007111Text Processor Detail Table


Related Functions

B9800100Get Audit Information


Processing

Initialize Error Status = 0.

Verify that an F007101 record with the same key exists.

If F007101 record does not exist,

Set Error Status = 1.

Else,

Call Get Audit Information (B9800100).

Insert F007111 record.

If insert failed,

Set Error Status = 1.

Endif.

Endif.


Data Structure

D0000207B - Insert Text File Processor Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnBatchNumberGPBTMATH_NUMERICREQINPUT

A number that identifies a group of transactions that the system processes together.  The system assigns this number using Next Numbers.

szTransactionNumberGPTNcharREQINPUT

A unique alphanumeric field that identifies a text batch.  The transaction number is determined by the process that creates the text batch.

szTextGPTXcharREQINPUT

A user defined name or remark.

cProcessedFlagGPSPcharOPTINPUT

A flag that shows the current status of batches in the Text File Processor. Valid values are:    Blank Unprocessed / Outbound    1       
Processed / Outbound    2       Purged / Outbound    3       Suspended / Outbound    4       Corrupt / Outbound    5       Unprocessed / Inbound    6       
Processed / Inbound    7       Purged / Inbound

szUserReserveCodeURC1charOPTINPUT

This is a 3 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTINPUT

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

jdUserReservedDateURDTJDEDATEOPTINPUT

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTINPUT

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szProgramIdPIDcharREQINPUT

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.

cErrorStatusEV01charREQOUTPUT

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

mnLineNumberGeneralLINMATH_NUMERICREQINPUT

To move rapidly through a long list of journal entries, enter a line number. The system shifts the information on that line to the top of the 
display.

Related Functions

None

Related Tables

None
InsertTextFileProcessorHeader

InsertTextFileProcessorHeader

Maintain Text File Processor Tables

Minor Business Rule

Object Name: N0000207

Parent DLL: CFIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function is used to validate and insert records in the Text Processor Header table (F007101).  


Setup Notes and Prerequisites

None.


Special Logic

The function always retrieves a batch number from NN 00/07 and defaults a transaction number equal to 

"R03B672" if one is not specified.



Technical Specification


Parameters

Item DescriptionI/OReq?Notes
GPBTmnBatchNumberOYThe batch number that is part of the F007101 primary 

key.

GPTNszTransactionNumberI/OYIf blank, R03B672 will be defaulted. Part of the 

F007101 primary key.

GPUSszUserIDIYThe user ID.

DL01szDescriptionIYApplication specific; programmer's descression.

PGMszProgramNameIYThe Program ID creating this record.

VERSszVersionIYThe version of the Program ID creating this record.

GPSPcProcessedFlagIYUse blank.

GPDPjdProcessedDateIYIf blank, system date will be used.

GPPRszAdditionalPurgeProcessIYThe program that will delete related records in other 

tables (i.e. R03B673 for F03B672 records).

GPR1szFutureUseReferenceIN

GPF1cFutureUseFlagIN

URC1szUserReserveCodeIN

URRFszUserReservedReferenceIN

URDTjdUserReservedDateIN

URABmnUserReservedNumberIN

PIDszProgramIdIYProgram ID last updating record (same as PGM above).

EV01cErrorStatusOYIf insert failed returns 1, else 0.


Related Tables

F007101Text Processor Header


Related Functions

X0010Next Numbers

B9800100Get Audit Information


Processing

Initialize Error Status = 0.

Retrieve Batch Number by calling X0010.

If X0010 failed,

Set Error Status = 1.

Else,

If Transaction Number = blank,

Transaction Number = R03B672.

Endif.

Call Get Audit Information (B9800100).

If Processed Date = blank,

Processed Date = today's date.

Endif.

Insert F007101 record.

If insert failed,

Set Error Status = 1.

Endif.

Endif.


Data Structure

D0000207A - Insert Text File Processor Header

Parameter NameData ItemData TypeReq/OptI/O/Both
mnBatchNumberGPBTMATH_NUMERICREQOUTPUT

A number that identifies a group of transactions that the system processes together.  The system assigns this number using Next Numbers.

szTransactionNumberGPTNcharREQBOTH

A unique alphanumeric field that identifies a text batch.  The transaction number is determined by the process that creates the text batch.

szUserIDGPUScharREQINPUT

The user ID of the person who created the text batch. You can sort text batches by user ID so that users can select their own batches.

szDescriptionDL01charREQINPUT

A user defined name or remark.

szProgramNamePGMcharREQINPUT

The name of an executable program.

szVersionVERScharREQINPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cProcessedFlagGPSPcharREQINPUT

A flag that shows the current status of batches in the Text File Processor. Valid values are:    Blank Unprocessed / Outbound    1       
Processed / Outbound    2       Purged / Outbound    3       Suspended / Outbound    4       Corrupt / Outbound    5       Unprocessed / Inbound    6       
Processed / Inbound    7       Purged / Inbound

jdProcessedDateGPDPJDEDATEREQINPUT

The date that the text batch was processed.

szAdditionalPurgeProcessGPPRcharREQINPUT

szFutureUseReferenceGPR1charOPTINPUT

Future Use Reference

cFutureUseFlagGPF1charOPTINPUT

Future Use Flag

szUserReserveCodeURC1charOPTINPUT

This is a 3 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTINPUT

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

jdUserReservedDateURDTJDEDATEOPTINPUT

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTINPUT

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szProgramIdPIDcharREQINPUT

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.

cErrorStatusEV01charREQOUTPUT

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

Related Functions

None

Related Tables

None
UpdateTextFileProcessorHeader

UpdateTextFileProcessorHeader

Maintain Text File Processor Tables

Minor Business Rule

Object Name: N0000207

Parent DLL: CFIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function is used to update records in the Text Processor Header table (F007101).  


Setup Notes and Prerequisites

None.


Special Logic

None.



Technical Specification



Parameters

Item DescriptionI/OReq?Notes
GPBTmnBatchNumberIYThe batch number that is part of the F007101 primary 

key.

GPTNszTransactionNumberIYThe transaction number that is part of the F007101 

primary key.

GPSPcProcessedFlagINUse the following values: Blank for Unprocessed, 1 for 

Processed, 2 for Purged/Outbound, 4 for Corrupted, 5 for Unprocessed/Inbound, 6 for 

Processed/Inbound, 7 for Purged/Inbound. 

GPDPjdProcessedDateINIf blank, system date will be used.

GPPRszAdditionalPurgeProcessINThe program that will delete related records in other 

tables (i.e. R03B673 for F03B672 records).

GPR1szFutureUseReferenceIN

GPF1cFutureUseFlagIN

URC1szUserReserveCodeIN

URRFszUserReservedReferenceIN

URDTjdUserReservedDateIN

URABmnUserReservedNumberIN

EV01cErrorStatusOYIf update failed returns 1, else 0.


Related Tables

F007101Text Processor Header


Related Functions

B9800100Get Audit Information


Processing

Initialize Error Status = 0.

Call Get Audit Information (B9800100).

If Processed Date = blank,

Processed Date = today's date.

Endif.

Update F007101 record.

If update failed,

Set Error Status = 1.

Endif.


Data Structure

D0000207C - Update Text File Processor Header

Parameter NameData ItemData TypeReq/OptI/O/Both
mnBatchNumberGPBTMATH_NUMERICREQINPUT

A number that identifies a group of transactions that the system processes together.  The system assigns this number using Next Numbers.

szTransactionNumberGPTNcharREQINPUT

A unique alphanumeric field that identifies a text batch.  The transaction number is determined by the process that creates the text batch.

cProcessedFlagGPSPcharOPTINPUT

A flag that shows the current status of batches in the Text File Processor. Valid values are:    Blank Unprocessed / Outbound    1       
Processed / Outbound    2       Purged / Outbound    3       Suspended / Outbound    4       Corrupt / Outbound    5       Unprocessed / Inbound    6       
Processed / Inbound    7       Purged / Inbound

jdProcessedDateGPDPJDEDATEOPTINPUT

The date that the text batch was processed.

szAdditionalPurgeProcessGPPRcharOPTINPUT

szFutureUseReferenceGPR1charOPTINPUT

Future Use Reference

cFutureUseFlagGPF1charOPTINPUT

Future Use Flag

szUserReserveCodeURC1charOPTINPUT

This is a 3 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTINPUT

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

jdUserReservedDateURDTJDEDATEOPTINPUT

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTINPUT

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

cErrorStatusEV01charREQOUTPUT

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

Related Functions

None

Related Tables

None