CacheCSMSRoutingProcessing

Cache, F31172 processing

Major Business Rule

Object Name: B3101940

Parent DLL: CCRIN

Location: Client/Server

Language: C

Data Structure

D3101940 - F31172 Labor Cache Processing

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCacheJobNumberJOBSMATH_NUMERICOPTNONE

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

cCacheActionCodeACTNcharOPTNONE

1 = Fetch
2 = Add

3 = Update

4 = Delete

5 = Delete All

6 = Fetch next

7 = Add/Update

8 = Terminate

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

nNumberOfCacheKeysINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

idCacheCursorPtrGENLNGIDOPTNONE

General purpose ID variable.

cReturnPointerEV02charOPTNONE

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

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

mnOperationSequenceOPSQMATH_NUMERICOPTNONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

szTypeOperationCodeOPSCcharOPTNONE

A user defined code (30/OT) that indicates the type of operation. Valid values include: A Alternate routing   TT Travel time   IT Idle time   T Text

szWorkCenterMCUcharOPTNONE

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.

cPayableYNPAYABcharOPTNONE

This field specifies whether a general ledger account should be paid. Valid values are:    Y The account should be paid.    N The account 
should not be paid.

cBillableYNBILLcharOPTNONE

Specifies whether a general ledger account should be billed. Valid codes are:    Y Yes, the account should be billed.    N No, it should not be 
billed.    1   It is eligible only for invoicing.    2   It is eligible only for revenue recognition.    4   It is eligible only for cost. Note: Codes 1, 2, and 4 
relate only to the Service Billing system.

mnActRateBillACRTBMATH_NUMERICOPTNONE

The actual billable rate associated with a transaction.

mnActRatePayACRTPMATH_NUMERICOPTNONE

The actual payable rate associated with a transaction.

mnEstAmountEBILLMATH_NUMERICOPTNONE

mnAmountActualAMTAMATH_NUMERICOPTNONE

The actual dollars accumulated for the work order.

mnAmountOriginalDollarsAMTOMATH_NUMERICOPTNONE

The estimated monetary amount that is budgeted for this work order.

mnEstRatePayESRTPMATH_NUMERICOPTNONE

The estimated payable rate associated with a transaction.

mnEstRateBillESRTBMATH_NUMERICOPTNONE

The estimated billable rate associated with a service.

mnEstPaymntAmountEPAAPMATH_NUMERICOPTNONE

This is the estimated payment amount used in service billing.

mnTotalBilledTOTBMATH_NUMERICOPTNONE

The total amount billed through this application number.

mnClaimAmountCLAMTMATH_NUMERICOPTNONE

The amount requested for providing a service.

jdDateBilledDTBILJDEDATEOPTNONE

In service billing, the date a customer was billed for a service.

jdDatePaidDTPAYJDEDATEOPTNONE

The date a service provider was paid for a service.

mnPaymntAmountPAAPMATH_NUMERICOPTNONE

In the Accounts Payable system, the amount of the payment. In the Accounts Receivable system, the amount of the receipt. This amount 
must balance to the total amount applied to the invoice pay items.

mnLaborRatePerHour1LBR1MATH_NUMERICOPTNONE

Under a Service Contract, the labor rate per hour charged while providing the service for each day of the week and for holidays.  For 
example, the hourly rate charged during a Help Desk Call or the hourly rate charged repairing the equipment on a Service Work Order.

jdDateActualStartD2JJDEDATEOPTNONE

Enter the actual start date for a project or job in this field. Use this information for reporting purposes.

mnStartTimeSTTIMATH_NUMERICOPTNONE

This is the start time for an operation or an order.

mnEstEndTimeEPETMMATH_NUMERICOPTNONE

The estimated ending time associated with a work order.

szCostTypeCOSTcharOPTNONE

A code that designates each element of cost for an item. Examples of the cost object types are:   o  A1  Purchased raw material   o  B1  
Direct labor routing rollup   o  B2  Setup labor routing rollup   o  C1  Variable burden routing rollup   o  C2  Fixed burden routing rollup   o  Dx  Outside 
operation routing rollup   o  Xx  Extra add-ons, such as electricity and water  The optional add-on computations usually operate with the type 
Xx extra add-ons. This cost structure allows you to use an unlimited number of cost components to calculate alternative cost rollups. The 
system then associates these cost components with one of six user defined summary cost buckets.

