Functional Description
Purpose
The purpose of this function is to update the Account Balances table for 52 Period Accounting
(F0902B).
Technical Specifications
Processing
1.Call Fiftytwo Period Accounting, Get Currency Code (N0900093), passing in the Company (ds-CO),
Object (ds-OBJ), Subsidiary (ds-SUB), Ledger Type (ds-LT), and Account and Transaction Currency Codes.
2.Assign the Account Balance keys: Account ID (ds-AID), Century (ds-CTRY), Fiscal Year (ds-FY),
Fiscal Quarter (ds-FQ), Ledger Type (ds-LT), Subledger (ds-SBL), Subledger Type (ds-SBLT), and
Currency Code (wf-CRCD).
3.If the Amount (ds-AA) is not equal to zero,
b.If the fetch is successful,
ii.Assign the Amount (ds-AA) to the Week-to-Date Amount (GBAWTD).
iii.Update the Account Balance record.
ii.Assign the Amount (ds-AA) to the Week-to-Date Amount (GBAWTD).
iii.Assign the Company, Business Unit, Object, and Subsidiary from the input data structure
(ds-CO, ds-MCU, ds-OBJ, ds-SUB), and the Denominated in Currency Code (CRCX) from its work field.
iv.Write a new Account Balance record.
field. Concatenate the Fiscal Date Patterns Century (X0903B-CTRY) and the Fiscal Year (X0903B-FY) to
obtain a returned date work field.
e.If the G/L Date is less than the returned date,
Fiscal Year keys; else, add one only to the Fiscal Year key.
ii.Perform a fetch on the Account Balance table with the adjusted keys.
iii.If the fetch is successful,
b)Add the Amount (ds-AA) to the Prior Year Net Postings Amount.
c)Update the Account Balance record.
from the Amount (ds-AA).
b)Assign the Company, Business Unit, Object, and Subsidiary from the input data structure
(ds-CO, ds-MCU, ds-OBJ, ds-SUB) , and the Denominated in Currency Code (CRCX) from its work
field.
c)Write a new Account Balance record.
Century keys; else, subtract one only from the Fiscal Year key.
b.Fetch the Account Balance record for the adjusted key.
c.If the fetch is successful,
ii.Assign the Units (ds-U) to the Week-to-Date Amount.
iii.Update the Account Balance record.
ii.Assign the Units (ds-U) to the Week-to-Date Amount.
iii.Assign the Company, Business Unit, Object, and Subsidiary from the input data structure
(ds-CO, ds-MCU, ds-OBJ, ds-SUB), and the Denominated in Currency Code (CRCX) from its work field.
iv.Write a new Account Balance record.
f.Concatenate the G/L Century (ds-CTRY) and the Fiscal Year (ds-FY) to obtain a G/L Date work
field. Concatenate the Fiscal Date Patterns Century (X0903B-CTRY) and the Fiscal Year (X0903B-FY) to
obtain a returned date work field.
g.If the G/L Date is less than the returned date,
Fiscal Year keys; else, add one only to the Fiscal Year key.
ii.Perform a fetch on the Account Balance table with the adjusted keys.
iii.If the fetch is successful,
Net Postings Amount.
b)Update the Account Balance record.
from the Units (ds-U).
b)Assign the Company, Business Unit, Object, and Subsidiary from the input data structure
(ds-CO, ds-MCU, ds-OBJ, ds-SUB), and the Denominated in Currency Code (CRCX) from its work
field.
c)Write a new Account Balance record.
^
D0900091 - F0902B Update Account Balances
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
jdDateForGLandVoucherJULIA | DGJ | JDEDATE | OPT | NONE |
A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you
| ||||
szAccountId | AID | char | OPT | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
mnCentury | CTRY | MATH_NUMERIC | OPT | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnFiscalYear1 | FY | MATH_NUMERIC | OPT | NONE |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
szFiscalQtrFutureUse | FQ | char | OPT | NONE |
A data field reserved for future use. | ||||
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
| ||||
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
| ||||
mnAmountField | AA | MATH_NUMERIC | OPT | NONE |
A number that identifies the amount that the system will add to the account balance of the associated account number. Enter credits with a
| ||||
szCostCenter | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szObjectAccount | OBJ | char | OPT | NONE |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szSubsidiary | SUB | char | OPT | NONE |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
mnUnits | U | MATH_NUMERIC | OPT | NONE |
The quantity of something that is identified by a unit of measure. For example, it can be the number of barrels, boxes, cubic yards, gallons,
| ||||
cGLPostCodeAlt002 | ALT2 | char | OPT | NONE |
The alternate G/L posting codes are used for transactional posting other than the normal G/L posting. Examples include service date
| ||||
cErrorCode | ERRC | char | OPT | NONE |
Returns 1 for error, 0 for success.
| ||||
szUserId | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
szWorkStationId | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
jdDateUpdated | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeLastUpdated | UPMT | MATH_NUMERIC | OPT | NONE |
The time that specifies when the program executed the last update to this record. | ||||
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
| ||||
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
| ||||
mnPeriodNumber | PN | MATH_NUMERIC | OPT | NONE |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
| ||||
mnF0008FiscalYear | FY | MATH_NUMERIC | OPT | NONE |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
mnF0008Century | CTRY | MATH_NUMERIC | OPT | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
szTransactionCurrencyCode | CRCD | char | OPT | NONE |
A code that identifies the currency of a transaction. | ||||
szCurrencyCodeDenom | CRCX | char | OPT | NONE |
A code that indicates the currency in which an amount is denominated. |
B9800100 Get Audit Information | ||||
X0903B F0008B Get Fiscal Year Period Number |
F0902B Account Balances - 52 Period Accounting |