BILLING REQUIREMENT INCLUDES MAPPING PROJ_MAP_FL = Y PRORATION

ACRN Only with Mapping and PROJ_MAP_FL = Y.

ACRN/Line Item with Mapping and PROJ_MAP_FL = Y.

Since the PROJ_MAP_FL = Y, all calculations are performed at the transaction level (TRN_PROJ_ID).

A contract is awarded with the following Accounting Classification data:

Line Item

Subline Item

ACRN

Accounting Appropriation Number

Funding Amt

0001

0001AA

AA

5793400309475A110704040004081572806F503000 F03000

7,000.00

0001

0001AB

AA

5793400309475A110704040004081572806F503000 F03000

11,000.00

0002

0002AA

AB

8893400309475A110704040004081572806F336000 F07700

12,000.00

0002

0002AB

AB

8893400309475A110704040004081572806F336000 F07700

14,000.00

0003

0003AA

AA

5793400309475A110704040004081572806F503000 F03000

20,000.00

0003

0003AB

AB

8893400309475A110704040004081572806F336000 F07700

15,000.00

0004

0004AA

AC

7765658810475A110704040004081572806F336000 C15500

80,000.00

0005

0005AA

AD

4582265450475A110704040004081572806F336000 K17700

25,000.00

 

Project Setup Data:

Project Number:  USN0418

Billing Level:      USN0418

Set up the ACRN data as follows on the Manage ACRN Bills screen. Some accounts and PLCs are mapped.

ACRN Sequence Number

Active?

ACRN

Line Item

Project Level  At and Below

Include Schedule Bill

ACRN

Funded Value

Previous ACRN Allocation Amounts

Current ACRN Allocation Amount

Remaining ACRN Funded Value

1

Y

AA

0001AA

USN0418.01.01

 

7,000.00

0.00

0.00

7,000.00

2

Y

AA

0001AB

USN0418.01.01

 

11,000.00

0.00

0.00

11,000.00

3

Y

AA

0003AA

USN0418.01.02

 

12,000.00

0.00

0.00

12,000.00

4

Y

AB

0002AA

USN0418.02.01

 

20,000.00

0.00

0.00

20,000.00

5

Y

AB

0002AB

USN0418.02.01

 

14,000.00

0.00

0.00

14,000.00

6

Y

AB

0003AB

USN0418.02.02

 

15,000.00

0.00

0.00

15,000.00

7

Y

AC

0004AA

USN0418.03

Y

80,000.00

0.00

0.00

80,000.00

8

Y

AD

0005AA

USN0418.04

 

25,000.00

0.00

0.00

25,000.00

 

Furthermore, the ACRN Funding is based upon specific resources. The specific resources can be associated with direct accounts or PLCs. The ACRN, Resource, Account, and PLC breakdown are defined as follows:

ACRN

Line Item

Resource

Accounts

PLC Mapping

AA

0001AA

Labor

 

EN

AA

0001AB

Labor

 

EN

AA

0003AA

Labor

 

AD

AB

0002AA

ODCs

05030

 

AB

0002AB

ODCs

05030

 

AB

0003AB

ODCs

05030

 

AC

0004AA

Maintenance Contract

01200-010

 

AD

0005AA

All Costs

(no mapping)

(no mapping)

 

Set up the account data as follows on the Accounts subtask of the Manage ACRN Bills screen.

PROJ_ACRN_ACCT

ACRN

Line Item

Project Level At and Below

Starting Account

Ending Account

AB

0002AA

USN0418.02.01

05020

05030

AB

0002AB

USN0418.02.01

05020

05030

AB

0003AB

USN0418.02.02

05040

05090

AC

0004AA

USN0418.03

01200-010

01200-010

 

Set up the PLC (Project Labor Category) data as follows on the PLC Mapping subtask of the Manage ACRN Bills screen.

PROJ_ACRN_PLC

ACRN

Line Item

Project Level  At and Below

PLC

Description

AA

0001AA

USN0418.01.01

EN

Engineer

AA

0001AB

USN0418.01.01