szEntitlementCheckENTCKcharOPTNONE

A user defined code (17/ER) to indicate the results of an entitlement check. Valid values are:    0   Not entitled    1   Transaction entitled    2   
Contract found, but no existing service type    3   Contract found, but no day and date assigned    4   Covered under default warranty

szGLCategoryNonCoveredGLCNCcharOPTNONE

A user defined code (41/9) that identifies the G/L Offset to use when the system is searching for the account to which it will post the 
non-covered portion of the accounting transaction. If you do not want to specify a G/L Offset, you can enter four asterisks in this field or you can leave 
this field blank. If you leave the field blank, the system uses the G/L Offset from Inventory.

szGLCategoryCoveredGLCCVcharOPTNONE

A user defined code (41/9) that identifies the G/L Offset to use when the system is searching for the account to which it will post the covered 
portion (by warranty or contract) of the accounting transaction. If you do not want to specify a G/L Offset, you can enter four asterisks in this 
field or you can leave this field blank. If you leave this field blank, the system uses the G/L Offset from Inventory.

szPriceAdjustScheduleFourASN4charOPTNONE

A user defined code (40/AS) identifying a price and adjustment schedule. A price and adjustment schedule contains one or more 
adjustment types for which a customer or an item might be eligible. The system applies the adjustments in the sequence that you specify in the 
schedule. You link customers to a price and adjustment schedule through the customer billing instructions. When you enter a sales order, the 
system copies the schedule attached to the sold to address into the order header. You can override this schedule at the detail line level.

szPriceAdjustScheduleServiceASN2charOPTNONE

This user defined code (40/AS) identifies a price and adjustment schedule. A price and adjustment schedule contains one or more 
adjustment types for which a customer or an item might be eligible. The system applies the adjustments in the sequence that you specify in the 
schedule. You link customers to a price and adjustment schedule through the customer billing instructions. When you enter a sales order, the 
system copies the schedule attached to the sold to address into the order header. You can override this schedule at the detail line level.

mnPercentCoveredPCOVRMATH_NUMERICOPTNONE

The percentage covered under warranty or contract. This is used to calculate the amount to bill or the amount to cost for the line item being 
processed on the service order or call.

cBillMethodOfPricingMTHPRcharOPTNONE

A code used to determine if this type of service should be priced based on a flat rate or based on actual time and materials. Valid values 
are:    F        Charges for labor are based on one flat rate. Charges for parts are already included in the flat rate.    T        Charges for labor are 
based on actual labor hours. Charges for parts are based on actual parts used.    Blank A blank value is only valid when defining the Method of 
Pricing for a service provider. It is used to indicate that the service provider is an internal service provider and should not be paid.

mnSiteNumberSAIDMATH_NUMERICOPTNONE

A unique numeric identifier for a physical location at which utility service is delivered.  A service address often corresponds to a parcel of 
land or a unit in an apartment building, etc.  This identifier will be assigned by the system through Next Numbers if it is not provided when 
adding a new service address.

szProductFamilyPRODFcharOPTNONE

A code that classifies an inventory item into a group for customer service. Some examples include: Laser Printer, Inkjet, or Fax.

szProductModelPRODMcharOPTNONE

A code that classifies an inventory item into a model for customer service. Some examples include: Laser Printer, Inkjet or Fax.

szCoverageGroupCOVGRcharOPTNONE

A user defined code that specifies the Coverage Group. The Coverage Group consists of unlimited cost codes and the percentage 
covered for each cost code.

cPayPricingMethodPMTHPcharOPTNONE

A code used to determine if this type of service should be priced based on a flat rate or based on actual time and materials. Valid values 
are:    F Flat Rate. Charges for labor are based on one flat rate. Charges for parts are already included in the flat rate.    T Time and Materials. 
Charges for labor are based on actual labor hours. Charges for parts are based on actual parts used.    blank None. A blank value is only 
valid when defining the Method of Pricing for a service provider. It is used to indicate that the service provider is an internal service provider and 
should not be paid.

cPayForPartsPYPRTcharOPTNONE

