F4114BeginDocument

Inventory Issues/Adjustments

Master Business Function

Object Name: XT4114Z1

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function is used by Inventory Adjustments and Inventory Issues and is used   to edit subledger 
and subledger type fields and the From Branch of an Inventory Transfer.


Setup Notes and Prerequistites

None

Special Logic

None


Technical Specification


Related Tables 

Table Table Description
F41001Inventory Constants

F0005UDC Table

F0911GL Table


Related Business Functions

Source NameFunction Name
RetrieveCompanyFromBusUnitB0000130

GetBranchConstantsB4000150

F0911FSEditDocB0900049

ReturnFYandPNX0903

CloseBatchB0000042


Processing 


// Perform UDC edits against the following data items:


If Document Type (DCT)is not blank,

perform UDC edit against 00/DT and Retrieve the description.

else

issue error '0003' and highlight the DCT field

end


//  Load the G/L and transaction dates if blank


If G/L Date (DGL) equals blanks
 DefaultTodaysDate (G/L Date)

end

If Trans Date TRDJ) equals blanks

DefaultTodaysDate(Transaction Date)

end

If Batch Date (DICJ) equals blank
DefaultTodaysDate(Batch Date)

End

//  Validate the GL date for valid PN and FY year

Call ReturnFYPN  (x0903)
Company<=Company

GL Date<=GL Date


// Retrieving the Last JE Line Number in F0911 Table for  (Batch Number)


If Batch Number is not Zero

Fetch the F0911 with ICUT, ICU, DOC, DCT, KCO, DGL to get the last line number.

End



Data Structure

DXT4114Z1B - F4114 Begin Document - Functional Server

Parameters:
Data Item Data Structure DescriptionI/ORequired
CTIDComputer IDIN

ACTNDocument ActionIN

MCUBranch/PlantIN

KCO Doc Key CompanyON

DCTDoc TypeIY

DOC Doc NumberIN

ICUBatch NumberIN

DICJBatch DateI/ON

JELNLast JE Line NumberON

DGLG/L DateI/ON

TRDJTransactionDateI/ON

DL01GL ExplanationI/ON

EV02ErrorConditionsI/ON

^

Parameter NameData ItemData TypeReq/OptI/O/Both
cDocumentActionACTNcharNONENONE

Currently not used.
^

szComputerIDCTIDcharNONENONE

Computer id of the user
^

cErrorConditionsEV02charNONENONE

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

szBranchPlantMCUcharNONENONE

Branch Plant at the Header Level
^

mnBatchNumberICUMATH_NUMERICNONENONE

Batch number (From Open Batch)
^

jdBatchDateDICJJDEDATENONENONE

Batch date (From Open Batch)
^

mnLastJELineNumberJELNMATH_NUMERICNONENONE

Retrieve the Last Record written in F0911.
^

szDocumentKeyCompanyKCOcharNONENONE

Retrieve Key Company
^

szDocumentTypeDCTcharNONENONE

Validate for valid UDC
^

mnDocumentNumberDOCMATH_NUMERICNONENONE

If not blank, use to retrieve F0911 for Reversal/Update Mode
^

jdGLDateDGLJDEDATENONENONE

If Blank, default in Today's date.
^

jdTransactionDateTRDJJDEDATENONENONE

If Blank, default in Today's date.
^

szGLExplanationDL01charNONENONE

If GL Explanation is blank, default in Document Type  Descriptionab 

^

Related Functions

B0000130 Retrieve Company From Business Unit
XT4111Z1 Inventory Transactions

Related Tables

F4009 Distribution/Manufacturing Constants
F4102 Item Branch File
F41UI001 Inventory Transactions Detail File
F4114ClearDetailStack

F4114ClearDetailStack

Inventory Issues/Adjustments

Master Business Function

Object Name: XT4114Z1

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function is not currently used. 

Setup Notes and Prerequistites

None

Special Logic

None


Technical Specification




^

Data Structure

DXT4114Z1I - XT4114Z1 Clear Detail Stack - Functional Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharNONENONE

mnFromLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnThruLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cDeleteHeaderEV01charNONENONE

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

cDeleteDetailEV01charNONENONE

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

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

cProcessCloseBatchEV01charNONENONE

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