EN

Engineer

AA

0003AA

USN0418.01.02

AD

Admin Support

 

A Standard Bill (calculated by the Calculate Standard Bills screen) produces the following invoice amounts for Project USN0418 (SUM(MU_INVC_AMT) in BILL_EDIT_INVC_HDR):

USN0418:  82,077.50

Calculation Logic

For the ACRN/Line Item with Mapping methodology with PROJ_MAP_FL = Y, the TRANSACTION LEVEL project number is used for the calculation. Account and PLC mapping may occur.  When mapping occurs, BILL_EDIT_DETL must be used to calculate the allocation amounts in addition to the new fields added to BILL_EDIT_DETL (WAWF_CST_CEIL_AMT, WAWF_FEE_CEIL_AMT, WAWF_TOT_CEIL_AMT, WAWF_RTNGE_AMT) for any over ceiling and retainage amounts. Schedule Bill amounts (S_TRN_TYPE = SCH), if any, must be allocated to the line where the PROJ_ACRN_DETL.APPLY_RESIDUAL_FL = Y. BILL_EDIT_INVC_HDR is used to determine whether a calculation occurs.

Check PROJ_BILL_ACRN to see if data exists for the project(s).  

Project data exists for Project USN0418. Continue calculation.

Verify the Billing Requirement: PROJ_BILL_ACRN.ACRN_BASIS_CD = AL; ACRN/Line Item with Mapping.

Verify the PROJ_MAP_FL value: PROJ_BILL_ACRN.PROJ_MAP_FL = Y.

Check the ACTIVE_FL in PROJ_BILL_ACRN for the project.  If the PROJ_BILL_ACRN.ACTIVE_FL = Y, continue calculation. If the PROJ_BILL_ACRN.ACTIVE_FL = N, end calculation for this Project and check for existence of next project, if any.

The ACTIVE_FL = Y for Project USN0418. Continue calculation.

Check BILL_EDIT_INVC_HDR to verify the Status of the invoice. If the Status is Selected, Reverse, or Void (BILL_EDIT_INVC_HDR.S_BILL_STATUS_CD IN (S, R, V)), store SUM(MU_INVC_AMT) and continue calculation. If the Status is Unselected (BILL_EDIT_INVC_HDR.S_BILL_STATUS_CD = U), end calculation.

The Status of Project USN0418 is Selected. BILL_EDIT_INVC_HDR.S_BILL_STATUS_CD = S. Continue calculation.

Summarize the billable amounts from BILL_EDIT_DETL based upon the TRN_PROJ_ID, ACCT_ID, and Billable Amount.

Billable Amount = SUM(MU_BILL_AMT + MU_SALES_TAX_AMT + MU_RTNGE_AMT + MU_OVRFEE_CL_AMT + MU_OVRTOT_CL_AMT + MU_OVRCST_CL_AMT - MU_DISC_AMT)

If the Billable Amount is 0.00 for each account (where the ACCT_ID is NOT NULL), end calculation. If the Billable Amount does not equal 0.00 for any account, continue calculation. Even if the sum of all the accounts is 0.00, continue the calculation in case costs are moved from one account to another, thus possibly affecting the ACRN balances.

Invoice #1 produces the following billable amounts:

Table 1 Billable Amount Calculation

ACCT_ID

Billable Amount (1) BILL_EDIT_DETL

05000-010

17,500.00

05000-020

19,250.00

05030

30,000.00

05040

5,000.00

01200-010

10,750.00

NULL

422.50

 

(1)  Billable Amount = SUM(MU_BILL_AMT + MU_SALES_TAX_AMT + MU_RTNGE_AMT + MU_OVRFEE_CL_AMT

             + MU_OVRTOT_CL_AMT + MU_OVRCST_CL_AMT – MU_DISC_AMT)

Billable amount does not equal 0.00 for all accounts; calculation continues.

