F1204RetrieveLocBillingInfo

F1204 Retrieve Location Tracking Information

Minor Business Rule

Object Name: N1300350

Parent DLL: CMFG

Location: Client/Server

Language: NER


1.1Purpose
To determine if location record can be billed and to retrieve billing information.  After information has been retrieved this function will call N1300430 to 
determine how to bill.  


1.2Setup Notes and Prerequisites


1.3Special Logic



Data Structure

D1300350 - F1204 Retrieve Location Tracking Information

2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
NUMBmnAssetItemNumber

ALcLocationHistOrSched

LOCszCostCenterLocation

EFTBjdDateBeginningEffective

DDTSmnTimeStampBeginning

ENDjdDateEnding

DTSOmnTimeStampEnding

ERCszEquipmentRateCode

TRNNszTransferNumber

NNBRmnNextNumberValue

QTYmnQuantity

MCUszCostCenter

AMTBmnAmountActualBilled

OBJszObjectAccount

SUBszSubsidiary

SBLszSubledger

SBLTcSubledgerType

LCTjdDtLastChanged

RTGRszEquipmentRateGroup

RTTBszEquipmentRateTable

RMKszNameRemark

PFMOD2cProofOrFinalMode999

DTEjdDate

DSHRcBillingStatus

BTDTjdBilledThroughDate

ROScTransferActionCode

FLAGcAcctNoError1

FLAGcBillRAteError2

FLAGcEqSoldJobError3

FLAGcRateCodeError4

FLAGcRentalRulesError5

FLAGcRateTableError6

FLAGcLocationBillingRate7

MNBLmnMonthsBilled

WKBLmnWeeksBilled

EBRTmnMonthlyRate

EFTBjdBeginningBillDate

EBRTmnWeeklyRate

ENDjdEndingBillDate

EBRTmnDailyRate

EBRTmnHourlyRate

DYBLmnDaysBilled

HRBLmnHoursBilled






^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAssetItemNumberNUMBMATH_NUMERICREQOUTPUT

Special Input Expected
DELETE THIS SECTION IF IT DOES NOT APPLY.


Special Output Returned

DELETE THIS SECTION IF IT DOES NOT APPLY.


Significant Data Values

x - xxxxxxxxxxxxx

x - xxxxxxxxxxxxx

x - xxxxxxxxxxxxx

DELETE THIS SECTION IF IT DOES NOT APPLY.



^

cLocationHistOrSchedALcharOPTNONE

A code that indicates the type of location record. Valid values are: C  Current. Displays only the current location for an asset. This is the 
default. H  Historical. Displays all previous locations for an asset. P  Planned or scheduled. Displays only the planned location dates for an asset. 
You enter planned locations for an asset in the Equipment/Plant Management system. *    Displays all locations (current, planned, and 
historical) that meet your search criteria. Note:  You cannot change historical (H) location records. The system automatically updates location 
records to type H when you change the location and start date of an asset.

szCostCenterLocationLOCcharOPTNONE

The current physical location of an asset. The location must have a valid business unit or job number in the Business Unit Master table 
(F0006).

jdDateBeginningEffectiveEFTBJDEDATEOPTNONE

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

mnTimeStampBeginningDDTSMATH_NUMERICOPTNONE

The time that the asset is transferred to a new location.

jdDateEndingENDJDEDATEOPTNONE

The date when an asset was removed or returned from a particular location.

mnTimeStampEndingDTSOMATH_NUMERICOPTNONE

The time that the asset was transferred from the job or will no longer be at a specified location.

szEquipmentRateCodeERCcharOPTNONE

A user defined code (00/RC) that indicates a billing rate, such as DY for daily, MO for monthly, and WK for weekly. You can set up multiple 
billing rates for a piece of equipment. If you leave this field blank, the system searches for a valid billing rate in the following sequence: 1.  
Account Ledger Master (F0901) This table contains the most detailed rate information. You can assign multiple rates for a job. For example, you 
can set up separate rates for different equipment working conditions. 2.  Job or Business Unit Master (F0006) This table contains less detailed 
rate information than the Account Ledger Master. You can only set up a single rate for a job based on this table. 3.  Rental Rules (F1302) This 
table contains the least detailed rate code information. The system searches this table according to the criteria you establish when setting up 
the table.

szTransferNumberTRNNcharOPTNONE

