[execute _onLoad$+="_SkipTabsOn('fm_browse');"] [ttl]Client Master File Maintenance[/ttl]
[show infobox_msg$ class="infobox show_till_change"]

[form program=*fm_webmaint]

[hide %fm_usefile$ value="ClientMaster" secure]

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

[section half] [/section]

[folder Folder$ class="web"][tab]Description[/tab]

[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]
[row "\[show usefile field=Website$\]:"][input Website$ usefile][/row]
[/section]

[section half]

Contact Info
[row "\[show usefile field=ContactName$\]:"][input ContactName$ 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]
[Button event=contact@contacts class=float_right size=auto/2][symbol address-card] Contacts/Addresses[/button]
[/section]

[tab]Accounting[/tab]

[section half]

Status
[row "\[show usefile field=Status$\]:"][list Status$ usefile program=*class;ClassList,"Status"][/list][/row]
[row "\[show usefile field=Balance\]:"][input Balance usefile][/row]
[row "\[show usefile field=CreditLimit\]:"][input CreditLimit usefile][/row]
[row "\[show usefile field=SalesRepCode$\]:"][list SalesRepCode$ usefile program=*class;ClassList,"Salesrep"][/list][/row]
[row "\[show usefile field=DateLastOrder$\]:"][input DateLastOrder$ usefile][/row]
[/section]

[section half]

Shipping Information
[row "\[show usefile field=SiteId$\]:"][list SiteId$ usefile program=*class;ClassList,"SiteId"][/list][/row]
[row "\[show usefile field=ShipVia$\]:"][list ShipVia$ usefile program=*class;ClassList,"ShipVia"][/list][/row]
[/section]

[section half]

Invoicing Defaults
[row "\[show usefile field=StdTerms$\]:"][list StdTerms$ usefile program=*class;ClassList,"Terms"][/list][/row]
[row "\[show usefile field=StdDiscount\]:"][input StdDiscount usefile][/row]
[row "\[show usefile field=PriceList$\]:"][list PriceList$ usefile program=*class;ClassList,"PriceList"][/list][/row]
[row "\[show usefile field=Currency$\]:"][list Currency$ usefile program=*class;ClassList,"Currency"][/list][/row]
[row "\[show usefile field=ClientTaxGrp$\]:"][list ClientTaxGrp$ usefile program=*class;ClassList,"TaxGrpClient"][/list][/row]
[row "\[show usefile field=InvoiceVia$\]:"][list InvoiceVia$ usefile program=*class;ClassList,"InvoiceVia"][/list][/row]
[/section]

[section half] [/section]

[tab]History[/tab]

[section half]

Year to Date
[row "\[show usefile field=ytdSales\]:"][input ytdSales usefile][/row]
[row "\[show usefile field=ytdOrders\]:"][input ytdOrders usefile][/row]
[/section]

[section half]

Prior Year
[row "\[show usefile field=prvSales\]:"][input prvSales usefile][/row]
[row "\[show usefile field=prvOrders\]:"][input prvOrders usefile][/row]
[/section]

[section whole]

 
 
[list LIST_BOX_1 query="scrnlib.en;CLIENTORD.Q" size=Auto/15 queryif="NOT(CLIENTID$="")" locked][/list]
[/section]

[/folder]

[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="clients" secure]
[hide _fm_key$ value=ClientId$]
[hide _fm_key_iol$ value="IOLIST k.ClientId$"]
[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_list_vars$ value=LIST_BOX_1|CLIENTID$|C4488AF0C158E8C2832CB927CFB3CE534104CD1E`]
[hide _fm_defaults$ value="Region$==%sys.RegionDflt$|Country$==%sys.CountryDflt$|Status$=A|SiteId$==%usr.Siteid$|ShipVia$==%sys.ShippingDflt$|StdTerms$==%sys.TermsDflt$|Currency$==%sys.CurrencyDflt$|ClientTaxGrp$==%sys.ClientTaxGrpDflt$|InvoiceVia$=M|"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_panel_iol$ value="ClientId$,ClientName$,Address1$,Address2$,City$,Region$,Country$,ZipCode$,Website$,ContactName$,Email$,PhoneNumber$,PhoneExtension$,MobileNumber$,FaxNumber$,Status$,CreditLimit,SalesRepCode$,SiteId$,ShipVia$,StdTerms$,StdDiscount,PriceList$,Currency$,ClientTaxGrp$,InvoiceVia$," secure]
[hide _fm_ro_iol$ value="Balance,DateLastOrder$,ytdSales,ytdOrders,prvSales,prvOrders," secure]
[hide _fm_desc_list$ value="Client ID|Name|Address Line 1|Address Line 2|City|State/Province|Country Name|Zip/Postal Code|Website URL|Primary Contact|Email Address|Phone Number|Phone Extension|Mobile Number|Fax Number|Status|Credit Limit|Sales Rep Code|Ship From Site|Shipment Method|Std. Terms|Std. Discount Percentage|Price List|Currency Used|Client Tax Group|Send Invoice Via|"]
[/form]