Check for Retainage and Over Ceiling amounts in BILL_EDIT_DETL (S_TRN_TYPE in (OT, OF, OC, R)). These transactions are stored in BILL_EDIT_DETL without an ACCT_ID so the user cannot map retainage or over ceiling amounts via the Accounts subtask of the Manage ACRN Bills screen. New fields have been added to BILL_EDIT_DETL to redistribute these amounts to a transaction project, account, CLIN, PLC level.  

Sum and group the Billable Amount (formula above) by S_TRN_TYPE (OT, OF, OC, R) by INVC_PROJ_ID. If any row produces an amount not equal to 0.00, then new BILL_EDIT_DETL fields (WAWF_XXXX) are used. If no rows are returned, or if billable amount for all rows is 0.00, the source of the allocation amounts is the billable amount from BILL_EDIT_DETL.

The calculation produces the following amounts by INVC_PROJ_ID, S_TRN_TYPE.

Table 2 Retainage and Over Ceiling Amounts

S_TRAN_TYPE

Billable Amount (1) BILL_EDIT_DETL

OT

55.00

R

367.50

(1)  Billable Amount = SUM(MU_BILL_AMT + MU_SALES_TAX_AMT + MU_RTNGE_AMT + MU_OVRFEE_CL_AMT

             + MU_OVRTOT_CL_AMT + MU_OVRCST_CL_AMT – MU_DISC_AMT)

 

This produces amounts not equal to 0.00, so the new BILL_EDIT_DETL fields are used to determine the allocation amounts by account. The BILL_EDIT_DETL table displays the following amounts:

 

Table 3 BILL_EDIT_DETL

INVC_PROJ_ID

TRN_PROJ_ID

ACCT_ID

ITEM

BILL_LAB_CAT_CD

WAWF_TOT_CEIL_AMT

WAWF_RTNGE_AMT

USN0418

USN0418.01.01

05000-010

 

EN

0.00

140.00

USN0418

USN0418.01.02

05000-020

 

AD

0.00

180.00

USN0418

USN0418.02.01

05030

 

 

45.83

0.00

USN0418

USN0418.02.02

05040

 

 

9.17

0.00

USN0418

USN0418

01200-010

 

 

0.00

0.00

USN0418

USN0418.04.01

05000-010

 

AD

0.00

35.00

USN0418

USN0418.04.02

05000-010

 

EN

0.00

12.50

USN0418

USN0418.04.03

05030

 

 

0.00

0.00

 

The Retainage and Over Ceiling amounts from the BILL_EDIT_DETL table must be deducted from the original Billing Amounts from BILL_EDIT_DETL grouped by TRN_PROJ_ID/ACCT_ID/ITEM_ID/BILL_LAB_CAT_CD.

 

Table 4 Adjusted Billable Amount Calculation

INVC_PROJ_ID

TRN_PROJ_ID

ACCT_ID

ITEM_ID

BILL_LAB_CAT_CD

Billable Amount

 BILL_EDIT_DETL

(A)

Over Ceiling Allocation Amount

(B)

Retainage Allocation Amount

(C)

Adjusted Billable Amount

(A, B, C)

USN0418

USN0418.01.01

05000-010

 

EN

14,000.00

0.00

140.00

13,860.00

USN0418

USN0418.01.02

05000-020

 

AD

18,000.00

0.00

180.00

17,820.00

USN0418

USN0418.02.01

05030

 

 

25,000.00

45.83

0.00

24,954.17

USN0418

USN0418.02.02

05040

 

 

5,000.00

9.17

0.00

4,990.83

USN0418

USN0418

01200-010

 

 

10,750.00

0.00

0.00

10,750.00

USN0418

USN0418.04.01

05000-010

 

AD

3,500.00

0.00

35.00

3,465.00

USN0418

USN0418.04.02

05000-010

 

EN

1,250.00

0.00

12.50

1,237.50

USN0418

USN0418.04.03

05030

 

 

5,000.00

0.00

 

5,000.00

 

(A) SELECT ACCT_ID, SUM(MU_BILL_AMT + MU_SALES_TAX_AMT - MU_DISC_AMT) FROM BILL_EDIT_DETL WHERE INVC_PROJ_ID = USN0418 AND ACCT_ID IS NOT NULL GROUP BY ACCT_ID;