mnBatchNumberICUMATH_NUMERICNONENONE

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

cBatchStatusISTcharNONENONE

A user defined code (98/IC) that indicates the posting status of a batch. Valid values are: Blank    Unposted batches that are pending 
approval or have a status of approved. A        Approved for posting. The batch has no errors, and is in balance, but has not yet been posted. D       
Posted. The batch posted successfully. E        Error. The batch is in error. You must correct the batch before it can post. P        Posting. The system 
is in the process of posting the batch to the general ledger. The batch is unavailable until the posting process is complete. If errors occur 
during the post, the batch status changes to E (error). U        In use. The batch is temporarily unavailable because someone is working with it, or 
the batch appears to be in use because a power failure occurred while the batch was open.

mnF0911JobnumberJOBSMATH_NUMERICNONENONE

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

mnInvJobNumberJOBSMATH_NUMERICNONENONE

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

Related Functions

B0000130 Retrieve Company From Business Unit
XT4111Z1 Inventory Transactions

Related Tables

F4009 Distribution/Manufacturing Constants
F4102 Item Branch File
F41UI001 Inventory Transactions Detail File
F4114EditLine

F4114EditLine

Inventory Issues/Adjustments

Master Business Function

Object Name: XT4114Z1

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function is called for an Inventory Adjustment or an Inventory Issue.  Inventory Issues 
has edits very specific to it, specifically involving the Transaction Reference field (TREF).  

F4111EditLine is called to perform the majority of the edits.  This function will edit fields that 

are specific to a transaction for correct information; all UDC edits are performed.  Records 

will be written to the detail work file (F41UI001) if no errors are found.  If a record already 

exists in the work file, the record will be retrieved and updated with the changes.  


Setup Notes and Prerequistites

None

Special Logic

None


Technical Specification

Processing 

//   P4112 Program:  Edits for TREF

If  Transaction Process Type equals '1'

Transaction Reference TREF = '0000'


If Account Number not equal blanks

Move '1' to first position of Transaction Reference (TREF) field

else

Move '0' to first position of Transaction Reference (TREF) field

end


If Subledger not equal blanks

Move '1' to second position of Transaction Reference (TREF) field

else

Move '0' to second position of Transaction Reference (TREF) field

end


If Phase not equal blanks

Move '1' to third position of Transaction Reference (TREF) field

else

Move '0' to third position of Transaction Reference (TREF) field

end


If Equipment (Asset Id) not equal blanks

Move '1' to fourth position of Transaction Reference (TREF) field

else

Move '0' to fourth position of Transaction Reference (TREF) field

end


End      // Transaction Process Type '1'


// Assign Line Number


If Previous Line Number equals 0,
Move 1 to Order Line Number of XT4111Z1

Else

XT4111Z1 Order Line Number = Previous Line Number + 1

end


If  Transaction Process Type equals '1'

Lot Process Type = '0'

Else

Lot Process Type = '1'

End


//  Call Inventory Transaction Program:  Edit Line - XT4111Z1


F4111EditLine (XT4111Z1)


If  No Error in XT4111Z1

Previous Line Number = XT4111Z1 Order Line Number

Line Number          = XT4111Z1 Order Line Number

End


End// No Errors




Data Structure

DXT4114Z1C - F4114 Edit Line - Functional Server

Parameters:
Data Item Data Structure DescriptionI/ORequired

CTIDComputer IDIY

JOBSJob Number - F4111I/OY

LNIDLine NumberI/OY

ACTNLine ActionIN
EV01Process EditsIN

EV03Error ConditionsON
EV04Record Written to Work FileI/ON

TRNPTransaction Process TypeIY

EV01Process JEIN

JOBSF0911 Job NumberI/ON

LNIDPrevious Line NumberI/ON

JELNLast JE Line NumberI/ON

EV01Suppress Error MessageIN

EV01Allow Quantity Over AvailableIN

EV01Default From Primary LocationIN

EV01Update Qty On HandIN

EV01Allow Held LotsIN

EV01Get Next Count DateIN

TRDJTransaction Date IY

DCTTransaction Document TypeIY

DOCDocument NumberIN

DICJBatch DateIY

ICUBatch NumberI/ON

