F4211SOEInternalFunctions

Sales Order Entry Master Business Function

Major Business Rule

Object Name: B4200311

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4200310I - F4211 Clear Work File

Special Input Expected
JOBJob NumberWas retrieved from Begin Document

CTIDComputer IDRetrieved from GetAuditIno (B9800100)  in application

LNIDLine Number FromIf a line number is specified, will clear the detail work file 

from that line through the end of the lines in the table.  If no line number is specified, the entire 

table will be cleared.

LNIDLine Number ThruThe line number to stop clearing the detail work file. If this is 

blank will deleted the entire work file. To delete just one line set both the from and thru line 

numbers to the same number

EV01ClearHeaderFileIndicates whether the header file (F42UI01) should be cleared

'1' - Header WF

'2' - Header Cache

EV02ClearDetailFileIndicates whether the detail file (F42UI11) should be cleared

'1' - Detail WF

'2' - Detail Cache

PIDProgram ID


VERSCM Version



Special Output Returned

MATH02WK Related Order Process


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNoJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szComputerIDCTIDcharREQNONE

The Computer ID where the order is being processed. This parameter together with Job Number comprises 
the unique composite keys used to clear the F42UI01 and F42UI11 caches.

^

mnFromLineNoLNIDMATH_NUMERICNONENONE


Special Input Expected

LNIDab  ab Line Number From


Significant Data Values

If a line number is specified, will clear the detail work file from that line through the end of the 

lines in the table.  If no line number is specified, the entire table will be  cleared.ab 


^

mnThruLineNoLNIDMATH_NUMERICNONENONE


Special Input Expected

LNIDab  ab Line Number Thru


Significant Data Values

The line number to stop clearing the detail work file. If this is blank will deleted the entire work 

file. To delete just one line set both the from and thru line numbers to the same  numberab 


^

cClearHeaderWFEV01charNONENONE


Special Input Expected

EV01ab  ab ClearHeaderFile


Significant Data Values

Indicates whether the header file (F42UI01) should be cleared

'1' - Header WF

'2' - Header  Cacheab 




^

cClearDetailWFEV02charNONENONE

Special Input Expected
EV02ab  ab ClearDetailFile


Significant Data Values

Indicates whether the detail file (F42UI11) should be cleared

'1' - Detail WF

'2' - Detail  Cacheab 


^

szProgramIDPIDcharNONENONE

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.

mnWKRelatedOrderProcessMATH02MATH_NUMERICNONENONE


Special Output Returned

MATH02ab WK Related Order  Processab 


^

szCMVersionVERScharNONENONE

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.

cGenericChar1_EV01EV01charOPTNONE

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

cGenericChar2_EV02EV02charOPTNONE

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

szGenericString1_DL01DL01charOPTNONE

A user defined name or remark.

mnSODRelatedJobNumberMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

Related Functions

B4200310 Sales Order Entry Master Business Function

Related Tables

None