(B) Redistributed amount from Table 3.

(C) Redistributed amount from Table 3.

The billable amounts have been calculated by account, item, project labor category combination.  

Next, verify the Calculation Method.

Using the Proration Methodology

Requirement:  the payment office makes payment from each ACRN within the contract in the same proportion as the amount of funding currently unliquidated for each ACRN.  

Unliquidated is defined as the Remaining ACRN Funded Value.

The mathematical equation to determine the Proration amounts is:

           Individual Remaining ACRN/Line Item Funded Value (each ACRN/Line Item)

              Total of ALL Remaining ACRN/Line Item Funded Values

Determine which transaction projects, accounts or PLCs, if any, share multiple ACRN/Line Items.  For example, Project Level At And BelowUSN0418.01.01 and Project Labor Category EN are linked to ACRN AA/0001AA and ACRN AA/0001AB.  A table must be created to hold the shared Transaction Projects/Account/PLC/ACRN/Line Item mappings.

Table A  Transaction Project/Account/PLC/ACRN Line Item Mapping

Project Level  At and Below TRN_PROJ_ID

ACCT_ID

BILL_LAB_CAT_CD

Shared ACRN/Line Item

USN0418.01.01

 

EN

AA/0001AA

AA/0001AB

USN0418.01.02

 

AD

AA/0003AA

USN0418.02.01

05030

 

AB/0002AA

AB/0002AB

USN0418.02.02

05040

 

AB/0003AB

USN0418.03

01200-010

 

AC/0004AA

USN0418.04

*

*

AD/0005AA

* All accounts for TRN_PROJ_ID USN0418.04% are used.

Calculate the Remaining ACRN Funded Value for each individual ACRN/Line Item along with the Total Remaining ACRN Funded Value (grouped by Transaction Project/Account/PLC). If the individual ACRN/Line Item Remaining ACRN Funded Value (PROJ_ACRN_DETL.ACRN_FUNDED_AMT – PROJ_ACRN_DETL.ACRN_BILLED_AMT) is less than or equal to 0.00, do not include that specific ACRN Funded Value in the calculation as part of the numerator or denominator. If the PROJ_ACRN_DETL.ACTIVE_FL = N, do not include that specific ACRN Funded Value in the calculation.

 

Table B Transaction Project/Account/PLC/ACRN Line Item Mapping with Remaining ACRN Funded Values

TRN_PROJ_ID

ACCT_ID

BILL_LAB_CAT_CD

Shared ACRN/Line Item

Active?

Individual Remaining ACRN/Line Item Funded Value

Total Remaining ACRN Funded Value Grouped by Transaction Project/Account/PLC

USN0418.01.01

 

EN

AA/0001AA

AA/0001AB

Y

Y

7,000.00

11,000.00

18,000.00

USN0418.01.02

 

AD

AA/0003AA

Y

20,000.00

20,000.00

USN0418.02.01

05030

 

AB/0002AA

AB/0002AB

Y

Y

12,000.00

14,000.00

26,000.00

USN0418.02.02

05030

 

AB/0003AB

Y

15,000.00

15,000.00

USN0418.03

01200-010

 

AC/0004AA

Y

80,000.00

80,000.00

USN0418.04

*

*

AD/0005AA

Y

25,000.00

25,000.00

* All accounts for TRN_PROJ_ID USN0418.04% are used.

Continue with ACRN Proration calculation.

The ACRN Proration is based upon the Individual Remaining ACRN/Line Item Funded Value to the Total Remaining ACRN/Line Item Funded Value Grouped by Transaction Project/Account/PLC for active ACRNs.

 

Table C Proration Basis for Active ACRN/Line Items

ACRN/Line Item

Related ACRN/Line Item

Individual Remaining ACRN/Line Funded Value

Total Remaining ACRN Funded Value Grouped by Account

ACRN Proration

AA/0001AA

AA/0001AB

7,000.00

18,000.00

