Functional Description
Purpose
This function will load the appropriate fields to write a cardex record for the add of a location and
then call the business function WriteCardexRecord (B4100040).
Setup Notes and Prerequisites
The Short Item Number (ITM), Second Item Number (LITM), Third Item Number (AITM), Branch/Plant (MCU),
Location (LOCN) and Lot Number (LOTN) are required parameters.
Special Logic:
None
Technical Specification
This function loads the passed in parameters into the data structure to write a cardex record. The
business function Write Cardex Record (B4100040) is called to write the record.
The explanation passed in reads 'Location Add'.
Load the following into the parameters for the call to the WriteCardexRecord business function
ShortItemNumberShortItemNumber
SecondItemNumberSecondItemNumber
ThirdItemNumberThirdItemNumber
BranchPlantBranchPlant
LocationLocation
LotNumberLotNumber
G/LClassG/LClass
PID passed inDocumentNumber (changed 05/18/95)
Document TypeDocument Type(added 05/18/95)
Lot StatusLot Status(added 05/18/95)
Transaction QuantityTransaction Quantity(added 05/18/95)
Posting CodePosting Code(added 05/18/95)
PrimaryUOM from the Transaction Unit Of Measure
Item Master
Record (UOM1)
Call GetAuditInfo G/LDate
to loadTransactionDate
Creation Date
Terminal
User
Time
'Location Add'Explanation
Call WriteCardexRecord
D4100230 - Location Cardex Shell
Parameters:
Data Item Data Structure DescriptionI/ORequired
ITMShortItemNumberIY
LITMSecondItemNumberIY
AITMThirdItemNumberIY
MCUBranchPlantIY
LOCNLocationIY
LOTNLotNumberIY
GLPTGLCategoryIN
LOTSLotStatusIN
PIDProgramIDIN
DCTDocumentTypeIN
TRQTTransactionQuantityIN
IPCDPostingCodeIN
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szSecondItemNumber | LITM | char | NONE | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
szThirdItemNumber | AITM | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szLotNumber | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
szGLCategory | GLPT | char | NONE | NONE |
A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If
| ||||
cLotStatus | LOTS | char | NONE | NONE |
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
| ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
mnTransactionQuantity | TRQT | MATH_NUMERIC | NONE | NONE |
A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and
| ||||
cPostingCode | IPCD | char | NONE | NONE |
This code designates the status of the posting of each particular transaction in the Inventory Ledger file. Valid codes are:
Y Posted (This
| ||||
szReasonCode | RCD | char | OPT | NONE |
A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning
|
B4100040 Write Cardex Record | ||||
B9800100 Get Audit Information |
F4101 Item Master |