A number that identifies a transfer record for an asset or group of assets. You can assign this number to new transfer records. If you leave 
this field blank when you perform a location transfer, the system assigns the transfer record a number from Next Numbers.

mnNextNumberValueNNBRMATH_NUMERICOPTNONE

The number that the system will use next for automatically assigning numbers. Next numbers can be used for many types of documents; 
they include voucher numbers, invoice numbers, journal entry numbers, employee numbers, address numbers, and so on. You must adhere to 
the next numbers that have been pre-established unless custom programming is provided.

mnQuantityQTYMATH_NUMERICOPTNONE

The number of units associated with an asset.

szCostCenterMCUcharOPTNONE

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.

mnAmountActualBilledAMTBMATH_NUMERICOPTNONE

The actual amount billed.

szObjectAccountOBJcharOPTNONE

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szSubledgerSBLcharOPTNONE

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.

cSubledgerTypeSBLTcharOPTNONE

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  

jdDtLastChangedLCTJDEDATEOPTNONE

The day a master or transaction record was last changed.

szEquipmentRateGroupRTGRcharOPTNONE

A user defined code (12/C0) that identifies groups of similar pieces of equipment that are tied together for billing purposes.

szEquipmentRateTableRTTBcharOPTNONE

A user defined code (system 13, type TB) that identifies tables of different groups of rental rates for equipment. You can set up as many 
different tables as you need for a particular organization. For example, you can set up tables for company rates, AED published rates, blue 
book rates, and so forth.

szNameRemarkRMKcharOPTNONE

A generic field that you use for a remark, description, name, or address.

cTransferActionCodeROScharOPTNONE

A code that indicates whether a piece of equipment was rented or sold to the job to which it was transferred, or sold to the job and 
subsequently bought back. Valid values are: 1 Rented to the job. When you rent equipment to a job, the Location Billings program (R1304) bills the job 
continuously, using the rental rates that you set up in the Equipment Rates program (P1301) to determine the amount to bill. 2 Sold to the job. 
When you sell equipment to a job, the Location Billings program (R1304) bills the job one time, using the equipment's replacement value as 
the amount to bill.  3 Sold to the job and subsequently bought back. When you sell equipment to a job and subsequently buy back the 
equipment, the system bills the job for the difference between the equipment's replacement cost and the buyback percentage of the replacement 
cost. You define the buyback percentage in the Rental Rules program (P1302). 4 Future Use Note: This field is used only in Equipment 
Management, for Equipment Location Billing clients. It is not used in Fixed Assets.

cProofOrFinalMode999PFMOD2charOPTNONE

When you specify proof mode, the system prints a report that lists all selected records, as well as a message that indicates whether they 
will be processed. The system does not update any tables in proof mode. When you specify final mode, the system updates the tables. Valid 
values are:    Blank Proof mode    1        Final mode 

jdDateDTEJDEDATEOPTNONE

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 
current date.

cBillingStatusDSHRcharOPTNONE

Specifies how the system bills partial hours.  Valid values are:    1        The system bills partial hours in quarter-hour increments.    Blank The 
system bills partial hours in hour increments.

jdBilledThroughDateBTDTJDEDATEOPTNONE

This field will be used in the Recurring Billing module as part of a date-oriented billing method, as opposed to period-oriented billing.  This 
field will contain the latest date for which billings have been generated for the associated billing line.

szSubsidiarySUBcharOPTNONE

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

cAcctNoError1FLAGcharOPTNONE

Contains an indicator for the operation.

cBillRAteError2FLAGcharOPTNONE

Contains an indicator for the operation.

cEqSoldJobError3FLAGcharOPTNONE

Contains an indicator for the operation.

cRateCodeError4FLAGcharOPTNONE

Contains an indicator for the operation.

cRentalRulesError5FLAGcharOPTNONE

Contains an indicator for the operation.

cRateTableError6FLAGcharOPTNONE

Contains an indicator for the operation.

cLocationBillingRate7FLAGcharOPTNONE

Contains an indicator for the operation.

jdBeginningBillDateEFTBJDEDATEOPTNONE

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdEndingBillDateENDJDEDATEOPTNONE

The date when an asset was removed or returned from a particular location.

mnHoursBilledHRBLMATH_NUMERICOPTNONE

The number of hours billed.

mnHourlyRateEBRTMATH_NUMERICOPTNONE