(7,000.00 / 18,000.00)

AA/0001AB

AA/0001AA

11,000.00

18,000.00

(11,000.00 / 18,000.00)

AA/0003AA

 

20,000.00

20,000.00

(20,000.00 / 20,000.00)

AB/0002AA

AB/0002AB

12,000.00

26,000.00

(12,000.00 / 26,000.00)

AB/0002AB

AB/0002AA

14,000.00

26,000.00

(14,000.00 / 26,000.00)

AB/0003AB

 

15,000.00

15,000.00

(15,000.00 / 15,000.00)

AC/0004AA

 

80,000.00

80,000.00

(80,000.00 / 80,000.00)

AD/0005AA

 

25,000.00

25,000.00

(25,000.00 / 25,000.00)

 

Summarize the Adjusted Billable Amounts (Table 4) based upon the associated ACRN/Line Items.

 

Table D Adjusted Billable Amounts based upon Transaction Project/Account/PLC/ACRN Line Item Mappings

TRN_PROJ_ID

ACCT_ID

BILL_LAB_CAT_CD

Associated ACRN/ Line Items  (1)

Adjusted Billable Amount (2)

Total Adjusted Billable Amount Grouped by Transaction Project/Account/PLC (2)

USN0418.01.01

 

EN

AA/0001AA

AA/0001AB

13,860.00

13,860.00

USN0418.01.02

 

AD

AA/0003AA

17,820.00

17,820.00

USN0418.02.01

05030

 

AB/0002AA

AB/0002AB

24,954.17

24,954.17

USN0418.02.02

05040

 

AB/0003AB

4,990.83

4,990.83

USN0418.03

 

 

AC/0004AA

0.00

0.00

USN0418.04

05000-010

05000-020

05030

 

AD/0005AA

3,465.00

1,237.50

5,000.00

 

 

9,702.50

(1) Associated ACRNs/Line Items are derived from Table A.

(2) Adjusted Billable Amounts are derived from Table 4.

Next, go to PROJ_ACRN_DETL to locate where the Schedule Bill Amount, if any, should be allocated.  

Select ACRN_ID||ACRN_LN_ITEM from PROJ_ACRN_DETL where INVC_PROJ_ID = USN0418 and APPLY_RESIDUAL_FL = Y;

 

ACRN_ID||ACRN_LN_ITEM

AC||0004AA

 

Next, go to BILL_EDIT_DETL to see if any rows exist for the INVC_PROJ_ID for S_TRN_TYPE = SCH with a MU_BILL_AMT <> 0.

The BILL_AMT from BILL_EDIT_DETL for S_TRN_TYPE = SCH produced an amount equal to $10.750.00

 

Table E Readjust Total Billable Amount to include Schedule Bill Amount, if any

TRN_PROJ_ID

ACCT_ID

BILL_LAB_CAT_CD

Associated ACRN/ Line Items  (1)

Adjusted Billable Amount (2)

Schedule Bill Amount (3)

Total Readjusted  Billable Amount Grouped by Transaction Project/Account/PLC (4)

USN0418.01.01

 

EN

AA/0001AA

AA/0001AB

13,860.00

 

13,860.00

USN0418.01.02

 

AD

AA/0003AA

17,820.00

 

17,820.00

USN0418.02.01

05030

 

AB/0002AA

AB/0002AB

24,954.17

 

24,954.17

USN0418.02.02

05040

 

AB/0003AB

4,990.83

 

4,990.83

USN0418.03

 

 

AC/0004AA

0.00

10,750.00

10,750.00

USN0418.04

05000-010

05000-020

05030

 

AD/0005AA

3,465.00

1,237.50

5,000.00

 

 

 

9,702.50

(1) Associated ACRNs are derived from Table A.

(2) Adjusted Billable Amounts are derived from Table 4 or Table D.

(3) Value from BILL_EDIT_DETL.

(4) Adjusted Billable Amount + Schedule Bill Amount.

Match the Total Readjusted Billable Amount by associated ACRN (Table E) to the ACRN Proration (Table C).