A code to indicate if the service provider should be paid for parts used during a repair. Valid values are:        Y or 1 - Pay the service provider 
for parts used.        N or 0 - Do not pay the service provider for parts used.

mnCSMSJobNumberJOBSMATH_NUMERICOPTNONE

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

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

szCSMSOrderTypeDCTOcharOPTNONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCSMSOrderCompanyKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnCSMSLineNumberLNIDMATH_NUMERICOPTNONE

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.

szDomesticCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szBillSoldToCustGrpCGPCcharOPTNONE

szPaySoldToCustGrpCPGPcharOPTNONE

A user defined code (40/PC) that identifies a customer group. You can group customers with similar characteristics, such as comparable 
pricing.

szBillShipToCustGrpCGPCcharOPTNONE

szPayShipToCustGrpCPGPcharOPTNONE

A user defined code (40/PC) that identifies a customer group. You can group customers with similar characteristics, such as comparable 
pricing.

cSuppressWriteToWFEV03charOPTNONE

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. 

szBillPaymentTermsCodePTCcharOPTNONE

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

szPayPaymentTermsCodeTRAPcharOPTNONE

A code that indicates the default payment terms for a supplier. Payment terms determine the due date, discount amount, and discount due 
date that the system assigns when you create an invoice. Use a blank code for the payment terms that you use most frequently.  Examples 
of payment terms include: Blank Net 30 days  1 1/10 net 30   2 2/10 net 30   D Due upon receipt   N Net 30   P Prox 25th  

cBillPaymentInstrumentRYINcharOPTNONE

The user defined code (00/PY) that specifies how payments are made by the customer. For example: C Check   D Draft   T Electronic funds 
transfer  

cPayPaymentInstrumentPYINcharOPTNONE

A user defined code (00/PY) that determines the means by which a payment is issued to a supplier or received from the customer. 
Examples of payment instruments include check, electronic funds transfer, lockbox, and EDI.

szCountryCTRcharOPTNONE

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

nCacheRowNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nLastRowNumberUsedINT02integerOPTNONE

Number of Days in the Past to Query for Quote Requests Received. 

szCurrencyCodeToCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

szBillableCurrencyBCRCDcharOPTNONE

The currency for the billable amounts of a service order.

mnBillableExchangeRateBCRRMATH_NUMERICOPTNONE

The rate that the system uses to convert foreign currency amounts to domestic currency amounts. The system uses this rate specifically for 
converting billable amounts.

cBillableCurrencyModeBCRRMcharOPTNONE

A code that specifies whether the system uses the foreign currency (currency of the customer) or the domestic currency for billable 
amounts. Valid values are: F Foreign   D Domestic

mnForEstBillableUnitRateFESUNBMATH_NUMERICOPTNONE

The estimated unit rate that is billable in the currency of the customer.

mnForEstBillableAmountFEBILLMATH_NUMERICOPTNONE

The estimated billable amount in the currency of the customer.

mnForActBillableUnitRateFACUNBMATH_NUMERICOPTNONE

The actual unit rate that is billable in the currency of the customer.

mnForActBillableAmountFTOTBMATH_NUMERICOPTNONE

The actual amount that is billable in the currency of the customer.

szPayableCurrencyPCRCDcharOPTNONE

A code that indicates the currency of the payable amounts on a work order or claim.

mnPayableExchangeRatePCRRMATH_NUMERICOPTNONE

The rate that the system uses to convert foreign currency amounts to domestic currency amounts. The system uses this rate specifically for 
converting payable amounts.

cPayableCurrencyModePCRRMcharOPTNONE

A code that specifies whether payable amounts are in the foreign currency (currency of the service provider) or in the domestic currency. 
Valid values are: F Foreign   D Domestic

mnForEstPayableUnitRateFESUNPMATH_NUMERICOPTNONE

The estimated unit rate that is payable in the currency of the service provider.

mnForEstPayableAmountFEPAAPMATH_NUMERICOPTNONE

The estimated payable amount in the currency of the service provider.

mnForActPayableUnitRateFACUNPMATH_NUMERICOPTNONE

The actual unit rate that is payable in the currency of the service provider.

mnForActPayableAmountFPAAPMATH_NUMERICOPTNONE

The actual payable amount that is recorded in the foreign currency of the service provider.

jdDateSubmittedDTSUBJDEDATEOPTNONE

