[ttl]Client Contact/Address Maintenance[/ttl]
[show infobox_msg$ class="infobox show_till_change"]

[form program=*fm_webmaint]

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

[section half] [row "\[show usefile field=ClientId$\]:"][input ClientId$ usefile event=Change_Key focus][/row]
[row "\[show usefile field=Description$\]:"][input Description$ usefile event=Change_Key focus] [include *fm_browse.html][/row]
[row "\[show usefile field=ContactType$\]:"][list ContactType$ usefile program=*class;ClassList,"ContactType"][/list][/row]
[/section]

[section half] [/section]

[section half]

Contact Info
[row "\[show usefile field=ContactName$\]:"][input ContactName$ usefile][/row]
[row "\[show usefile field=ContactTitle$\]:"][input ContactTitle$ usefile][/row]
[row "\[show usefile field=Email$\]:"][input Email$ usefile][/row]
[row "\[show usefile field=PhoneNumber$\]:"][input PhoneNumber$ usefile][/row]
[row "\[show usefile field=PhoneExtension$\]:"][input PhoneExtension$ usefile][/row]
[row "\[show usefile field=MobileNumber$\]:"][input MobileNumber$ usefile][/row]
[row "\[show usefile field=FaxNumber$\]:"][input FaxNumber$ usefile][/row]
[/section]

[section half]

Address
[row "\[show usefile field=Address1$\]:"][input Address1$ usefile][/row]
[row "\[show usefile field=Address2$\]:"][input Address2$ usefile][/row]
[row "\[show usefile field=City$\]:"][input City$ usefile][/row]
[row "\[show usefile field=Region$\]:"][input Region$ usefile][/row]
[row "\[show usefile field=Country$\]:"][input Country$ usefile][/row]
[row "\[show usefile field=ZipCode$\]:"][input ZipCode$ usefile][/row]
[hide forceclient$]
[/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="client_contacts" secure]
[hide _fm_key$ value=PAD(ClientId$,8,$00$)+Description$]
[hide _fm_key_iol$ value="IOLIST k.ClientId$,k.Description$"]
[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="ContactType$=C|Region$==%sys.RegionDflt$|Country$==%sys.CountryDflt$|"]
[hide _fm_interface$ value="contact"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_panel_iol$ value="ClientId$,Description$,ContactType$,ContactName$,ContactTitle$,Email$,PhoneNumber$,PhoneExtension$,MobileNumber$,FaxNumber$,Address1$,Address2$,City$,Region$,Country$,ZipCode$," secure]
[hide _fm_ro_iol$ value="" secure]
[hide _fm_desc_list$ value="Client ID|Description|Contact Type|Contact Name|Position|Email Address|Phone Number|Phone Extension|Mobile Number|Fax Number|Address Line 1|Address Line 2|City|State/Province|Country Name|Zip/Postal Code|"]
[/form]