[execute _onLoad$+="_SkipTabsOn('fm_browse');"] [ttl]Post to General Ledger[/ttl]
[show infobox_msg$ class="infobox show_till_change"]

[form program=*fm_webmaint]

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

[section half]

Posting Information
[row "\[show usefile field=EffectiveDate$\]:"][input EffectiveDate$ usefile][/row]
[row ""][show usefile field=FiscalYear$]: [input FiscalYear$ usefile]    [show usefile field=FiscalPeriod$]: [input FiscalPeriod$ usefile][/row]
[row "\[show usefile field=Source$\]:"][list Source$ usefile program=*class;ClassList,"Source"][/list][/row]
[row "\[show usefile field=SourceRef$\]:"][input SourceRef$ usefile][/row]
[row "\[show usefile field=PostingComment$\]:"][input PostingComment$ usefile][/row]
[/section]

[section half] [div class=saveopt]

Save and Recall pending Posting transactions
[row "\[show usefile field=PendingID$\]:"][input PendingID$ usefile event=Change_Key focus] [include *fm_browse.html][/row]
[row "\[show usefile field=Recurring\]:"][checkbox Recurring usefile][/checkbox][/row]

[include _fm_savedel] [div class=float_right]Recall Post: [input recall_posting$ event=glpending@recall format="0000000#" query=scrnlib.en;glpostings.q][/div] [/div]
[/section]

[section whole]


[/section]

[section half] [/section][section half][/section][section flex] [subttl text="Posting Details"] [grid dtl_grid gridlines size=auto/24 class=font_90 nosort] [col width=5 ttl="Drag" align=center event=*Rowdrag][symbol reorder][/col] [col source=GLAcct$ ttl="GL Account" width=20 query=scrnlib.en;glacct.q format=(%sys.GLFormat$) event=glpending@chgAcct] [col source=AcctName$ ttl="Account name" width=25 locked] [col source=Debit ttl="Debit" format="-##,###,##0.00" width=15 event=glpending@chgAmt] [col width=5 locked ttl="<+>"][input Selector$ class=align_center locked][/col] [col source=Credit ttl="Credit" format="-##,###,##0.00" width=15 event=glpending@chgAmt] [col source=DetailComment$ ttl="Details/Comment" width=30] [col width=4.5 align=center ttl="Del"][symbol trash event=*Rowdel][/grid]

[button Text="+10 rows" size=auto/2 event=glpending@add10] [button event=glpending@clrGrid size=auto/2][symbol trash] Clear Grid[/button] [/section] [section flex][subttl text="Posting Total"] [row "Balance"][input Balance id=id_balance format="-##,###,##0.00" calc=dtl_grid:Credit-dtl_grid:Debit][/row] [button size=100%/2 event=glpending@clrBalance text="Use Balance"]

[button size=100%/2 validate event=glpending@commit class="text_black fill_#ddeedd"][symbol pencil-square-o] Commit to Ledger[/button] [addevent EffectiveDate$ event=glpending@setdate] [hide saveDate$][hide saveYear$][hide savePeriod$] [css]#id_balance:not(\[value="0.00"\]) { box-shadow: 0px 0px 10px var(--clrbck-err); }[/css]
[/section]

[section half] [/section]

[section whole][/section]

[section whole class="fm_btmbtn"][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="pending_posts" secure]
[hide _fm_key$ value=PendingID$]
[hide _fm_key_iol$ value="IOLIST k.PendingID$"]
[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="Source$=G/L|"]
[hide _fm_interface$ value="glpending"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_panel_iol$ value="EffectiveDate$,Source$,SourceRef$,PostingComment$,PendingID$,Recurring," secure]
[hide _fm_ro_iol$ value="" secure]
[hide _fm_desc_list$ value="Posting Date|Source|Doc Reference|Comment|Pending ID|Recurring Post|"]
[/form]