The date that a supplier recovery claim was submitted to the interoperability tables for Warranty Claim/Supplier Recovery 
Processing(F4801Z2 and F4801TZ2).

mnTimeSubmittedTMSUBMATH_NUMERICOPTNONE

The time that a supplier recovery claim was submitted to the interoperability tables.

mnCausalPartCSLPRTMATH_NUMERICOPTNONE

The item number that indicates which part failed and caused the equipment failure.

cInvoiceRequiredINVREQcharOPTNONE

A code that determines whether an invoice is required. Valid values are: 0 An invoice is not required. 1 An invoice is required.

cInvoiceReceivedINVRECcharOPTNONE

A code that indicates whether an invoice is received. Valid values are: 0 An invoice is not received. 1 An invoice is received.

szCausalPartCostCenterMCUCSLcharOPTNONE

The business unit that is related to the causal portion of the claim.

szVendorLotNumberRLOTcharOPTNONE

The supplier's lot number for the item.

mnSRVendorNoSRVENDMATH_NUMERICOPTNONE

The address book number of the vendor to be used for supplier recovery.

mnUniqueKeyPricingUKIDPMATH_NUMERICOPTNONE

szFailureCodeFAILCDcharOPTNONE

A user defined code (17/FC) that indicates the type of defect.

szRTSSystem_VMRS31VMRS31charOPTNONE

A user defined code (17/C6) that indicates a specific system, such as the air conditioning system, that is associated with a piece of 
equipment. The system uses the UDCs for the system, the assembly, and the part to identify a particular position within the equipment.

szRTSAssembly_VMRS32VMRS32charOPTNONE

A user defined code (17/C7) that indicates the location of a specific assembly, such as the air conditioning compressor, within a piece of 
equipment. The system uses the UDCs for the system, the assembly, and the part to identify a particular position within the equipment.

szRTSPart_VMRS33VMRS33charOPTNONE

A user defined code (17/C8) that indicates the location of a specific part, such as the fuse to the air conditioning compressor clutch,  within a 
piece of equipment. The system uses the UDCs for the system, the assembly, and the part to identify a particular position within the 
equipment.

cLaborSource_LSRCELSRCEcharOPTNONE

A user defined code (17/LS) that specifies whether the system tracks labor amounts and information or whether it tracks third-party invoice 
amounts and information.

mnEstPayAdjRevisionLevel_AREVAREVMATH_NUMERICOPTNONE

This data structure member is for passing the Actual Payable Adjustment Revision level.  There are 3 other revision 
levels on this structure for Estimated Payable, Estimated Billable, and Actual Billable price adjustments.

mnActPayAdjRevisionLevel_AREVAREVMATH_NUMERICOPTNONE

This data structure member is for passing the Estimated Billable Adjustment Revision level.  There are 3 other revision 
levels on this structure for Estimated Payable, Actual Payable, and Actual Billable price adjustments.


mnEstBillAdjRevisionLevel_AREVAREVMATH_NUMERICOPTNONE

This data structure member is for passing the Actual  Billable Adjustment Revision level.  There are 3 other revision 
levels on this structure for Estimated Payable, Actual Payable, and Estimated Billable price adjustments.



mnActBillAdjRevisionLevel_AREVAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

cAdvanceRevisionLevel_EV01EV01charOPTNONE

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

cUseBasePriceConstant_EV01EV01charOPTNONE

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

cPayCurrConversionMeth_CRCMCRCMcharOPTNONE

A value that specifies which method to use when converting from one currency to another. Valid values are:  Y  Multiplier method. The 
system multiplies the foreign amount by the multiplier exchange rate to calculate the domestic amount. Z Divisor method. The system divides the 
foreign amount by the divisor exchange rate to calculate the domestic amount.

cBillCurrConversionMeth_CRCMCRCMcharOPTNONE

A value that specifies which method to use when converting from one currency to another. Valid values are:  Y  Multiplier method. The 
system multiplies the foreign amount by the multiplier exchange rate to calculate the domestic amount. Z Divisor method. The system divides the 
foreign amount by the divisor exchange rate to calculate the domestic amount.

mnProcessID_PEIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionID_TCIDTCIDMATH_NUMERICOPTNONE

Related Functions

None

Related Tables

None