[ttl]Fiscal Year Maintenance[/ttl]
[show infobox_msg$ class="infobox show_till_change"]

[form program=*fm_webmaint]

[hide %fm_usefile$ value="FiscalYears" secure]
[execute perform "fiscalyears;FM_Init",err=*proceed]

[section half] [row "\[show usefile field=FiscalYear$\]:"][input FiscalYear$ usefile event=Change_Key focus] [include *fm_browse.html][/row]
[row "\[show usefile field=FiscalStartDate$\]:"][input FiscalStartDate$ usefile][/row]
[row "\[show usefile field=PeriodCount\]:"][input PeriodCount usefile][/row]
[/section]

[section half] [/section]

[section whole]


[/section]

[section half] [row "Period Start Dates:"] [grid dtl_grid nosort size=auto/auto gridlines] [col class=align_center ttl="Period" width=8 locked][show FiscalPeriod$] [col ttl="Start Date" width=21 locked][input periodstartdate$ class=align_center locked type=date][/col] [col ttl="End Date" width=21 ][input periodenddate$ type=date event=fiscalyears@chgEndDate required class=align_center locked=(closed$)][/col] [col source=closed$ ttl="Status" width=8 class=align_center locked] [/grid][/row] [row "Compute Dates:"] [button text="Monthly" size=20 event=fiscalyears@compute_monthly]  [button text="4-4-5 Weeks" size=20 event=fiscalyears@compute_445]  [button text="13 4-Week" size=20 event=fiscalyears@compute_13]  [/row] [addevent PeriodCount event=fiscalyears@setPeriodCount] [hide closeCount]
[/section]

[section half] [/section]

[section whole][/section]

[section whole class="fm_btmbtn fix1col"][include *fm_action.html][/section]

[hide _fm_changes value=0]
[hide _fm_event$ value=""]
[hide _fm_record_key$ value=""]
[hide _fm_change_key$ value=""]
[hide _fm_file$ value="fiscal_years" secure]
[hide _fm_key$ value=FiscalYear$]
[hide _fm_key_iol$ value="IOLIST k.FiscalYear$"]
[hide _fm_inquiry$ value="0"]
[hide _fm_new_prop$ value="0"]
[hide _fm_clear_prop$ value="0"]
[hide _fm_confirm_new_prop$ value="0"]
[hide _fm_ack_write_prop$ value="0"]
[hide _fm_confirm_del_prop$ value="1"]
[hide _fm_ack_delete_prop$ value="1"]
[hide _fm_defaults$ value="PeriodCount=12|"]
[hide _fm_interface$ value="fiscalyears"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_panel_iol$ value="FiscalYear$,FiscalStartDate$,PeriodCount," secure]
[hide _fm_ro_iol$ value="" secure]
[hide _fm_desc_list$ value="Fiscal Year|Starting Date for Year|Number of Periods|"]
[/form]