ISTBatch StatusI/ON

DSC1GL ExplanationIY

CYCNOCycle Count NumberIN

TGGTag Count NumberIN

MCUBranch/PlantIY

UITMPrimary Item NumberIN

ITMShort Item NumberI/ON

LOCNE1Display LocationI/ON

LOCNFile Format LocationI/ON

LOTNLot NumberI/ON

TRUMTransaction UOMI/O

TRQTTransaction QuantityIY

UNCSTransaction Unit CostI/ON

PAIDTransaction Extended CostI/ON

LOTPLot PotencyI/ON

LOTGLot GradeI/ON

LOTSLot Status CodeI/ON

RCDReason CodeIN

MMEJExpiration DateI/ON

LDSCLot DescriptionI/ON

RLOTSupplier Lot NumberI/ON

KITParent Item NumberIN

LNIDine NumberI/ON

DGLG/L DateIY

ANIccount NumberIN

SBLSubledgerIN

SBLTSubledger TypeIN

WR01PhaseIN

ASIIAsset IdIN

STKTtocking TypeON

CSIDConfigured String IDI/ON

MATH02WMS Line NumberI/ON

DMCTContract NumberIN

DMCSContract SupplementIN

BALUContract Balances UpdatedIN

LDSQSequence NumberIN

TRNOTransaction Line NumberIN

FRTOFrom/ToIN

PLOTarent Lot NumberI

MATH01TransactionProcessTypeIN
LOT1MemoLot1IN

LOT2MemoLot2IN

LOT3MemoLot3IN

ENTCCostEnteredIN

EV01AgreementSearchMethodIN

EV05MulitpleAgreementFoundIN


^

Parameter NameData ItemData TypeReq/OptI/O/Both
cLineActionACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

szComputerIDCTIDcharNONENONE

cErrorConditionsEV03charNONENONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cRecordWrittenToWorkFileEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

jdGLDateDGLJDEDATENONENONE

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

szGLExplanationDSC1charNONENONE

Brief information about an item; a remark or an explanation.

cUpdateQuantityOnHandEV01charNONENONE

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

cSuppressErrorMessageEV01charNONENONE

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

cAllowQtyOverAvailableEV01charNONENONE

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

mnParentShortItemNumberKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant 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.

szAccountNumberANIcharNONENONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

szSubledgerSBLcharNONENONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharNONENONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szPhaseWR01charNONENONE

A user defined code (00/W1) that indicates the current stage or phase of development for a work order. You can assign a work order to only 
one phase code at a time. Note: Certain forms contain a processing option that allows you to enter a default value for this field. If you enter a 
default value on a form for which you have set this processing option, the system displays the value in the appropriate fields on any work 
orders that you create. The system also displays the value on the Project Setup form. You can either accept or override the default value.

szAssetIDASIIcharNONENONE

An identification code that represents an asset. You enter the identification code in one of the following formats: 1 Asset number (a 
computer-assigned, 8-digit, numeric control number)   2 Unit number (a 12-character alphanumeric field)   3 Serial number (a 25-character alphanumeric 
field) Every asset has an asset number. You can use unit number and serial number to further identify assets. If this is a data entry field, the first 
character you enter indicates whether you are entering the primary (default) format that is defined for your system, or one of the other two 
formats. A special character (such as / or *) in the first position of this field indicates which asset number format you are using. You assign special 
characters to asset number formats on the fixed assets system constants form.

mnPreviousLinenumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szAgreementNumberDMCTcharNONENONE

A unique number your company assigns to identify a particular agreement. You might want to assign some significance to the agreement 
number (for example,an agreement type code, location, year, and so forth). An agreement might have multiple supplements to record 
addendum or changes, for example.

mnAgreementSupplementDMCSMATH_NUMERICNONENONE

The supplement number records any changes or addendum to agreements that occur over time or by item. It can also indicate individual 
agreements that are tied to a master agreement. The system allows up to 999 different supplements per base agreement number.

cContractBalancesUpdateBALUcharNONENONE

This field will be used to control whether a record in the inventory, sales order or purchasing detail files has been updated to the distribution 
contract balances file. Valid values are:        blank or N - Not been updated        Y or 1 - Updated

