Business Function Specification
Source NameB4302040DesignerKelly Huffman
Data Structure D4302040ProgrammerKelly Huffman
Function NameCheckF4311ZRecordsForSupplierSystem Code43
Function Category
Function Use
1.Functional Description
1.1 Purpose
The purpose of this function is to search through the "XT4311Z1B" cache, which has already been initialized in the purchase order MBF (XT4311Z1). If
a detail record is found with the same supplier, delete that detail record from the cache by calling Clear The Work Files, else There is no detail record,
delete the Header Record.
1.2Setup Notes and Prerequisites
This business function must be mapped with XT4311Z1.
1.3Special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
CTIDComputerIDIY
JOBSJobNumberIY
AN8SupplierNumberIY
LNIDLineNumberIY
SFXOOrderSuffixIY
EV01SupplierFoundOY
2.3Related Business Functions
Source NameFunction Name
2.4Processing
/**************************************************************************
* Business Function: CheckF4311ZRecordsForSupplier
*
* Description: Check F4311Z Records For Supplier Match
*
* Parameters:
* LPBHVRCOM lpBhvrCom Business Function Communications
* LPVOID lpVoid Void Parameter - DO NOT USE!
* LPDSD4302040 lpDS Parameter Data Structure Pointer
*
*************************************************************************/
JDEBFRTN (ID) JDEBFWINAPI CheckF4311ZRecordsForSupplier (LPBHVRCOM lpBhvrCom,
LPVOID lpVoid,
LPDSD4302040 lpDS)
/**************************************************************************
* Function: I4302040_InitializeCache
* Notes:
*
* Returns:
*
* Parameters:
**************************************************************************/
int I4302040_InitializeCache (LPBHVRCOM lpBhvrCom,
LPVOID lpVoid,
HUSER hUser,
HCACHE *lphB4302040Cache)
/* end of I4302040_InitializeCache */
/**************************************************************************
* Function: I4302040_SearchTheCache
*
* Notes:
*
* Returns: 0 if error
* Other if success
*
* Parameters:
**************************************************************************/
int I4302040_SearchTheCache (LPBHVRCOM lpBhvrCom,
LPVOID lpVoid,
LPDSD4302040 lpDS,
HUSER hUser,
HCACHE hB4302040Cache)
D4302040 - Check F4311Z Records for Supplier Match
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szComputerID | CTID | char | REQ | INPUT |
mnJobnumberA | JOBS | MATH_NUMERIC | REQ | INPUT |
The job number (work station ID) which executed the particular job. | ||||
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnLineNumber | LNID | MATH_NUMERIC | REQ | INPUT |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
szOrderSuffix | SFXO | char | REQ | INPUT |
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
| ||||
cSupplierFound | EV01 | char | REQ | OUTPUT |
An option that specifies the type of processing for an event. | ||||
mnProcessID | PEID | MATH_NUMERIC | OPT | NONE |
A code that identifies the Inter-Process Communication ID. | ||||
mnTransactionID | TCID | MATH_NUMERIC | OPT | NONE |
None |
None |