[ttl]Product Master File Maintenance[/ttl]
[show infobox_msg$ class="infobox show_till_change"]

[form program=*fm_webmaint]

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

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

[section half] [/section]

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

[section half]

Pricing
[row "\[show usefile field=Price\]:"][input Price usefile][/row]
[row "\[show usefile field=Uom$\]:"][input Uom$ usefile][/row]
[row "\[show usefile field=ProdTaxGrp$\]:"][list ProdTaxGrp$ usefile program=*class;ClassList,"TaxGrpProduct"][/list][/row]
[row "\[show usefile field=Category$\]:"][input Category$ usefile][/row]
GL Posting
[row "\[show usefile field=GLMapID$\]:"][list GLMapID$ usefile program=*class;ClassList,"GLMapId"][/list][/row]
[/section]

[section half]

Supplier
[row "\[show usefile field=StandardCost\]:"][input StandardCost usefile][/row]
[row "\[show usefile field=SupplierId$\]:"][input SupplierId$ usefile][/row]
[row "\[show usefile field=PurchTaxGrp$\]:"][list PurchTaxGrp$ usefile program=*class;ClassList,"TaxGrpProduct"][/list][/row]
[row "\[show usefile field=SupplierProdId$\]:"][input SupplierProdId$ usefile][/row]
Shipping Info
[row "\[show usefile field=Weight\]:"][input Weight usefile][/row]
[row "\[show usefile field=WeightUOM$\]:"][input WeightUOM$ usefile][/row]
[/section]

[tab]Inventory[/tab]

[section half]

Inventory Status
[row "\[show usefile field=nonInventory\]:"][checkbox nonInventory usefile][/checkbox][/row]
[row "\[show usefile field=OnHandQty\]:"][input OnHandQty usefile][/row]
[/section]

[section half]

Inventory Requirements
[row "\[show usefile field=CommitQty\]:"][input CommitQty usefile][/row]
[row "\[show usefile field=BackOrderQty\]:"][input BackOrderQty usefile][/row]
[/section]

[section whole]


[list LIST_BOX_1 query="scrnlib.en;PRODQOHQRY" size=Auto/10 queryif="NOT(PRODUCTCODE$="")" locked][/list]
[/section]

[tab]Stats[/tab]

[section half]

Year to Date
[row "\[show usefile field=ytdSales\]:"][input ytdSales usefile][/row]
[row "\[show usefile field=ytdQtySold\]:"][input ytdQtySold 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=prvQtySold\]:"][input prvQtySold usefile][/row]
[row "\[show usefile field=PrvOrders\]:"][input PrvOrders usefile][/row]
[/section]

[tab]Description[/tab]

[section half] [row "\[show usefile field=ExtDescription$\]:"][input ExtDescription$ usefile][/row]
[/section]

[section half] [upload imagefile$ class=float_right size=20/4.5 event=uploader@product]Click or drag new image here to change[/upload]
[picture imagepath$ size=Auto/10]
[/section]

[tab]Sales[/tab]

[section flex]

Product Sales
[list LIST_BOX_2 query="scrnlib.en;PRODSALES.Q" size=Auto/20 queryif="NOT(PRODUCTCODE$="")" locked][/list]
[/section]

[section flex] [/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="products" secure]
[hide _fm_key$ value=ProductCode$]
[hide _fm_key_iol$ value="IOLIST k.ProductCode$"]
[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|PRODUCTCODE$|C4488AF0C158E8C2832CB927CFB3CE534104CD1E`LIST_BOX_2|PRODUCTCODE$|C4488AF0C158E8C2832CB927CFB3CE534104CD1E`]
[hide _fm_defaults$ value="ProdTaxGrp$==%sys.ProdTaxGrpDflt$|PurchTaxGrp$==%sys.ProdTaxGrpDflt$|WeightUOM$==%sys.WeightUOMDflt$|"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_panel_iol$ value="ProductCode$,Description$,Price,Uom$,ProdTaxGrp$,Category$,GLMapID$,StandardCost,SupplierId$,PurchTaxGrp$,SupplierProdId$,Weight,WeightUOM$,nonInventory,ExtDescription$,imagepath$," secure]
[hide _fm_ro_iol$ value="OnHandQty,CommitQty,BackOrderQty,ytdSales,ytdQtySold,YtdOrders,prvSales,prvQtySold,PrvOrders," secure]
[hide _fm_desc_list$ value="Product Code|Product Description|Standard List Price|Units (base)|Sales Tax Group|Product Category|G/L Mapping Rule|Standard Cost|Supplier ID|Purchase Tax Group|Suppliers Product Id|Weight|Weight Units|Non-Inventory Item|Extended Description|Extended Description|"]
[/form]