TRN_PROJ_ID

ACRN/Line Item

Readjusted Billable Amount (1)

Proration  (2)

Radio Computation

Allocation Amount

USN0418.01.01

AA/0001AA

13,860.00

(7,000.00 / 18,000.00)

13,860.00 * (7,000.00 / 18,000.00)

5,390.00

USN0418.01.01

AA/0001AB

13,860.00

(11,000.00 / 18,000.00)

13,860.00 * (11,000.00 / 18,000.00)

8,470.00

USN0418.01.02

AA/0003AA

17,820.00

(20,000.00 / 20,000.00)

17,820.00 *(20,000.00 / 20,000.00)

17,820.00

USN0418.02.01

AB/0002AA

24,954.17

(12,000.00 / 26,000.00)

24,954.17 * (12,000.00 / 26,000.00)

11,517.31

USN0418.02.01

AB/0002AB

24,954.17

(14,000.00 / 26,000.00)

24,954.17 * (14,000.00 / 26,000.00)

13,436.86

USN0418.02.02

AB/0003AB

4,990.83

(15,000.00 / 15,000.00)

4,990.83 * (15,000.00 / 15,000.00)

4,990.83

USN0418.03

AC/0004AA

10,750.00

(80,000.00 / 80,000.00)

10,750.00 * (80,000.00 / 80,000.00)

10,750.00

USN0418.04

AD/0005AA

9,702.50

(25,000.00 / 25,000.00)

9,702.50 * (25,000.00 / 25,000.00)

9,702.50

Total ACRN Allocation Amount

82,077.50

(1) Adjusted Billable Amount from Table E.

(2) Proration formula from Table C.

If any residual amounts result due to rounding (Total ACRN Allocation Amount not equal to Invoice Amount), apply the residual to the ACRN/Line Item linked to the smallest ACRN Sequence Number with a Remaining ACRN Funded Value > 0.00.

Summary of ACRN Allocation Amounts:

ACRN

Line Item

Allocation Amount

AA

0001AA

5,390.00

AA

0001AB

8,470.00

AA

0003AA

17,820.00

AB

0002AA

11,517.31

AB

0002AB

13,436.86

AB

0003AB

4,990.83

AC

0004AA

10,750.00

AD

0005AA

9,702.50

Total Allocation:

82,077.50

 

After completion of the calculation, the following amounts are updated in the PROJ_BILL_ACRN and PROJ_ACRN_DETL tables:

 

Table

Field

PROJ_BILL_ACRN Amount

PROJ_ACRN_DETL ACRN

PROJ_ACRN_DETL Line Item

PROJ_ACRN_DETL Amount

PROJ_BILL_ACRN

ACRN_INVC_AMT

82,077.50

 

 

 

PROJ_BILL_ACRN

ACRN_ALLOC_AMT

82,077.50

 

 

 

PROJ_ACRN_DETL

ACRN_CUR_ALLOC_AMT

 

AA

0001AA

5,390.00

 

AA

0001AB

8,470.00

 

AA

0003AA

17,820.00

 

AB

0002AA

11,517.31

 

AB

0002AB

13,436.86

 

AB

0003AB

4,990.83

 

AC

0004AA

10,750.00

 

AD

0005AA

9,702.50

PROJ_ACRN_DETL

ACRN_TOT_ALLOC_AMT

 

AA

0001AA

5,390.00

 

AA

0001AB

8,470.00

 

AA

0003AA

17,820.00

 

AB

0002AA

11,517.31

 

AB

0002AB

13,436.86

 

AB

0003AB

4,990.83

 

AC

0004AA

10,750.00

 

AD

0005AA

9,702.50

PROJ_ACRN_DETL

AVAIL_ACRN_AMT

 

AA

0001AA

1,610.00

 

AA

0001AB

2,530.00

 

AA

0003AA

2,180.00

 

AB

0002AA

482.69

 

AB

0002AB

563.14

 

AB

0003AB

10,009.17

 

AC

0004AA

69,250.00

 

AD

0005AA

15,297.50