Feeder Help
Posted: Thu Sep 05, 2013 2:21 pm
I have a 2 step process to record depreciation.
Step 1 ['Depreciation_','Plan'] = N: calcuates depreciation & it's fed.
Step 2 ['Depreciation Dollar','Plan'] -> the amount is pulled from step 1 & it is sent to a coa attribute(depreciation GL accounts). The amount is posted but it's not fed properly.
Any advice why my feeder statement is not correct. Thank you.
SKIPCHECK;
##Step 1##
['Depreciation_','Plan'] = N:
IF(dimix('year', !year) > dimix('year', '2014') & attrs('coa', !coa, 'DEPRECIATE') @= 'Y' & ['Dollar','Plan'] <> 0 & ['Depreciation Years','Plan','M0'] <> 0,
(['Dollar','Plan'] / ['Depreciation Years','Plan','M0'])/2,stet);
##Step 2##
['Depreciation Dollar','Plan'] = DB('CAP_INPUT',!campus,!loc,attrs('coa',!coa,'Contra_Depreciation'),!cap_line_items,!cap_type,'Plan',!year,!months,'Depreciation_');
feeders;
['Dollar','Plan'] => ['Depreciation_','Plan'];
['Depreciation_','Plan'] => ['Depreciation Dollar','Plan'];
Step 1 ['Depreciation_','Plan'] = N: calcuates depreciation & it's fed.
Step 2 ['Depreciation Dollar','Plan'] -> the amount is pulled from step 1 & it is sent to a coa attribute(depreciation GL accounts). The amount is posted but it's not fed properly.
Any advice why my feeder statement is not correct. Thank you.
SKIPCHECK;
##Step 1##
['Depreciation_','Plan'] = N:
IF(dimix('year', !year) > dimix('year', '2014') & attrs('coa', !coa, 'DEPRECIATE') @= 'Y' & ['Dollar','Plan'] <> 0 & ['Depreciation Years','Plan','M0'] <> 0,
(['Dollar','Plan'] / ['Depreciation Years','Plan','M0'])/2,stet);
##Step 2##
['Depreciation Dollar','Plan'] = DB('CAP_INPUT',!campus,!loc,attrs('coa',!coa,'Contra_Depreciation'),!cap_line_items,!cap_type,'Plan',!year,!months,'Depreciation_');
feeders;
['Dollar','Plan'] => ['Depreciation_','Plan'];
['Depreciation_','Plan'] => ['Depreciation Dollar','Plan'];