Purpose
This function was created for the WIP Revaluation enhancement. It is called by the WIP Revaluation UBE (R30837). Its purpose
is to revalue the production costs of a parent item and to update the Production Costs Cache with the new production costs.
Technical Overview
The Frozen Cost Cache is loaded with the F30026 records for the work order and the Work Order Variance Cache record is
retrieved for the work order. For each parent production cost record in the Production Costs Cache, the new unit cost is retrieved and
the production costs are recalculated. Note: For Actual Costing, only material costs are revalued. The Production Costs Cache
record is updated with the newly calculated production costs and if journal entries are requested and there is a change in the WIP
amount (Actual Amount - (Completed Amount + Scrapped Amount)), the journal entries are created. Once the production cost
amounts have been calculated, the corresponding Frozen Cost Cache record is updated to indicate that it has been processed. After
all of the Production Cost Cache records have been processed, the Frozen Cost Cache is checked to make sure that there aren't
any records in it that have not yet been processed. If there are unprocessed records in the Frozen Cost Cache, production costs
are calculated for the records and a record is added to the Production Cost Cache.
D3104360A - Revalue Parent Or Process
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnWorkOrderNumber | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | OPT | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
mnShortItemNumber | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szBranch | MMCU | char | OPT | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
szCostMethod | LEDG | char | OPT | NONE |
A user defined code (40/CM) that specifies the basis for calculating item costs. Cost methods 01 through 19 are reserved for J.D. Edwards
| ||||
cStockingType | STKT | char | OPT | NONE |
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
| ||||
cParentChild | PART | char | OPT | NONE |
An option that specifies whether the system displays parent records or child records. If you turn on this option, the system displays parent
| ||||
cProcessOrDiscrete | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szProductionUOM | UOM | char | OPT | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
szPrimaryUOM | UOM | char | OPT | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
cActualCostedItem | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
mnWorkOrderUnits | UORG | MATH_NUMERIC | OPT | NONE |
The quantity of units affected by this transaction. | ||||
mnWOCompletedUnits | SOCN | MATH_NUMERIC | OPT | NONE |
The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for
| ||||
mnWOScrappedUnits | SOCN | MATH_NUMERIC | OPT | NONE |
The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for
| ||||
cNewItem | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cNewBranch | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cNewUOM | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szCacheJobNumber | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
szWorkStationId | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szUserId | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
jdDate | DTE | JDEDATE | OPT | NONE |
You can enter a date with or without slashes (/) or dashes (-) as separators.
If you leave a date entry field blank, the system supplies the
| ||||
mnTime | TME0 | MATH_NUMERIC | OPT | NONE |
Everest Parent Data Item | ||||
szErrorMessageID | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
mnAcctingCostQty | ACQ | MATH_NUMERIC | OPT | NONE |
An amount that the system uses in the Cost Rollup program to determine the allocation of setup costs. The system totals the setup costs
| ||||
szGLCategoryCode | GLPT | char | OPT | 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
| ||||
szCompany | CO | char | OPT | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
mnTotalNewWIP | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
mnTotalOldWIP | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
cGLInterfaceFlag | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cGLTransaction | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
mnSummaryGLDocumentNo | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
cBatchStatus | IST | char | OPT | NONE |
A user defined code (98/IC) that indicates the posting status of a batch. Valid values are:
Blank
Unposted batches that are pending
| ||||
cPrevBatchStatus | IST | char | OPT | NONE |
A user defined code (98/IC) that indicates the posting status of a batch. Valid values are:
Blank
Unposted batches that are pending
| ||||
cCurrencyConvFlag | CRYR | char | OPT | NONE |
A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use:
Codes are:
N Do not
| ||||
szDocumentType | DCT | char | OPT | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szBatchType | ICUT | char | OPT | NONE |
A code that specifies the system and type of transactions entered in a batch. The system assigns the value when you enter a transaction.
| ||||
jdBatchDate | DICJ | JDEDATE | OPT | NONE |
The date of the batch. If you leave this field blank, the system date is used. | ||||
szExplanation | EXR | char | OPT | NONE |
A name or remark that describes the purpose for using an account or conveys any other information that the user wants about the
| ||||
idPPATPtr | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
cCurrencyDecimals | CDEC | char | OPT | NONE |
A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars
| ||||
jdDateToday | DRQJ | JDEDATE | OPT | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
mnDocumentNumber | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
mnF0911JobNumber | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
cSubledgerType | SBLT | char | OPT | NONE |
A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger
| ||||
mnLastLineNumber | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
mnBatchNumber | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
szSubledger | SBL | char | OPT | NONE |
A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an
| ||||
szCurrencyCode | CCD0 | char | OPT | NONE |
Everest Parent Data Item. | ||||
cProofOrFinal | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cEditLineError | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szCompletionLocation | LOCN | char | OPT | NONE |
The storage location from which goods will be moved. | ||||
szCompletionLot | LOTN | char | OPT | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
cCostByWorkCenter | CWC | char | OPT | NONE |
A code, maintained in the Manufacturing Constants program (P3009), that indicates whether the system tracks cost variances for discrete
|
None |
None |