mnAgreementSequenceLDSQMATH_NUMERICNONENONE

The sequence number that identifies a record in the Location Detail table (F4602). The system uses this number to distinguish between the 
diffferent pallets, cases, and so forth, for the same item in the same location.

mnTransactionLineNumberTRNOMATH_NUMERICNONENONE

The transaction line number keeps the different From and To lines for one transaction (for example, combining multiple lots into one or 
splitting one lot into several new ones) together by giving them the same transaction line number.

cFromToFRTOcharNONENONE

A code that indicates whether a line in a transaction is a From line or a To line. This field allows you to combine multiple existing products or 
locations into a single product or location. For example, you can create three From lines and one To line. You can also split one existing 
product or location into several new products or locations. For example, you can create one From line and two To lines. The information that is 
contained in a From transaction line is always existing item location information.

szParentLotNumberPLOTcharNONENONE

An inventory separation device that allows tracking of the inventory by date received or similar convention to control lots or layers.

mnLastJELineJELNMATH_NUMERICNONENONE

A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes.

cDefaultFromPrimaryLocationEV01charNONENONE

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

cAllowHeldLotsEV01charNONENONE

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

jdTransactionDateTRDJJDEDATENONENONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

jdBatchDateDICJJDEDATENONENONE

The date of the batch. If you leave this field blank, the system date is used.

mnBatchNumberICUMATH_NUMERICNONENONE

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

cBatchStatusISTcharNONENONE

A user defined code (98/IC) that indicates the posting status of a batch. Valid values are: Blank    Unposted batches that are pending 
approval or have a status of approved. A        Approved for posting. The batch has no errors, and is in balance, but has not yet been posted. D       
Posted. The batch posted successfully. E        Error. The batch is in error. You must correct the batch before it can post. P        Posting. The system 
is in the process of posting the batch to the general ledger. The batch is unavailable until the posting process is complete. If errors occur 
during the post, the batch status changes to E (error). U        In use. The batch is temporarily unavailable because someone is working with it, or 
the batch appears to be in use because a power failure occurred while the batch was open.

szBranchPlantMCUcharNONENONE

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.

szItemNumberUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

mnShortItemNumberITMMATH_NUMERICNONENONE

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

szDisplayedLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szTransactionUOMTRUMcharNONENONE

The unit of measure you used when you entered this transaction into the system.

mnTransactionQtyTRQTMATH_NUMERICNONENONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

mnTransactionUnitCostUNCSMATH_NUMERICNONENONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnExtendedAmountPAIDMATH_NUMERICNONENONE

The extended cost or price value of an inventory transaction for an inventory item.

mnTransactionProcessTypeMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnLotPotencyLOTPMATH_NUMERICNONENONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

szLotGradeLOTGcharNONENONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

jdLotExpirationDateMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

mnDocumentNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szSupplierLotNumberRLOTcharNONENONE

The supplier's lot number for the item.

szLotDescriptionLDSCcharNONENONE

A brief description of a specific lot.

szReasonCodeRCDcharNONENONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

mnCycleCountNumberCYNOMATH_NUMERICNONENONE

The unique number the system assigns to identify items you have selected to count as a group. The system generates this number using 
next numbers, system 41, position 5, each time a new cycle count is started.

mnTagNumberTGGMATH_NUMERICNONENONE

A number that the system assigns to the tag using the Print Tag program, based on the next available tag number.

cGetNextCountDateEV01charNONENONE

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

mnF0911JobNumberJOBSMATH_NUMERICNONENONE

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

szKeyCompanyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

cStockingTypeSTKTcharNONENONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnInvJobNumberJOBSMATH_NUMERICNONENONE

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

szMemoLot1LOT1charNONENONE

A higher classification or grouping of serial number or lot processed items,maintained within the Lot Master (F4108).

szMemoLot2LOT2charNONENONE

A higher classification or grouping of memo lot 1 maintained within the lot master (F4108).

szMemoLot3LOT3charNONENONE

A higher classification or grouping of memo lot 2 and memo lot 1 maintained within the lot master (F4108).

cCostEnteredENTCcharNONENONE

This field indicates whether the cost was manually entered on the screen.

mnWMSLineNumberMATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

cAgreementSearchMethodEV01charOPTNONE

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

