[ttl]Invoice Display[/ttl]
[show infobox_msg$ class="infobox show_till_change"]
[form program=*fm_webmaint]
[hide %fm_usefile$ value="InvoiceHeader" secure]
[execute perform "invoice;FM_Init",err=*proceed]
[section half]
[row "\[show usefile field=InvoiceNo$\]:"][input InvoiceNo$ usefile event=Change_Key focus] [include *fm_browse.html][/row]
[row "\[show usefile field=ClientId$\]:"][input ClientId$ usefile locked][/row]
[row "\[show usefile field=ClientName$\]:"][input ClientName$ usefile locked][/row]
[row "\[show usefile field=PONumber$\]:"][input PONumber$ usefile locked][/row]
[row "\[show usefile field=Status$\]:"][list Status$ usefile program=*class;ClassList,"Status" locked][/list][/row]
[/section]
[section half]
[row "\[show usefile field=CreatedDate$\]:"][input CreatedDate$ usefile locked][/row]
[row "\[show usefile field=CreatedTime$\]:"][input CreatedTime$ usefile locked][/row]
[row "\[show usefile field=CreatedBy$\]:"][input CreatedBy$ usefile locked][/row]
[row "\[show usefile field=BackOrderOf$\]:"][input BackOrderOf$ usefile locked][/row]
[/section]
[folder Folder$ class="web"][tab]Billing[/tab]
[section half]
General Information
[row "\[show usefile field=Discount\]:"][input Discount usefile locked][/row]
[row "\[show usefile field=Terms$\]:"][list Terms$ usefile program=*class;ClassList,"Terms" locked][/list][/row]
[row "\[show usefile field=Currency$\]:"][list Currency$ usefile program=*class;ClassList,"Currency" locked][/list][/row]
[row "\[show usefile field=SalesRepCode$\]:"][list SalesRepCode$ usefile program=*class;ClassList,"Salesrep" locked][/list][/row]
[row "\[show usefile field=PriceList$\]:"][list PriceList$ usefile program=*class;ClassList,"PriceList" locked][/list][/row]
[row "\[show usefile field=InvoiceDate$\]:"][input InvoiceDate$ usefile locked][/row]
[/section]
[section half]
Billing Address
[row "\[show usefile field=BillAddress1$\]:"][input BillAddress1$ usefile locked][/row]
[row "\[show usefile field=BillAddress2$\]:"][input BillAddress2$ usefile locked][/row]
[row "\[show usefile field=BillCity$\]:"][input BillCity$ usefile locked][/row]
[row "\[show usefile field=BillRegion$\]:"][input BillRegion$ usefile locked][/row]
[row "\[show usefile field=BillCountry$\]:"][input BillCountry$ usefile locked][/row]
[row "\[show usefile field=BillZipCode$\]:"][input BillZipCode$ usefile locked][/row]
[row "\[show usefile field=BillEmail$\]:"][input BillEmail$ usefile locked][/row]
[/section]
[section half]
Invoice Summary
[row "\[show usefile field=TotalAmt\]:"][input TotalAmt usefile locked][/row]
[row "\[show usefile field=TotalDiscount\]:"][input TotalDiscount usefile locked][/row]
[row "\[show usefile field=Freight\]:"][input Freight usefile locked][/row]
[row "\[show usefile field=TotalTax\]:"][input TotalTax usefile locked][/row]
[row "\[show usefile field=GrandTotal\]:"][input GrandTotal usefile locked][/row]
[/section]
[section half]
Payment Status
[row "\[show usefile field=DueDate$\]:"][input DueDate$ usefile locked][/row]
[row "\[show usefile field=BalanceOwing\]:"][input BalanceOwing usefile locked][/row]
[row "\[show usefile field=PaidDate$\]:"][input PaidDate$ usefile locked][/row]
Client Tax status
[row "\[show usefile field=ClientTaxGrp$\]:"][list ClientTaxGrp$ usefile program=*class;ClassList,"TaxGrpClient" locked][/list][/row]
[/section]
[tab]Lines[/tab]
[section flex]
Invoice Details
[list LIST_BOX_1 query="scrnlib.en;INVLINES.Q" size=Auto/20 queryif="NOT(INVOICENO$="")" locked][/list]
[/section]
[section third]
[/section]
[tab]Shipping[/tab]
[section half]
Shipping Information
[row "\[show usefile field=Siteid$\]:"][list Siteid$ usefile program=*class;ClassList,"SiteId" locked][/list][/row]
[row "\[show usefile field=ShipByDate$\]:"][input ShipByDate$ usefile locked][/row]
[row "\[show usefile field=TotalWeight\]:"][input TotalWeight usefile locked][/row]
[row "\[show usefile field=WeightUOM$\]:"][input WeightUOM$ usefile locked][/row]
[row "\[show usefile field=ShipVia$\]:"][list ShipVia$ usefile program=*class;ClassList,"ShipVia" locked][/list][/row]
[/section]
[section half]
Shipping Address
[row "\[show usefile field=ShipAddress1$\]:"][input ShipAddress1$ usefile locked][/row]
[row "\[show usefile field=ShipAddress2$\]:"][input ShipAddress2$ usefile locked][/row]
[row "\[show usefile field=ShipCity$\]:"][input ShipCity$ usefile locked][/row]
[row "\[show usefile field=ShipRegion$\]:"][input ShipRegion$ usefile locked][/row]
[row "\[show usefile field=ShipCountry$\]:"][input ShipCountry$ usefile locked][/row]
[row "\[show usefile field=ShipZipCode$\]:"][input ShipZipCode$ usefile locked][/row]
[/section]
[section half]
Shipping Status
[row "\[show usefile field=ShipDate$\]:"][input ShipDate$ usefile locked][/row]
[row "\[show usefile field=ShipTime$\]:"][input ShipTime$ usefile locked][/row]
[row "\[show usefile field=TrackingNo$\]:"][input TrackingNo$ usefile locked][/row]
[/section]
[section half]
Pick Status
[row "\[show usefile field=PickedDate$\]:"][input PickedDate$ usefile locked][/row]
[row "\[show usefile field=PickedTime$\]:"][input PickedTime$ usefile locked][/row]
[row "\[show usefile field=PickedBy$\]:"][input PickedBy$ usefile locked][/row]
[/section]
[tab]Accounting[/tab]
[section flex]
Posting Details
[list LIST_BOX_2 query="scrnlib.en;GlViewPost.q" size=Auto/12 queryif="NOT(POSTINGID$="")" locked][/list]
[/section]
[section third]
Posting Information
[row "\[show usefile field=PostingID$\]:"][input PostingID$ usefile locked][/row]
[row "\[show usefile field=PostedDate$\]:"][input PostedDate$ usefile locked][/row]
Exchange rate used (if applicable)
[row "\[show usefile field=ExchgRate1000\]:"][input ExchgRate1000 usefile locked][/row]
[/section]
[tab]Notes[/tab]
[section whole]
[/section]
[/folder]
[section whole][/section]
[section whole class="fm_btmbtn"][include *fm_inq_action.html][/section]
[hide _fm_event$ value=""]
[hide _fm_record_key$ value=""]
[hide _fm_change_key$ value=""]
[hide _fm_file$ value="invoice_hdr" secure]
[hide _fm_key$ value=InvoiceNo$]
[hide _fm_key_iol$ value="IOLIST k.InvoiceNo$"]
[hide _fm_inquiry$ value="1"]
[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|INVOICENO$|C4488AF0C158E8C2832CB927CFB3CE534104CD1E`LIST_BOX_2|POSTINGID$|C4488AF0C158E8C2832CB927CFB3CE534104CD1E`]
[hide _fm_defaults$ value="Terms$=%sys.TermsDflt$|BillRegion$==%sys.RegionDflt$|BillCountry$==%sys.CountryDflt$|ClientTaxGrp$==%sys.ClientTaxGrpDflt$|ShipVia$==%sys.ShippingDflt$|ShipRegion$==%sys.RegionDflt$|ShipCountry$==%sys.CountryDflt$|"]
[hide _fm_interface$ value="invoice"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_panel_iol$ value="InvoiceNo$,ClientId$,ClientName$,PONumber$,Status$,CreatedDate$,BackOrderOf$,Terms$,Currency$,SalesRepCode$,PriceList$,BillAddress1$,BillAddress2$,BillCity$,BillRegion$,BillCountry$,BillZipCode$,BillEmail$,TotalDiscount,Freight,GrandTotal,ClientTaxGrp$,Siteid$,ShipByDate$,ShipVia$,ShipAddress1$,ShipAddress2$,ShipCity$,ShipRegion$,ShipCountry$,ShipZipCode$,ShipDate$,TrackingNo$,PickedBy$,PostingID$,ExchgRate1000," secure]
[hide _fm_ro_iol$ value="CreatedTime$,CreatedBy$,Discount,InvoiceDate$,TotalAmt,TotalTax,DueDate$,BalanceOwing,PaidDate$,TotalWeight,WeightUOM$,ShipTime$,PickedDate$,PickedTime$,PostedDate$," secure]
[hide _fm_desc_list$ value="Invoice Number|Client ID|Name|Purchase Order|Status|Date Created|Back order for|Terms|Currency|Sales Rep Code|Price List|Address line 1|Address line 2|City|State/Province|Country Name|Zip code/Postal Code|Email bill to|Discount amt.|Freight billed|Grand Total|Client Tax Group|Ordered From|Target Ship date|Shipment Method|Address line 1|Address line 2|City|State/Province|Country Name|Zip code/Postal Code|Date Shipped|Tracking number|Picked by user|GL Posting ID|Rate per $1000|"]
[/form]