RetrieveReleasedBlanketOrders

Get Job Number And Retrieve Released Blanket Orders

Minor Business Rule

Object Name: B4207180

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4207180B - Retrieve Released Blanket Orders

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICOPTNONE

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

szComputerIDCTIDcharOPTNONE

cUseCacheOrWFEV04charOPTNONE

PeopleSoft event point processing flag 04.

idF42UI11PtrGENLNGIDOPTNONE

General purpose ID variable.

cErrorCodeERRCcharOPTNONE

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).

cSuppressErrorEV01charOPTNONE

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

jdRequestedDateDRQJJDEDATEOPTNONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnTransactionQtyUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

mnDocumentOrderInvoiceEDOCOMATH_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.

szOriginalOrderTypeOCTOcharOPTNONE

This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher 
entry, invoice entry, receipts entry, and time sheet entry.  Because the offsetting entries for document types are created automatically during the 
post program, they will not be self-balancing on original entry. The reserved document types are:    PR Purchase Requisition Orders    PQ 
Purchase Quote    PO Purchase Order    PD Purchase Order - Direct Ship    PB Purchase Order - Blanket    SQ Sales Quote    SO Sales Order    
SD Sales Order - Direct Ship    SB Sales Order - Blanket 

szCompanyKeyOriginalOKCOcharOPTNONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

mnOriginalLineNumberOGNOMATH_NUMERICOPTNONE

A number identifying which line on the original order that the current line matches.

mnLineNumberXREFLNIXMATH_NUMERICOPTNONE

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szUnitOfMeasureUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

szIdentifier2ndItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szIdentifier3rdItemAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szBranchPlantMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cRecdWrittenToWFRCUPcharOPTNONE

This flag is placed on a record on a table to indicate that the record was written in an unedited state.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
RetrieveSOHeaderRecAndGetJobNo

RetrieveSOHeaderRecAndGetJobNo

Get Job Number And Retrieve Released Blanket Orders

Minor Business Rule

Object Name: B4207180

Parent DLL: CSALES

Location: Client/Server

Language: C

Function RetrieveSOHeaderRecordAndGetJobNo retrieves job number by fetching sales order 
header records from the header cache/workfile F42UI01.  

The function is to be called in a while loop and the fetch is performed using partial keys 

CTID, PEID and TCID of the secord index of F42UI01.

When calling this function for the first time, pass in 0 from the calling application to 

initialize the id pointer. 

The Job Number retrieved can be passed back to the calling application through the 

function's data structure.


Function RetrieveReleasedBlanketOrders retrieves sales order detail lines from the sales 

order detail cache/workfile F42UI11.   These lines are created from previously released 

blanket order lines.   

The function is to be called in a while loop and the fetch is performed using partial keys 

CTID and JOBS.  

When calling this function for the first time, pass in 0 from the calling application to 

initialize the id pointer.


For both functions, cErrorCode is set to "1" when fetch fails and indicates to the calling 

application to stop processing.

Data Structure

D4207180A - Retrieve SO Header Record And Get Job No

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharOPTNONE

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

cUseCacheOrWFEV04charOPTNONE

PeopleSoft event point processing flag 04.

idF42UI01PtrGENLNGIDOPTNONE

General purpose ID variable.

cErrorCodeERRCcharOPTNONE

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).

cSuppressErrorEV01charOPTNONE

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

Related Functions

None

Related Tables

None