This troubleshooting document is provided to assist in debugging a specific issue. When possible, diagnostic tools are included in the document to assist in troubleshooting. This document is to explain how Flex Accounting takes effects (Technical) with detailed routines in it. Though this document is written based on Sales Update (R42800) it can be applied to any other Flex Accounting routine if needed.
<Document 625475.1> - E1: 40: Automatic Accounting Instructions for Distribution (AAI / DMAAI)
<Document 756543.1> - E1: 42: P40296: Flexible Accounting for Distribution (R42800/P4112/P4113/P4114/P4312/P4314)
<Document 625421.1> - E1: 42: R42800: Sales Update
This note presume that you are familiar with what is Automatic Accounting Instruction (AAI) and business functions and it's debugging.
To deal with Flex Accounting, a number of objects are related with as below,
R42800 - Sales Update: So long as cGLInterface flag (F40205.GLI) from line type based on Sales Order Detail Line (F4211) or it's summary
(Initialize/store Flex Sales Accounting Cache - Sales Order Specific)
1. B4201150 - ProcessFlexSalesAcctngCache (cAction = 2 - Add cache): If the sales flex accounting processing option is ON, write an empty record to the sales flex accounting cache. The cache will be keyed by sales update job number.
1. B4201150 - ProcessFlexSalesAcctngCache (Ref #1) (cAction = 3 - Update cache): This function is to update empty cache created above to use during Building up Flex Account
(Get/build account store it into cache)
1. B4200520 - GetSalesAAIsAndCallF0911EditLine: This function sets AAI Number and calling RetrieveDistributionAAICacheDB (if no error then) F0911FSEditLine. This function will load F0911 fields, retrieve the AAI for each journal entry required for a sales order, call Tax Calculator, and call the F0911 Edit Line to write the journal entries.
2. B4204190 - RetrieveDistributionAAICacheDB: (Ref #2) This function is responsible to return Account Information (account number and MCU.OBJ.SUB set)
3. B4000351 - RetrieveDistAAIwF4095Cache: This function gets Account Information based on setup made in F4095 either by DB or by Cache
4. B4000352 - RetrieveF4095Cache: To deal with Flex Accounting this function handled AAI information returned by RetrieveDistAAIwF4095Cache
4. N4002371 - BuildFlexibleAccountwithCache: Check whether to override Flex Account information as defined from F4096 and stored it into Cache
5. B4000341 - RetrieveF4096Cache: This function is to validate flex account and if any, it replaces Account Information constructed by RetrieveDistAAIwF4095Cache
5. B4201150 - ProcessFlexSalesAcctngCache: (refer Ref #1) Validate/replace cache with components of Account Information
5. B4002420 - GetTableColValue: (Optional) This function validates setup made in F4096
3. XX0901 - ValidateAccountNumber: This function validate Account Information which is returned by RetrieveDistAAIwF4095Cache
2. B0900049 - F0911FSEditLine: This Master Business Function defaults/validates account information and makes use of Account Information returned by RetrieveDistributionAAICacheDB
(Terminate Cache)
1. B4204190 - ProcessDistributionAAICache (Refer Ref #2) (After all the GL transactions have performed this function is to be called to terminate all the cached used during process with Cache Action 8 to Terminate all the caches)
2. B4000352 - RetrieveF4095Cache (To terminate cache with Cache Action Code 8)
2. B4000341 - RetrieveF4096Cache (To terminate cache with Cache Action Code 8)
(Same routine will be repeating whenever one GL transaction takes place)
Note that below Cache Action Code is used during Flex Account transaction however this action code can be used for different purpose in different business functions. Most commonly cache action takes places as below sequence,
Cache Action | Input | Usage and APIs called |
---|---|---|
Cache Get | 1 | To get/verity existing cache
|
Cache Add | 2 | If no cache found then add it
|
Cache Fetch Next | 3 | Same with Cache Get Note: In B4201150 cAction 3 is to be used to update Flex Cache |
Cache Terminate All | 8 | Terminate cache used
|
Cache Close Cursor | 9 | No implementation |
Below DMAAI is hard coded in B4200520 and each AAI can be called conditionally. For example, in most common transaction 4230, (4270, 4280), 4220 and 4240 will be called.
Sequence of validation/assignment:
Note: Description is coming from F4090 (Distribution/Manufacturing - AAI Record Type)
To have better understanding in GL transaction during Sales Update, possibly some of business function listed above can be written in detail as below: In EntepriseOne to minimize Global or Static variable, each business function contains complete sets of parameters which are required within a routine.
Information on Business Functions related
Reference: <Document 1307156.1> - E1: 40: How F0911.GLU (Units) Gets Written in Distribution
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
mnAAITableNumber | MATH_NUMERIC | ANUM | I | This value is hard coded before this fuction gets called via B4200520. For example, 4220 | |
szCompanyNumber[6] | JCHAR | CO | I | 00001 | |
szOrderType[3] | JCHAR | DCTO | I/O | (Blank) | |
szDocumentType[3] | JCHAR | DCTO | I | SO | |
szGLCategory[5] | JCHAR | GLPT | I | IN30 | |
szCostType[4] | JCHAR | COST | I | (Blank) | |
szBranchPlant[13] | JCHAR | MCU | I | " 30" | |
szObjectAccount[7] | JCHAR | OBJ | O | 6020 | |
szSubsidiary[9] | JCHAR | SUB | O | (Optional) | |
szCostCenter[13] | JCHAR | MMCU | O | ||
cSuppressErrorMessage | JCHAR | EV01 | I | 0 is default value (1 to suppress error) |
|
szErrorMessageID[11] | JCHAR | DTAI | O | ||
cVoidAccountValidation | JCHAR | EV02 | I | (Blank) 1 = Concatenate but do not validate 2 = Do not validate and do not cancatenate |
|
mnJobNumber | MATH_NUMERIC | JOBS | I | 99999999 | |
cSalesFlexAccountingFlag | JCHAR | EV03 | I | When Processing Option is ON for flex accouting this value has to be 1 (eles Blank) | |
szSubledger[9] | JCHAR | SBL | I/O | (Optional) Blank. When Flex is ON this value can be Output | |
cSubledgerType | JCHAR | SBLT | I/O | (Optional) Blank. When Flex is ON this value can be output | |
szApplicationGroup[11] | JCHAR | EAP | I/O | R42800. When Flex is ON this value has to be indicated | |
szManagerialAnalysisCode1[13] | JCHAR | ABR1 | O | Meant for Flex only | |
szManagerialAnalysisCode2[13] | JCHAR | ABR2 | O | Meant for Flex only | |
szManagerialAnalysisCode3[13] | JCHAR | ABR3 | O | Meant for Flex only | |
szManagerialAnalysisCode4[13] | JCHAR | ABR4 | O | Meant for Flex only | |
cManagerialAnalysisType1 | JCHAR | ABT1 | O | Meant for Flex only | |
cManagerialAnalysisType2 | JCHAR | ABT2 | O | Meant for Flex only | |
cManagerialAnalysisType3 | JCHAR | ABT3 | O | Meant for Flex only | |
cManagerialAnalysisType4 | JCHAR | ABT4 | O | Meant for Flex only | |
mnIdentifierShortItem | MATH_NUMERIC | ITM | I | 0 | |
szPriceAdjustmentType[9] | JCHAR | AST | I | (Blank) only for AAI Table Number 4270 and 4280 | |
szAccountUnitOfMeasure[3] | JCHAR | UM | |||
szProjectBusinessUnit[13] | JCHAR | MCU | O | ||
szProjectSubsidiary[9] | JCHAR | SUB | O | ||
szAccountId[9] | JCHAR | ANI | O | 000123456 | |
szAccountNumber[30] | JCHAR | AID | O | R30.6020 |
Components | Value from |
---|---|
OBJ | Strictly from Table F4095 |
MCU | 1. Table 2. Project MCU (when this value is not blank) 3. F4095 Flex 4. Input(passed in) Branch/Plant |
SUB | 1. Input (passed in) parameter 2. F4095 Table 3. Project SUB 4. Flex |
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
mnAAITableNumber | MATH_NUMERIC | ANUM | I | 4220. Used for Flex Account | |
szCompanyNumber[6] | JCHAR | CO | I | 00001. Used for Flex Account | |
szOrderType[3] | JCHAR | DCTO | (Blank) | ||
szDocumentType[3] | JCHAR | DCTO | I | SO. Used for Flex Account after assigning it to szOrderType | |
szGLCategory[5] | JCHAR | GLPT | I | IN30 | |
szCostType[4] | JCHAR | COST | |||
szBranchPlant[13] | JCHAR | MCU | I/O | " 30". When Flex is On and BuildFlexiableAccountwithCache returns, which value is to be output value | |
szObjectAccount[7] | JCHAR | OBJ | O | Used for Flex Account | |
szSubsidiary[9] | JCHAR | SUB | O | ||
szCostCenter[13] | JCHAR | MMCU | O | ||
szAccountNumber[30] | JCHAR | ANI | O | ||
cSuppressErrorMessage | JCHAR | EV01 | I | 0 - Do not suppress error | |
szErrorMessageID[11] | JCHAR | DTAI | O | Refer detail Error | |
cVoidAccountValidation | JCHAR | EV02 | I | (Blank) 1 = Cancatenate but do not validate 2 = Do not validate and do not cancatenate |
|
mnJobNumber | MATH_NUMERIC | JOBS | I | 999999999 | |
cSalesFlexAccountingFlag | JCHAR | EV03 | I | Based on processing option value | |
szSubledger[9] | JCHAR | SBL | I/O | ||
cSubledgerType | JCHAR | SBLT | I/O | ||
szApplicationGroup[11] | JCHAR | EAP | I/O | R42800. Used for Flex Account | |
szManagerialAnalysisCode1[13] | JCHAR | ABR1 | O | Only when Flex is ON | |
szManagerialAnalysisCode2[13] | JCHAR | ABR2 | O | Only when Flex is ON | |
szManagerialAnalysisCode3[13] | JCHAR | ABR3 | O | Only when Flex is ON | |
szManagerialAnalysisCode4[13] | JCHAR | ABR4 | O | Only when Flex is ON | |
cManagerialAnalysisType1 | JCHAR | ABT1 | O | Only when Flex is ON | |
cManagerialAnalysisType2 | JCHAR | ABT2 | O | Only when Flex is ON | |
cManagerialAnalysisType3 | JCHAR | ABT3 | O | Only when Flex is ON | |
cManagerialAnalysisType4 | JCHAR | ABT4 | O | Only when Flex is ON | |
mnIdentifierShortItem | MATH_NUMERIC | ITM | I/O | Flex is ON and when CSMS is ON | |
szAccountUnitOfMeasure[3] | JCHAR | AST | O | From F0901 based on szAccountNumber | |
szPriceAdjustmentType[9] | JCHAR | UM | I/O | This value is to be utilized only for AAI Table 4270 and 4280 (and 4515 and 4520). Otherwise this value has to be set Blank | |
szProjectBusinessUnit[13] | JCHAR | MCU | I | If these values are assigned this has higher precedence | |
szProjectSubsidiary[9] | JCHAR | SUB | I | ||
mnTransactionID | MATH_NUMERIC | TSID | I/O | 0 | |
szComputerID[16] | JCHAR | CTID |
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
szCacheActionCode[9] | JCHAR | CATN | I | To indicate what kind of cache action it has to take. Valid values are, 1 - Cache Get 2 - Cache Add 9 - Close Cursor 8 - Cache Terminate All |
|
mnJobNumber | MATH_NUMERIC | JOBS | I | 99999999. This is to make transaction specific cache | |
szErrorId[11] | JCHAR | DTAI | |||
mnAaiTableNumber | MATH_NUMERIC | ANUM | I | 4220 | |
szOrderType[3] | JCHAR | DCTO | |||
szDocumentType[3] | JCHAR | DCTO | I | SO | |
szCostType[4] | JCHAR | COST | |||
szCompany[6] | JCHAR | COST | I | 00001 | |
szGlCategory[5] | JCHAR | GLPT | I | IN30 | |
szCostCenter[13] | JCHAR | MCU | |||
szObjectAccount[7] | JCHAR | OBJ | |||
szSubsidiary[9] | JCHAR | SUB | |||
idCacheCursor | ID | GENLNG | I/O | 0 | |
mnTransactionID | MATH_NUMERIC | TCID | I/O | 0 | |
szComputerID[16] | JCHAR | CTID |
Entering jdeCacheInit Name:[B40003521197940]
Found existing cache, total references:[5]
hCache:[0A4A1CC0] Nm:[0B40003521197940] Recs:2 Curs:0 Hnds:5 Cchs:14 INIT exist
Entering jdeCacheOpenCursor (Called by: b4000352.c line 263)
Open Cursor Success hCursor:[09310268] hCache:[0A4A1CC0]
hCache:[0A4A1CC0] Nm:[0B40003521197940] Recs:2 Curs:1 Hnds:5 Cchs:14 CURS open
Entering jdeCacheFetchPosition hCursor:[09310268]
Entering jdeCacheCloseCursor hCursor:[09310268] hCache:[0A4A1CC0]
hCache:[0A4A1CC0] Nm:[0B40003521197940] Recs:2 Curs:0 Hnds:5 Cchs:14 CURS close
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
mnAaiTableNumber | MATH_NUMERIC | ANUM | I | 4220 | |
szCompany[6] | JCHAR | CO | I | 00001 | |
szPriceAdjustmentType[9] | JCHAR | AST | |||
szAAIFinancials[7] | JCHAR | ITEM | |||
szObjectAccount[7] | JCHAR | OBJ | I | 6020 | |
szOrderType[3] | JCHAR | DCTO | I | SO | |
szApplicationID[11] | JCHAR | EAP | I | R42800 | |
cBuildBusinessUnit | JCHAR | EV01 | I | 1 | |
cBuildSubsidiary | JCHAR | EV02 | I | 1 | |
cBuildSubledger | JCHAR | EV03 | I | 1 | |
mnJobnumberA | MATH_NUMERIC | JOBS | I | 99999999 | |
szCostCenter[13] | JCHAR | MCU | |||
szSubsidiary[9] | JCHAR | SUB | |||
szSubledger[9] | JCHAR | SBL | |||
cSubledgerType | JCHAR | SBLT | |||
mnIdentifierShortItem | MATH_NUMERIC | ITM | I | 0 | |
szManagerialAnalysisCode1[13] | JCHAR | ABR1 | |||
szManagerialAnalysisCode2[13] | JCHAR | ABR2 | |||
szManagerialAnalysisCode3[13] | JCHAR | ABR3 | |||
szManagerialAnalysisCode4[13] | JCHAR | ABR4 | |||
cManagerialAnalysisType1 | JCHAR | ABT1 | |||
cManagerialAnalysisType2 | JCHAR | ABT2 | |||
cManagerialAnalysisType3 | JCHAR | ABT3 | |||
cManagerialAnalysisType4 | JCHAR | ABT4 | |||
szErrorMessage[11] | JCHAR | DTAI | |||
mnTransactionID | MATH_NUMERIC | TCID | I | 0 | |
szComputerID[16] | JCHAR | CTID |
Codes Description 01 Hard Coded CF Configurator Y DC Driver Calculation Y FA Flex Accouting Y OT Cost Object Type Y RF Related File Y SM Rule Setup Method Y - Table F1690 is a member of F986113 (Database Caching) so reset database cache will reflect the change made
- In case F1690 (Enables Tables by Application) does not have any data this function stop processing without issuing any error. So make it sure that all the setup is done properly before debug any Flex Account related issue (to get F1690.CO2 and application P1691 allows you to access data)
- CO02 has to be a member of UDC 16/SM - Cost Object Rules Setup Method
Codes Description 01 Hard Coded Blank Y A AAI Number method Y C Combination of methods Y N No Flex Accouting is used Y O Object Account method Y - In calling B4000341 iCacheActionCode can be handled as below,
- 1 - Cache Get
- 2 - Cache Add
- 3 - Cache Get Next
- 9 - Close Cursor
- 8 - Cache Terminate All
- So N4002371 is calling B4000341 for the first time either iCacheActionCode 1 or 3 it has to fail (because cache is not created yet) which returns error code '078N'
- Then reads F4096 to get Flex Accounting Information.
- Do a SELECT on the F4096 file, ensuring that there is at least one match.
- The F4096 file rules can be entered with a combination of specific & generic key values. Therefore, there are a variety of possible combinations (aside from whether the Cost Object Population Method is "AAI", "Object Account" or Combined). The variations are:
- Cost Object Population Method
- Case (Specific Price Adjustment Type where F1690.CO02 (IN 'O - Object Account Method', 'C - Combination of methods')
- 1. Specific Document Type & Company
- 2. Blank Document Type & Company
- 3. Specific Document Type & Company '00000'
- 4. Blank Document Type & Company '00000'
- Case (Blank Price Adjustment Type (if one was present originally))
- 1. Specific Document Type & Company
- 2. Blank Document Type & Company
- 3. Specific Document Type & Company '00000'
- 4. Blank Document Type & Company '00000'
- The purpose of reading F4096 is to get below columns from F4096, which determines how to Build Flex Account
- @RT (Record Type - CC/SUB/SBL Flex Format)
- SBLT (Subledger Type)
- SFIT (Data Item) * Column Name
- SFDT (Data Type)
- ABT1 (Managerial Analysis Type 1)
- FILE (File Name) * Table Name
- At once there is any records meet condition above call BSFN B4000341 - RetrieveF4096Cache with iCacheActionCode = '2' to add cache based on record fetched from F4096
- If F4096 is successfully cached than call bsfn B4201150 - ProcessFlexSalesAcctngCache (Process Flex Sales Accounting Cache)
- If a match was found, then continue processing; otherwise, program ends execution here. Note that below routine is hard coded per szApplicationID as below,
szApplicationID Routine to validate/detault B0000062 - AccountsPayablePaymentPrePost
(F0911 Write Cash Account)
B0400115 - AccountsPayableVoucherPost (Account Payable Voucher Post)B0400120 - ProcessAPCacheManagementCache (Process AP Cost Management Cache) B03B0025 - InvoicePost (F0911 Write Invoice Offset Automatic Entries)
B03B0067 - ReceiptPost (ReceiptPost)B03B0170 - ProcessARCMSCache (Process AR Cost Management Cache) XT4111Z1 - Inventory Transaction B4101090 - CacheProcessFlexInventoryAcctng (Cache, Process Flex Inventory Accounting) R30835 - Item Cost Component - Frozen Update
R31802A - Manufacturing Accounting Journal Entries
R31804 - Variance Journal EntriesB3101370 - FlexMFGAccountingCache (Flex MFG Accounting Cache) P4312 - Purchase Order Receipt
P4314 - Voucher MatchB4301410 - MaintainDistributionParmsCache (Maintain Distribution Parms Cache) B4200520 - GetSalesAAIsAndCallF0911EditLine (Sales Update, Get AAIs and Edit F0911 Entries)
R42800 - Sales UpdateB4201150 - ProcessFlexSalesAcctngCache (Process Flex Sales Accounting Cache) R12104 - Mass Asset Disposal
R12108 - Asset Transfer
R12845 - Asset Revaluation Journal
R12855 - User Defined DepreciationB1200170 - ProcessFlexFixedAssetCache (Process Flex Fixed Asset Cache) R4981 - Freight Update and Report B4900190 - CacheProcessTransCMS (Cache Process Transportation CMS) Not met Set Error '0001' - Repeat error message which are returned from above internal routine listed
- Determine which file needs to be accessed to retrieve the field's value from.
- Refer to the BF specification for B4201140 to find the supported files (See parameter FileName). If the file name (from F4096) is blank, then the record is from the World RPG system and we need to get the file name from the 40/DI UDC table.
- Check that the File Name is valid for this Application (the calling program). Else set error 070X
- File and column Definition
F4096.FILE Columns Note F0101 (Address Book) When szApplication ID is B4200520,R42800,R4981
Case (SFDT = 1) Sold To
Case (SFDT = 2) Ship To
Case (SFDT = 3) Parent AddressThe Address Book number can be either '1' = Sold To '2' = Ship To or '3' = Parent if SOP was the calling application. For all other applications, there is only one Address Book Number passed in the cache When szApplicationID is P4312, P4314
SFDT = 2 then get SHAN from F4301
SFDT = 3 get Parent Address Number of AN8 from F0150
Set error 3783Add logic to enable flex datatypes of 2 and 3 when flex accounting is used in conjunction with P4312 and P4314. For datatype of 3, the parent address numbe is the value specified in the supplier master record. This parent address number is stored in F0150 with an organization type equal to blank. If the user has specified a datatype of 3, but there is no corresponding record in the F0150, VA evt_WorkAddressNumber is set to blank and an error is subsequently set. For datatype of 2 the ship-to is fetched from the F4301 record. F4211 (Sales Order Detail) When Application ID is B4200520, R42800
Based on return value of BSFN B4201150 (Process Flex Sales Accounting Cache)
(Case SFIT = SRP1) F4211.SRP1
(Case SFIT = SRP2) F4211.SRP2
(Case SFIT = SRP3) F4211.SRP3
(Case SFIT = SRP4) F4211.SRP4
(Case SFIT = DOCO) F4211.DOCO
(Case SFIT = DOC) F4211.DOC
(Case SFIT = SLSM) F4211.SLSM
(Case SFIT = SLM2) F4211.SLM2
(Case SFIT = AN8) F4211.AN8
(Case SFIT = ITM) F4211.ITM
(Case SFIT = MCU) F4211.MCU
(Case SFIT = EMCU)
If szApplicationID IN ('R4200520', 'R42800')
F4211.MCU
Else
F4201.MCU (=F4211.EMCU)
(Case SFIT = KCOO) F4211.KCOO
If DTAI IN ('CO', 'KCO', 'OKCO', RKCO') then ltrim zeroIf the field is one of the fields passed in the SOP cache, use that value. Otherwise, we need to retrieve the value from the S/O Detail record. F4071 (Adjustment Master) If returned AST is Blank, then AST = (Input) szPriceAdjustmentType
(Case SFIT = AST), returned AST
(Case Others: call Get Table Column Value) to get szWorkString
(Case SFIT = PA01 and szWorkString = "1"), returned Parent Address Number and exit from routine.
(Case SFIT = PA01 and szWorkString = "2"), assign SIFT = AN82
(Case SFIT = PA01 and szWorkString = "3"), assign SIFT = AN83
(Case SFIT = PA01 and szWorkString = "4"), assign SIFT = AN84
(Case SFIT = PA01 and szWorkString = "5"), assign SIFT = AN85
(Case SFIT = PA01 and szWorkString = "6"), assign SIFT = AN86
(Case SFIT = PA01 and szWorkString = "7"), assign SIFT = AN87
(Case SFIT = PA01 and szWorkString = "2"), assign SIFT = AN82
(Case SFIT = PA01 and szWorkString = "2"), assign SIFT = AN82If SFIT is not "AST" then call bsfn B4002420 - GetTableColValue (Get Table Column Value) to get szWorkString from it. Depends on this value it identified which column values to assign into SFIT. F4111 (Item Ledger) SFIT = ITM, then F4111.ITM
SFIT = LITM, then F4111.LITM
SFIT = AITM, then F4111.AITM
SFIT = KIT, then F4111.KIT
SFIT = MMCU, then F4211.MMCU
SFIT = MCU, then F4211.MCU
SFIT = DMCT, then F4211.DMCT
SFIT = DOCO, then F4211.DOCO
SFIT = TREF, then F4111.TREF
SFIT = RCD, then F4211.RCDAll permissable F4111 fields are in the inventory cache F1201 (Asset Master) SFIT = NUMB, then F1201.NUMB
SFIT = CO, then F4211.CO
SFIT = APID, then F1201.APID
SFIT = ASID, then F1201.ASID
SFIT = ACL1, then F1201.ACL1
SFIT = ACL2, then F1201.ACL2
SFIT = ACL3, then F1201.ACL3
SFIT = ACL4, then F1201.ACL4
SFIT = ACL5, then F1201.ACL5
SFIT = MCU, then F4211.MCU
SFIT = TXJS, then F1201.TXJS
SFIT = INSP, then F1201.INSP
SFIT = INSC, then F1201.INSC
SFIT = LOC, then F1201.LOC
SFIT = AN8, then F4211.AN8
SFIT = LANO, then F1201.LANO
SFIT = ACL6, then F1201.ACL6
SFIT = ACL7, then F1201.ACL7
SFIT = ACL8, then F1201.ACL8
SFIT = ACL9, then F1201.ACL9
SFIT = ACL0, then F1201.ACL0
SFIT = KIT, then F4211.KIT
SFIT = JBCD, then F1201.JBCD
SFIT = JBST, then F1201.JBST
SFIT = FA0, then F1201.FA0
SFIT = FA1, then F1201.FA1
SFIT = FA2, then F1201.FA2
SFIT = FA3, then F1201.FA3
SFIT = FA4, then F1201.FA4
SFIT = FA5, then F1201.FA5
SFIT = FA6, then F1201.FA6
SFIT = FA7, then F1201.FA7
SFIT = FA8, then F1201.FA8
SFIT = FA9, then F1201.FA9
SFIT = FA21, then F1201.FA21
SFIT = FA22, then F1201.FA22
SFIT = FA23, then F1201.FA23
SFIT = TXA1, then F4211.TXA1
SFIT = MMCU, then F4211.MMCU
SFIT = WRFL, then F1201.WRFL
SFIT = NORU, then F1201.NORUF1202 (Asset Balance) SFIT = ADM, then F1202.ADM
SFIT = ADSN, then F1202.ADSN
SFIT = DIR1, then F1202.DIR1
SFIT = CHCD, then F1202.CHCD
SFIT = ITAC, then F1202.ITACthe other supported files (F0006, F03B11, F0411, F30006, F3009, F3111, F3112, F41001, F4101, F4102, F4311, F4801, F4215, F4941, F4942, F03B13, F03B14, F0413, F0414) If (szApplicationID is B4200520 or R42800) and FILE = 'F42160' then KCOO = F4211.KCOO
If (szApplicationID is B4200520 or R42800) and (FILE = 'F42160' or 'F4102') and Processing Option (#5. G/L Account Business Unit = 1) then MCU = F4211.MCU
If (szApplicationID is B4200520 or R42800) and (FILE = 'F42160' or 'F4102') and Processing Option (#5. G/L Account Business Unit = 2) then MCU = MCU of F4211.AN8
If (szApplicationID is B4200520 or R42800) and (FILE = 'F42160' or 'F4102') and Processing Option (#5. G/L Account Business Unit = 3) then MCU = F4201.MCU
If (szApplicationID is B4200520 or R42800) and (FILE = 'F42160' or 'F4102') and Processing Option (#5. G/L Account Business Unit = I) then MCU = MCU of F4211.EMCU
If FILE = F4311 AND SFIT = CO, then ltrim company
If FILE = F4801 AND SFIT = CO, then ltrim company
- The next section will build/derive either the Business Unit, Subsidiary or Subledger by concatenating WorkString onto the end (omitting blanks)
@RT Value | Condition in P40296 | Usage |
---|---|---|
1 | GC Business Unit is 'X' | Assign MCU based on above value |
2 | GC Subsidiary is 'X' | Assign SUB based on above value |
3 | GC Subledger is X | Assign SBL based on above value |
4 | GC Item is X | Assign ITM |
5 | GC Cost Object is 1 | Return cManagerialAnalysisType1 = VA evt_cManagerialAnlysisTyp_ABT1 |
6 | GC Cost Object is 2 | Return cManagerialAnalysisType2 = VA evt_cManagerialAnlysisTyp_ABT1 |
7 | GC Cost Object is 3 | Return cManagerialAnalysisType3 = VA evt_cManagerialAnlysisTyp_ABT1 |
8 | GC Cost Object is 4 | Return cManagerialAnalysisType4 = VA evt_cManagerialAnlysisTyp_ABT1 |
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
szCacheActionCode[9] | JCHAR | CATN | I | 1st 3 - Cache Fetch Next 2nd 2 - Cache Add 3rd 3 - Cache Fetch Next szCacheActionCode, 1 - Cashe Get 2 - Cache Add 3 - Cache Get Next 9 - Close Cursor 8 - Cache Terminate All |
|
mnJobNumber | MATH_NUMERIC | JOBS | I | 99999999 | |
szErrorMessageId[11] | JCHAR | DTAI | |||
cCostObjectSetupMethod | JCHAR | CO02 | I | A - AAI Number method (F1690.CO02) | |
szPriceAdjustmentType[9] | JCHAR | AST | |||
szCompany[6] | JCHAR | CO02 | I | 00001 | |
szOrderType[3] | JCHAR | DCTO | I | SO | |
szObjectAccount[7] | JCHAR | OBJ | I | 6020, RetrieveF4095Cache.szObjectAccounts | |
mnAaiTableNumber | MATH_NUMERIC | ANUM | I | 4220 | |
szItemNumber[7] | JCHAR | ITEM | |||
cRecordTypeCCSUBSBLFlexFO | JCHAR | @RT | I | F4096.@RT | |
cSubledgerType | JCHAR | SBLT | I | F4096.SBLT | |
szDataItem[11] | JCHAR | SFIT | I | F4096.SFIT (Data Item) * Column Name | |
cDataType | JCHAR | SFDT | I | (Optional) | |
cManagerialAnalysisType1 | JCHAR | ABT1 | I | (Optional) | |
szFileName[11] | JCHAR | FILE | I | F4096.FILE (File Name) * Table Name | |
idCacheCursor | ID | GENLNG | I/O | (3rd) returns idCacheCursor | |
mnElementNumber | MATH_NUMERIC | EL | I/O | 0 | |
cNoRowsExist | JCHAR | EV01 | |||
mnTransactionID | MATH_NUMERIC | TCID | I | 0 | |
szComputerID[16] | JCHAR | CTID |
Entering jdeCacheInit Name:[B4000341119794]
Found existing cache, total references:[8]
hCache:[0A4A2038] Nm:[0B4000341119794] Recs:2 Curs:0 Hnds:8 Cchs:14 INIT exist
Entering jdeCacheOpenCursor (Called by: b4000341.c line 495)
Open Cursor Success hCursor:[09310268] hCache:[0A4A2038]
hCache:[0A4A2038] Nm:[0B4000341119794] Recs:2 Curs:1 Hnds:8 Cchs:14 CURS open
Entering jdeCacheFetchPosition hCursor:[09310268]
Entering jdeCacheCloseCursor hCursor:[09310268] hCache:[0A4A2038]
hCache:[0A4A2038] Nm:[0B4000341119794] Recs:2 Curs:0 Hnds:8 Cchs:14 CURS close
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
cSuppressErrorMessage | JCHAR | SUPPS | I | 1 - Suppress Error Message (Hard Coded). So though this routine ends in error this does not affect calling routine | |
szErrorMessageID[11] | JCHAR | DTAI | Refer Error Codes below | ||
cAction | JCHAR | EV01 | I | 1 - Retrieve Record Available cAction, 1 - Retrieve Record 2 - Add new record 3 - Update record 4 - Delete record 8 - Terminate Cache others - Invalid action (Error) |
|
mnJobNumber | MATH_NUMERIC | JOBS | I | 99999999, based on JobNumber it creates unique transaction cache 'B4201150 + JobNumber' | |
mnSoldTo | MATH_NUMERIC | AN8 | I/O | F4211.AN8 | |
mnShipTo | MATH_NUMERIC | SHAN | I/O | F4211.SHAN | |
mnAddressNumberParent | MATH_NUMERIC | PA8 | I/O | F4211.PA8 | |
mnItem | MATH_NUMERIC | ITM | I/O | F4211.ITM | |
szSO_RevenueBranch[13] | JCHAR | MCU | I/O | F4211.EMCU | |
mnSO_Number | MATH_NUMERIC | DOCO | I/O | F4211.DOCO | |
szSO_Type[3] | JCHAR | DCTO | I/O | F4211.DCTO | |
szCO_Company[6] | JCHAR | KCOO | I/O | F4211.KCOO | |
mnSO_LineNumber | MATH_NUMERIC | LNID | I/O | F4211.LNID | |
szSalesCategoryCode1[4] | JCHAR | SRP1 | I/O | F4211.SRP1 | |
szSalesCategoryCode2[4] | JCHAR | SRP2 | I/O | F4211.SRP2 | |
szSalesCategoryCode3[4] | JCHAR | SRP3 | I/O | F4211.SRP3 | |
szSalesCategoryCode4[4] | JCHAR | SRP4 | I/O | F4211.SRP4 | |
szSalesCategoryCode5[4] | JCHAR | SRP5 | I/O | F4211.SRP5 | |
mnDocumentNumber | MATH_NUMERIC | DOC | I/O | F4211.DOC | |
mnSO_Saleman1 | MATH_NUMERIC | SLSM | I/O | (No Implementation) | |
mnSO_Saleman2 | MATH_NUMERIC | SLM2 | I/O | (No Implemenation) | |
szBusinessUnitHeader[13] | JCHAR | EMCU | I/O | F4201.MCU | |
szPromotionID[13] | JCHAR | PMTN | I/O | F4211.PMTN | |
mnProjectNumber | MATH_NUMERIC | PRJM | I/O | F4211.PRJM | |
szBusinessUnitDetail[13] | JCHAR | MCU | I/O | F4211.MCU | |
szCompanyDetail[6] | JCHAR | KCOO | I/O | F4211.KCOO | |
cR42800GLAcctBusUnit | JCHAR | EV03 | I/O | cMCUProcOptionToUse_EV04 If this is an interbranch order, use the header branch for the G/L Account in Flex Accounting so pass an I (capital i), otherwise, use the PO GL Account Business Unit value. If F4211.SO01 is 2 or 4 then cMCUProcOptionToUse_EV04 = 'I', Else cMCUProcOptionToUse_EV04 = PO cGLAcctBusinessUnit |
|
szSoldToBusinessUnit[13] | JCHAR | MCU | I/O | szSoldToBusUnit_MCU If the GL Account Business Unit processing option is equal t o 2, get the Sold To Business Unit and pass to the Flex Sales Accounting Cache. If PO cGLAcctBusinessUnit is equal to "2" then F0101.MCU where AN8 = F4211.AN8 |
Entering jdeCacheInit Name:[B4201150119794]
Found existing cache, total references:[2]
hCache:[0A4A14A8] Nm:[0B4201150119794] Recs:1 Curs:0 Hnds:2 Cchs:8 INIT exist
Entering jdeCacheOpenCursor (Called by: b4201150.c line 112)
Open Cursor Success hCursor:[09310010] hCache:[0A4A14A8]
hCache:[0A4A14A8] Nm:[0B4201150119794] Recs:1 Curs:1 Hnds:2 Cchs:8 CURS open
Entering jdeCacheFetchPosition hCursor:[09310010]
hCache:[0A4A14A8] Nm:[0B4201150119794] Recs:1 Curs:1 Hnds:2 Cchs:8 FTCH pos
Entering jdeCacheUpdate hCursor:[09310010]
hCache:[0A4A14A8] Nm:[0B4201150119794] Recs:1 Curs:1 Hnds:2 Cchs:8 UPD
Entering jdeCacheCloseCursor hCursor:[09310010] hCache:[0A4A14A8]
hCache:[0A4A14A8] Nm:[0B4201150119794] Recs:1 Curs:0 Hnds:2 Cchs:8 CURS close
Entering jdeCacheTerminate
hCache:[0A4A14A8] Nm:[0B4201150119794] Recs:1 Curs:0 Hnds:2 Cchs:8 TERM one
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
mnAddressBookNumber | MATH_NUMERIC | AN8 | I | 4245 | |
mnShortItemNumber | MATH_NUMERIC | ITM | I | 60011 | |
szBusinessUnit[13] | JCHAR | MCU | I | 30 | |
mnDocumentNumber | MATH_NUMERIC | DOCO | I | 2660 | |
szOrderType[3] | JCHAR | DCTO | I | SO | |
szCompany[6] | JCHAR | KCOO | I | 00001 | |
mnLineNumber | MATH_NUMERIC | LNID | I | 1.000 | |
szAdjustmentName[9] | JCHAR | AST | |||
szCostCenterAlt[13] | JCHAR | MMCU | |||
mnSequenceNoOperations | MATH_NUMERIC | OPSQ | |||
szTypeOperationCode[3] | JCHAR | OPSC | |||
szOrderSuffix[4] | JCHAR | SFXO | |||
mnUniqueKeyIDInternal | MATH_NUMERIC | UKID | |||
szFileName[11] | JCHAR | FILE | I | F03012 | |
szDataItem[11] | JCHAR | SFIT | I | AC10 | |
szWorkString[31] | JCHAR | VC30A | O | D30 | |
szSSCCNumberTareLevel[19] | JCHAR | PLT | |||
szSSCCNumberPackLevel[19] | JCHAR | PAK | |||
szSCCNumber[15] | JCHAR | SCCN | |||
szUPCNumber[14] | JCHAR | UPCN | |||
mnShipmentNumber | MATH_NUMERIC | SHPN | |||
mnRoutingStepNumber | MATH_NUMERIC | RSSN | |||
mnPaymentID | MATH_NUMERIC | PYID | |||
mnFileLineIdentifier50 | MATH_NUMERIC | RC5 | |||
mnPayrollTransactionNo | MATH_NUMERIC | PRTR | |||
mnUniqueKeyID01 | MATH_NUMERIC | UK01 | |||
szPromotionID[13] | JCHAR | PMTN | |||
szPromotionDealID[13] | JCHAR | DIDP | |||
szCompanyKey[6] | JCHAR | KCO | |||
szDocumentType[3] | JCHAR | DCT | |||
mnDocVoucherInvoiceE | MATH_NUMERIC | DOC | |||
jdDateForGLandVoucherJULIA | JDEDATE | DGJ | |||
mnJournalEntryLineNo | MATH_NUMERIC | JELN | |||
szLineExtensionCode[3] | JCHAR | EXTL | |||
szLedgerType[3] | JCHAR | LT | |||
szDocumentPayItem[4] | JCHAR | SFXE | |||
mnPayItemExtensionNumber | MATH_NUMERIC | SFX | |||
szErrorID[11] | JCHAR | DTAI | |||
cSuppressErrorMessage | JCHAR | EV01 | |||
cParentChildRelationshi | JCHAR | PART | |||
szCostType[4] | JCHAR | COST |
iFileNumber | szFileName | Routine |
---|---|---|
1 | F0006 | JDB_FetchKeyed () against F0006 based on input value F0006.mcmcu = szBusinessUnit Index: ID_F0006_COST_CENTER |
2 | F0101 | Get Address Book Master (F0101) Data based on input F0101.aban8 = mnAddressBookNumber Index: ID_F0101_ADDRESS |
3 | F03B11 | Fetch F03B11 using order number, order type, order company, order suffix. F03B11.rpdoc = mnDocVoucherInvoiceE F03B11.rpdct = szDocumentType F03B11.rpkco = szCompanyKey F03B11.rpsfx = szDocumentPayItem Index: ID_F03B11_DOC_NUMBER__DOC_TYPE___A |
4 | F0411 | Fetch F0411 based on F0411.rpdoc = mnDocVoucherInvoiceE F0411.rpdct = szDocumentType F0411.rpkco = szCompanyKey F0411.rpsfx = szDocumentPayItem F0411.rpsfxe = mnPayItemExtensionNumber Index: ID_F0411_DOCUMENT__TYPE____A |
5 | F30006 | Fetch F30006 using cost center F30006.iwmcu = szBusinessUnit Index: ID_F30006_BRANCH__BUSINESSUNIT |
6 | F3009 | Fetch F3009 using branch F3009K.mmcu = szCostCenterAlt ID_F3009_BRANCH |
7 | F3111 | Fetch F3111 using unique id F3111.wmukid = mnUniqueKeyIDInternal ID_F3111_UNIQUEKEYID |
8 | F3112 | Fetch F3112 using order number, Sequence No Operations, Type operation code and business unit. F3112.wldoco = mnDocumentNumber F3112.wlopsq = mnSequenceNoOperations F3112.wlopsc = szTypeOperationCode F3112.wlmcu = szCostCenterAlt ID_F3112_ORDERNO_OPERATIONSEQNO__A |
9 | F4071 | Fetch F4071 using price adjustment name F4071.atast = szAdjustmentName ID_F4071_ADJUSTMENT_NAME |
10 | F41001 | Fetch F41001 using system code and business unit F41001.cisy = " " F41001.cimcu = szBusinessUnit ID_F41001_SYSTEM_CODE__BUSINESS_UNIT |
11 | F4101 | Fetch F4101 using short item number F4101.imitm = mnShortItemNumber ID_F4101_ITEM_MASTER |
12 | F4102 | Fetch F4102 using short item number and business unit F4102.ibmcu = szBusinessUnit F4102.ibitm = mnShortItemNumber ID_F4102_BRANCH__ITEM |
13 | Fetch F4211 using order number, order type, order company, line number F4211.sddoco = mnDocumentNumber F4211.sddcto = szOrderType F4211.sdkcoo = szCompany F4211.sdlnid = mnLineNumber ID_F4211_ORDER_NUMBER__ORDER_TYPE___A |
|
14 | Fetch F4311 using order number, order type, order company, order suffix and line number F4311.pddoco = mnDocumentNumber F4311.pddcto = szOrderType F4311.pdkcoo = szCompany F4311.pdsfxo = szOrderSuffix F4311.pdlnid = mnLineNumber ID_F4311_DOC_NO__ORDER_TYPE____1 |
|
15 | Fetch F4801 using document number F4801.wadoco = mnDocumentNumber ID_F4801_DOCUMENT_NUMBER |
|
16 | Fetch F4216 using order number, order type, order company, line number, SSCC Number - Tare Level, SSCC Number - PAK Level, SCC Number, UPC Number F4216.xddoco = mnDocumentNumber F4216.xddcto = szOrderType F4216.xdkcoo = szCompany F4216.xdlnid = mnLineNumber F4216.xdplt = szSSCCNumberTareLevel F4216.xdpak = szSSCCNumberPackLevel F4216.xdsccn = szSCCNumber F4216.xdupcn = szUPCNumber ID_F4216_DOC___ORDER_TYPE |
|
17 | Fetch F4215 using Shipment Number F4215.xhshpn = mnShipmentNumber ID_F4215_SHIPMENTNUMBER |
|
18 | Fetch F4941 using Shipment Number and Routing Step Number F4941.rsshpn = mnShipmentNumber F4941.rsrssn = mnRoutingStepNumber ID_F4941_SHIPMENT_NUMBER_ROUTING_STEP |
|
19 | Fetch F4942 using Shipment Number,Routing Step Number, Document,Document Type,Company, and Line ID F4942.isshpn = mnShipmentNumber F4942.isrssn = mnRoutingStepNumber F4942.isdoco = mnDocumentNumber F4942.isdcto = szOrderType, F4942.iskcoo = szCompany F4942.islnid = mnLineNumber ID_F4942_SHIPMENTNUMBER |
|
20 | F0413 | @No Implementation |
21 | Fetch F0414 using Payment ID F0414.rnpyid = mnPaymentID F0414.rnrc5 = mnFileLineIdentifier50 ID_F0414_PAYMENT_ID__LINE |
|
22 | Fetch F03B13 using Payment ID F03B13.rypyid = mnPaymentID ID_F03B13_PAYMENT_ID |
|
23 | Fetch F03B14 using Payment ID F03B14.rzpyid = mnPaymentID F03B14.rzrc5 = mnFileLineIdentifier50 ID_F03B14_PAYMENT_ID__FILE_LINE_ID |
|
24 | Fetch F42119 using order number, order type, order company, line number F42119.sddoco = mnDocumentNumber F42119.sddcto = szOrderType F42119.sdkcoo = szCompany F42119.sdlnid = mnLineNumber ID_F42119_ORDER_NUM__ORDER_TYPE |
|
25 | Fetch F4111 using unique key ID F4111.ilukid = mnUniqueKeyIDInternal ID_F4111_UNIQUE_KEY_ID |
|
26 | Fetch F0401 using Supplier Number F0401.a6an8 = mnAddressBookNumber ID_F0401_ADDRESS |
|
27 | Fetch F03012 using Address Number and Company F03012.aian8 = mnAddressBookNumber F03012.aico = szCompany ID_F03012_ADDRESS_COMPANY |
|
28 | Fetch F0618 using Address Number and Payroll Transaction Number F0618.ytan8 = mnAddressBookNumber ID_F0618_ADDRESS_NUMBER__DATE_WORKED |
|
29 | Fetch F4981 using Address Number and Payroll Transaction Number F4981.fhuk01 = mnUniqueKeyID01 ID_F4981_UNIQUE_KEY |
|
30 | Fetch F4801T using Address Number and Payroll Transaction Number F4801T.wadoco = mnDocumentNumber ID_F4801T_ORDER_NUMBER |
|
31 | Fetch F31122 using unique key ID F31122.wtukid = mnUniqueKeyIDInternal ID_F31122_UNIQUE_KEY_ID |
|
32 | Fetch F40P01 using Promotion ID F40P01.phpmtn = szPromotionID ID_F40P01_PROMOTIONID |
|
33 | Fetch F40P011 using Promotion ID and Promotion Deal ID F40P011.pdpmtn = szPromotionID F40P011.pddidp = szPromotionDealID ID_F40P011__PROMOTID__DEALID |
|
34 | Fetch F0911 using DCT, DOC,KCO, DGJ, JELN, LT, EXTL F0911.gldct = szDocumentType F0911.gldoc = mnDocVoucherInvoiceE F0911.glkco = szCompanyKey F0911.gldgj = jdDateForGLandVoucherJULIA F0911.gljeln = mnJournalEntryLineNo F0911.gllt = szLedgerType F0911.glextl = szLineExtensionCode ID_F0911_DOC_TYPE__NUMBER |
|
35 | Fetch F43199 using doco, dcto, kcoo, sfxo, lnid F43199.oldoco = mnDocumentNumber F43199.oldcto = szOrderType F43199.olkcoo = szCompany F43199.olsfxo = szOrderSuffix F43199.ollnid = mnLineNumber ID_F43199_ORDERNUM__ORDERTYPE__A |
|
36 | Fetch F4620 using unique id F4620.cdukid = mnUniqueKeyIDInternal ID_F4620_UNIQUEKEY |
|
37 | Fetch F3102 using doco, itm, cost, part ,mcu F3102.igdoco = mnDocumentNumber F3102.igitm = mnShortItemNumber F3102.igpart = cParentChildRelationshi F3102.igcost = szCostType F3102.igmcu = szCostCenterAlt ID_F3102_ORDERNUMBER__WORKCENTER |
|
38 | Fetch F42160 using order number, order type, order company, line number F42160.sddoco = mnDocumentNumber F42160.sddcto = szOrderType F42160.sdkcoo = szCompany F42160.sdlnid = mnLineNumber ID_F42160_ORDER_NUMBER__ORDER_TYPE__A |
|
39 | Fetch FF31011 using unique id FF31011.ehukid = mnUniqueKeyIDInternal ID_FF31011_UNIQUEKEYID |
|
40 | Fetch FF31111 using unique id FF31111.plukid = mnUniqueKeyIDInternal ID_FF31111_UKID |
|
41 | Fetch FF31112 using unique id FF31112.ehukid = mnUniqueKeyIDInternal ID_FF31112_PRIMARY |
|
42 | Fetch F49211 using order number, order type, order company, line number F49211.uddoco = mnDocumentNumber F49211.uddcto = szOrderType F49211.udkcoo = szCompany F49211.udlnid = mnLineNumber ID_F49211_ORDER_NO__ORDER_TYPE___A |
|
default | other table | Set Error 070X |
iDataType | Description | API to copy |
---|---|---|
1 | Character Value | jdeStrncpy((JCHAR *)szValue, (const JCHAR *)szTempCharValue, iValueSize - 1); |
2, 20 | String Value | jdeStrncpy((JCHAR *)szValue, (const JCHAR *)szTemporaryValue, iValueSize - 1); |
9 | Math Numeric Value | FormatMathNumeric((PJSTR)szValue, (LPMATH_NUMERIC)&mnValue) to convert math numeric value to string |
11 | JDEDATE | FormatDate(szValue, &jdValue, szFormatMask); to convert JDEDATE to string |
15 | Integer Value | 1. Convert integer to math numeric IntToMathNumeric(iValue, &mnTempValue); 2. and math numeric to string FormatMathNumeric(szValue, &mnTempValue); |
7 | ID | 1. Convert ID (a long integer) to math numeric LongToMathNumeric(idValue, &mnTempValue); 2. and math numeric to string FormatMathNumeric(szValue, &mnTempValue); |
Parameter Name | Data Type | Data Alias | Req | I/O | Example/Notes |
---|---|---|---|---|---|
szCacheActionCode[9] | JCHAR | CATN | I | This input parameter determines how to handle cache. Possible values are,
|
|
mnNumberOfKeys | MATH_NUMERIC | NKEYS | |||
cSuppressErrorMessage | JCHAR | EV01 | |||
szErrorMessageID[11] | JCHAR | DTAI | |||
cRecordNotFoundFlag | JCHAR | EV01 | |||
idCacheCursor | ID | GENLNG | |||
mnJobNumber | MATH_NUMERIC | JOBS | I | Since all the caches are created based on Job Number this is key to delete cache | |
mnAAITableNumber | MATH_NUMERIC | ANUM | |||
szCompany[6] | JCHAR | CO | |||
szDocumentType[3] | JCHAR | DCT | |||
szGLCategory[5] | JCHAR | GLPT | |||
szCostType[4] | JCHAR | COST | |||
szBranchPlant[13] | JCHAR | MCU | |||
szOrderType[3] | JCHAR | DCTO | |||
szObjectAccount[7] | JCHAR | OBJ | |||
szSubsidiary[9] | JCHAR | SUB | |||
szCostCenterAlt[13] | JCHAR | MMCU | |||
szAccountNumber[30] | JCHAR | ANI | |||
szAccountUnitOfMeasure[3] | JCHAR | UM | |||
szProjectBusinessUnit[13] | JCHAR | MCU | |||
szProjectSubsidiary[9] | JCHAR | SUB | |||
szAccountId[9] | JCHAR | AID | |||
szAAIErrorMessage[11] | JCHAR | DTAI |