cMultipleAgreementFoundEV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cProcessJEEV01charOPTNONE

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

szGLMBFVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

szTransactionReferenceTREFcharOPTNONE

A reference number that provides an audit trail for specific transactions.

mnSecondaryQtySQORMATH_NUMERICOPTNONE

If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens.

szSecondaryUOMUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

cDualCycleCountGLOffsetEV01charOPTNONE

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

jdBasedOnDateBODJJDEDATEOPTNONE

The date that the system uses in conjunction with the shelf life days to calculate the lot expiration date. You can enter this date during 
inventory completions. In addition to calculating the lot expiration date, the system uses the date that you enter in this field to calculate the following 
lot dates:   o Sell By Date   o Best Before Date   o Lot Effectivity Date   o User Lot Date 1   o User Lot Date 2   o User Lot Date 3   o User Lot Date 
4   o User Lot Date 5

jdOnHandDateOHDJJDEDATEOPTNONE

The date when a lot is considered to be on hand in a branch/plant. The system determines the on-hand date by using the transaction date 
upon which the first inventory for a particular lot is determined to be on hand. The system automatically assigns this date to the Lot Master 
table (F4108).

jdLotEffectivityDateDLEJJDEDATEOPTNONE

The date on which a lot becomes available. The system uses this date for availability and commitment processing to indicate that the lot is 
available on or after the date that you specify. You must complete this field when inventory first becomes an on-hand quantity for the lot. If you 
leave this field blank, the system calculates the effective date of the lot by using the value for Effective Days in the Item Branch File table 
(F4102) or the current date if the value for Effective Days is zero.

jdSellByDateSBDJJDEDATEOPTNONE

The date by which a lot should be completely sold. The system uses this date as a "through" date for commitment processing. The system 
calculates the sell by date using the value in the Sell By Days field, which is contained in the Item Branch File table (F4102), when inventory 
becomes available on-hand.

jdBestBeforeDateBBDJJDEDATEOPTNONE

The last date on which the products in a lot should be consumed. The system calculates the date by retrieving the value from the Best 
Before Days field in the Item Master program (P4101). You can also use this date as a "through" date for commitment processing. You can 
commit a lot by this date by using the Commitment Date Method field in the Item Branch program (P41026).

jdUserLotDate1U1DJJDEDATEOPTNONE

A date that the system can use as a through date for commitment processing. The system stores this date in the Lot Master table (F4108). If 
you leave this field blank, the system can calculate the date by using the value for the User Lot Date 1 Default Days field, which is stored in 
the Item Branch File table (F4102).

jdUserLotDate2U2DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to the Lot Expiration 
Date, User Lot Date 2 is a through date for commitment processing. The User Lot Date 2 commitment option is available in the Commitment 
Date Method in the Item Branch table (F4102). The system uses the User Lot Date 2 Default Days from the Item Branch table (F4102) to 
calculate User Lot Date 2 when inventory first goes on hand.

jdUserLotDate3U3DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 3 is a through date for commitment processing. The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 3 Default Days from the Item Branch table (F4102) to calculate User 
Lot Date 3 when inventory first goes on hand.   

jdUserLotDate4U4DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 4 is a through date for commitment processing.   The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 4 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 4 when inventory first goes on hand.

jdUserLotDate5U5DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 5 is a through date for commitment processing.   The User Lot Date 5 commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 5 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 5 when inventory first goes on hand.

szUniqueConfigurationIDCFGSIDcharOPTNONE

An identifier that represents a unique configuration. It is generated from an encryption algorithm.  Regardless of the number of segments or 
levels in the configured item, the system always converts the information into a 32-character digest. The digest is always a full 32 characters 
in length, consists of numbers and characters, and does not contain any blanks. You cannot determine the initial value from the digest, and it 
has no significant meaning.

szLotGroupLOTGRPcharOPTNONE

Lot Group is the name of a user defined list of allowed non-blank lot status codes.  Entry of a Lot Group name in the Processing Option will 
allow this Application to process lots whose lot status code is defined within the specified Lot Group Name.  

szFromLicensePlateNumberLPNUcharOPTNONE

A license plate number is a unique value that identifies a collection of items and/or other license plates.  The license plate number is 
typically used to simplify movements and inventory transactions. 

