1.Functional Description
This function is used to maintain Driver Balances Cache
1.1Purpose
Use this function to maintain the F1632 drive balances cache. The driver calculation programs will
use this cache to accumulate driver volume information until it is updated in F1632.
1.2Setup Notes and Prerequisites
2.4Processing
You can call this business function with four different actions (EV01):
1 = Initialize
2 = Add / Update
3 = Get cache entry
4 = Get Cache using Cache Key
8 = Terminate CACHE
1. If the Action Code EV01 = '1' (Initialize)
b)If the cache exits clear it (Delete all).
2. If the Action Code EV01 = '2' (Add/Update).
element does not exist (using several key fields).
b)Otherwise, fetch a record from the cache (using several key fields) and update the record in the
cache with all the database fields from the passed parameters. (but Amount Net Posting will
Accumulate instead replace.)
c)If error, return "Cache Processing Error" (032E) error message.
3. If the Action Code ='3' (Get cache entry).
b)If end of cache, return "1" end of cache.
4. If the Action Code ='4' (Get cache entry by using cache key ).
a) Get entry in cache by using the cache keys.
b) If error, return "Cache Processing Error" (032E) error message.
5. If the Action Code ='8' (Terminate)
a) Terminate CACHE from memory .
b) If error, return "Cache Processing Error"(032E) error message.
Otherwise, return "Action Invalid" (0001) error message.
D1600050 - Driver Balance Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cSuppressErrorMessage | SUPPS | char | NONE | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessage | DTAI | char | NONE | 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
| ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnJobnumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szDriverCode | DRCD | char | NONE | NONE |
A code that identifies drivers within the Advanced Cost Accounting system. | ||||
szBusinessUnit | 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
| ||||
szUnitOfMeasure | UOM | char | NONE | 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). | ||||
szCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
szSubledger | SBL | char | NONE | NONE |
A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an
| ||||
cSubledgerType | SBLT | char | NONE | 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
| ||||
szCostObject1 | ABR1 | char | NONE | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cCostObjectType1 | ABT1 | char | NONE | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
szCostObject2 | ABR2 | char | NONE | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cCostObjectType2 | ABT2 | char | NONE | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
szCostObject3 | ABR3 | char | NONE | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cCostObjectType3 | ABT3 | char | NONE | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
szCostObject4 | ABR4 | char | NONE | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cCostObjectType4 | ABT4 | char | NONE | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
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
| ||||
szCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
mnAmountNetPosting001 | AN01 | MATH_NUMERIC | NONE | NONE |
A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting002 | AN02 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting003 | AN03 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting004 | AN04 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting005 | AN05 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting006 | AN06 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting007 | AN07 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting008 | AN08 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting009 | AN09 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting010 | AN10 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting011 | AN11 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting012 | AN12 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting013 | AN13 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnAmountNetPosting014 | AN14 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
idGenericLong | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cEndOfCache | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szLedgerType | LT | char | OPT | NONE |
A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You
| ||||
szActivityCode | ACTB | char | OPT | NONE |
The aggregation of actions performed within an organization that are useful for purposes of activity-based costing. | ||||
mnCenturyFiscalYear | CFY | MATH_NUMERIC | OPT | NONE |
A field used to store the century concatenated with the fiscal year. |
None |
None |