#REGION BMVariableFixFormat v1.1
'This tool is created by Brian Michael for B4X Forum.
Private fx As JFX
Private btnSave,btnSearchPBP,btnSearchBonusBrands,btnSaveBonusBrandsPanel,btnCloseBonusBrandsPanel,btnBonusBrandsTemplate,btnAdd As Button
Private Label1,Label2,Label4,Label8,tag,lblDescription,btnDelete As Label
Private lstPBP,lstRutes,lstBonusBrands,lstCommisions As CustomListView
Private Pane1,pnlBonusBrandsPanel As Pane
Private spnEffective_Percent,spnMix_Percent,spnTotalSales_Percent,spn,spnMix_Objetive As Spinner
Private txtSearchPBP,txtMount,txtSearchBonusBrands As TextField
Private chk,chk2,chk3 As CheckBox
Private XL As XLUtils
Private JOFormulaEvaluator,JOWB,JOConditionalFormattingEvaluator,JODataFormatter As JavaObject
Private cbmBonusBrands1,cbmBonusBrands2 As ComboBox
Private BonusBrand_Headers,BonusBrand_List As List
Public Form,Form2 As Form
Public xui As XUI
Public Commision_List,oProducts,oBrands,oProviders,SelectedPBP,PBPList,PBPGeneralList,BonusBrandsGeneralList,SelectedRutes As List
Public JSON_G As JSONGenerator
Public JSON_P As JSONParser
Public Label3 As Label
Public ColumnLimit As Int
Type Commision_Class (TotalSales_Percent As String, Mix_Percent As String, Effective_Percent As Long, Products As List, Brands As List, Providers As List, Rutes As List)
#END REGION