Related Functions

B0000130 Retrieve Company From Business Unit
XT4111Z1 Inventory Transactions

Related Tables

F4009 Distribution/Manufacturing Constants
F4102 Item Branch File
F41UI001 Inventory Transactions Detail File
F4114EndDocument

F4114EndDocument

Inventory Issues/Adjustments

Master Business Function

Object Name: XT4114Z1

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description
Purpose

This function calls F4111EndDoc to process records to be written to the database for an 
Inventory Adjustment or an Inventory Issue.  The F0911EndDoc and F0911SummarizeDoc are called from this 

function.  This function is called from F4111EndDoc(XT4111Z1)  and passes the GENLNG for each 

stacked record. 


Setup Notes and Prerequistites

None

Special Logic

None


Technical Specification

Processin

//    F0911 Server - Edit Document


If   F0911 Job Number is not equal  to '0'


F0911 Edit Document
Job Number<=F0911 Job Number
Document Type<=Document Type

Allow Exit Out Of Balance<='1'

End


//  Inventory Transaction Program:  End Document - XT4111Z1

If  No Error from F0911 Edit Document

If  F0911Summarize equals '1'  AND  F0911JobNumber is not '0'

F0911 Summarize Doc (B0900049)

Job Number<=F0911JobNumber

End


F4111EndDoc

Transaction Process<=Transaction Process Type
Computer ID<=Computer ID

Inv Job Number<=Inv Job Number
Program ID<=Program ID

Document Number<=    Job Number

F0911 Job Number<=F0911 Job Number

Document Type<=Document Type

Batch Number<=Batch Number

Batch Status<=Batch Status

Next Number Index<='03'

Next Number System Code<='41'

Write Cardex Record<='1'

Update Sales History<='0'

Margin Maintenance Flag<='N'

Update MRP Net Change<='1'

Process Close Batch<='0'

End




^

Data Structure

DXT4114Z1E - F4114 End Document - Functional Server

Parameters:
Data Item Data Structure DescriptionI/ORequired

CTIDComputer IDIY

JOBSInv Job NumberIY

MATH01Transaction Process TypeIY

PIDProgram IDIY
DCTDocument TypeIY

DOCDocument NumberIN

JOBSF0911 Job NumberIN

EV01Process Close BatchIN

ICUBatch NumberIY

ISTBatch StatusIY

EV01Write Cardex RecordIN

EV01Delete Cycle Or TagIN

EV01Update Sales HistoryIN

EV01F0911SummarizeIN

TYTNEDITransactionTypeIN


^

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

mnDocumentNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szComputerIDCTIDcharNONENONE

cWriteCardexEV01charNONENONE

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

cDeleteCycleOrTagEV01charNONENONE

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

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

mnTransactionProcessTypeMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnF0911JobnumberJOBSMATH_NUMERICNONENONE

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

mnBatchNumberICUMATH_NUMERICNONENONE

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

cUpdateSalesHistoryEV01charNONENONE

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

cBatchStatusISTcharNONENONE

A user defined code (98/IC) that indicates the posting status of a batch. Valid values are: Blank    Unposted batches that are pending 
approval or have a status of approved. A        Approved for posting. The batch has no errors, and is in balance, but has not yet been posted. D       
Posted. The batch posted successfully. E        Error. The batch is in error. You must correct the batch before it can post. P        Posting. The system 
is in the process of posting the batch to the general ledger. The batch is unavailable until the posting process is complete. If errors occur 
during the post, the batch status changes to E (error). U        In use. The batch is temporarily unavailable because someone is working with it, or 
the batch appears to be in use because a power failure occurred while the batch was open.

cProcessCloseBatchEV01charNONENONE

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

cSummarizeF0911EV01charNONENONE

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

mnInvJobNumberJOBSMATH_NUMERICNONENONE

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

szEDITransactionTypeTYTNcharOPTNONE

The qualifier used to identify a specific type of transaction.

Related Functions

B0000130 Retrieve Company From Business Unit
XT4111Z1 Inventory Transactions

Related Tables

F4009 Distribution/Manufacturing Constants
F4102 Item Branch File
F41UI001 Inventory Transactions Detail File