A code that represents the amount that you want to charge the job. Each piece of equipment can have numerous billing rates based on the 
rate code. The equipment billing rate can be composed of up to ten different rates. For example: Billing Rate = 200        100 Rate 1 (Ownership 
Component)         25 Rate 2 (Operating Component)         50 Rate 3 (Maintenance Component)         25 Rate 4 (Other Costs Component) When 
you post time entries to the general ledger, the system recognizes credits in revenue accounts for each of the rate components. This allows 
you to separate portions of the equipment billing by type of cost. Note: You are not required to use rate components.

mnDaysBilledDYBLMATH_NUMERICOPTNONE

The number of days billed.

mnDailyRateEBRTMATH_NUMERICOPTNONE

A code that represents the amount that you want to charge the job. Each piece of equipment can have numerous billing rates based on the 
rate code. The equipment billing rate can be composed of up to ten different rates. For example: Billing Rate = 200        100 Rate 1 (Ownership 
Component)         25 Rate 2 (Operating Component)         50 Rate 3 (Maintenance Component)         25 Rate 4 (Other Costs Component) When 
you post time entries to the general ledger, the system recognizes credits in revenue accounts for each of the rate components. This allows 
you to separate portions of the equipment billing by type of cost. Note: You are not required to use rate components.

mnWeeklyRateEBRTMATH_NUMERICOPTNONE

A code that represents the amount that you want to charge the job. Each piece of equipment can have numerous billing rates based on the 
rate code. The equipment billing rate can be composed of up to ten different rates. For example: Billing Rate = 200        100 Rate 1 (Ownership 
Component)         25 Rate 2 (Operating Component)         50 Rate 3 (Maintenance Component)         25 Rate 4 (Other Costs Component) When 
you post time entries to the general ledger, the system recognizes credits in revenue accounts for each of the rate components. This allows 
you to separate portions of the equipment billing by type of cost. Note: You are not required to use rate components.

mnMonthlyRateEBRTMATH_NUMERICOPTNONE

A code that represents the amount that you want to charge the job. Each piece of equipment can have numerous billing rates based on the 
rate code. The equipment billing rate can be composed of up to ten different rates. For example: Billing Rate = 200        100 Rate 1 (Ownership 
Component)         25 Rate 2 (Operating Component)         50 Rate 3 (Maintenance Component)         25 Rate 4 (Other Costs Component) When 
you post time entries to the general ledger, the system recognizes credits in revenue accounts for each of the rate components. This allows 
you to separate portions of the equipment billing by type of cost. Note: You are not required to use rate components.

mnWeeksBilledWKBLMATH_NUMERICOPTNONE

The number of weeks billed.

mnMonthsBilledMNBLMATH_NUMERICOPTNONE

The number of months billed.

mnBatchNumberICUMATH_NUMERICOPTNONE

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.

mnAmountCurrentBillingCBAMMATH_NUMERICOPTNONE

The amount of the current billing.

szBatchTypeICUTcharOPTNONE

A code that specifies the system and type of transactions entered in a batch. The system assigns the value when you enter a transaction. 
Valid values are set up in user defined code table 98/IT. You cannot assign new values. All batch types are hard coded.

jdBatchDateDGLJDEDATEOPTNONE

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.

NextDocumentNumberDOCMATH_NUMERICOPTNONE

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.

cF0911BegDocErrorFlag_EV01EV01charOPTNONE

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

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

mnJobnumberAJOBSMATH_NUMERICOPTNONE

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

szAdditionalRateTableCORTcharOPTNONE

The rate table used as an additional charge or credit during billing. Some examples are:  an additional charge for overtime (harsh usage) 
or a credit for a preferred customer.

mnAddBillingRate_EBRTEBRTMATH_NUMERICOPTNONE

A code that represents the amount that you want to charge the job. Each piece of equipment can have numerous billing rates based on the 
rate code. The equipment billing rate can be composed of up to ten different rates. For example: Billing Rate = 200        100 Rate 1 (Ownership 
Component)         25 Rate 2 (Operating Component)         50 Rate 3 (Maintenance Component)         25 Rate 4 (Other Costs Component) When 
you post time entries to the general ledger, the system recognizes credits in revenue accounts for each of the rate components. This allows 
you to separate portions of the equipment billing by type of cost. Note: You are not required to use rate components.

cOverbilledFlag_EV01EV01charOPTNONE

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

Related Functions

None

Related Tables

None