object FViewAddCustomer: TFViewAddCustomer
  Width = 842
  Height = 607
  CSSLibrary = cssBootstrap
  ElementFont = efCSS
  object lblFormState: TWebLabel
    Left = 395
    Top = 8
    Width = 3
    Height = 15
    ElementID = 'lbl_form_state'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
  end
  object edtShortName: TWebDBEdit
    Left = 24
    Top = 12
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtcompanyaccountname'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = edtShortNameChange
    DataField = 'SHORT_NAME'
    DataSource = WebDataSource1
  end
  object edtName: TWebDBEdit
    Left = 19
    Top = 40
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtcompanyname'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'NAME'
    DataSource = WebDataSource1
  end
  object edtBillAddress: TWebDBEdit
    Left = 19
    Top = 68
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtbillingaddress'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'BILL_ADDRESS'
    DataSource = WebDataSource1
  end
  object edtBillCity: TWebDBEdit
    Left = 19
    Top = 98
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtbillingcity'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'BILL_CITY'
    DataSource = WebDataSource1
  end
  object edtBillState: TWebDBEdit
    Left = 19
    Top = 126
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtbillingstate'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'BILL_STATE'
    DataSource = WebDataSource1
  end
  object edtBillZip: TWebDBEdit
    Left = 19
    Top = 160
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtbillingzip'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'BILL_ZIP'
    DataSource = WebDataSource1
  end
  object edtBillContact: TWebDBEdit
    Left = 19
    Top = 188
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtbillingcontact'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'BILL_CONTACT'
    DataSource = WebDataSource1
  end
  object btnSave: TWebButton
    Left = 19
    Top = 402
    Width = 96
    Height = 25
    Caption = 'Save'
    ChildOrder = 79
    ElementID = 'btnconfirm'
    ElementPosition = epRelative
    HeightPercent = 100.000000000000000000
    Role = 'null'
    WidthPercent = 100.000000000000000000
    OnClick = btnSaveClick
  end
  object btnCancel: TWebButton
    Left = 19
    Top = 473
    Width = 96
    Height = 25
    Caption = 'Cancel'
    ChildOrder = 79
    ElementID = 'btncancel'
    ElementPosition = epRelative
    HeightPercent = 100.000000000000000000
    Role = 'null'
    WidthPercent = 100.000000000000000000
    OnClick = btnCancelClick
  end
  object btnDelete: TWebButton
    Left = 19
    Top = 371
    Width = 96
    Height = 25
    Caption = 'Delete'
    ChildOrder = 79
    ElementID = 'btndelete'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnDeleteClick
  end
  object btnClose: TWebButton
    Left = 19
    Top = 433
    Width = 96
    Height = 25
    Caption = 'Close'
    ChildOrder = 80
    ElementID = 'btnclose'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnCloseClick
  end
  object edtCustomerID: TWebDBEdit
    Left = 151
    Top = 12
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtcompanyid'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'CUSTOMER_ID'
    DataSource = WebDataSource1
  end
  object edtQBID: TWebDBEdit
    Left = 151
    Top = 40
    Width = 121
    Height = 22
    ChildOrder = 12
    ElementID = 'edtqbid'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    DataField = 'QB_LIST_ID'
    DataSource = WebDataSource1
  end
  object wdbtcAddresses: TWebDBTableControl
    Left = 190
    Top = 196
    Width = 631
    Height = 200
    ElementClassName = 'table'
    ElementId = 'tblPhoneGrid'
    BorderColor = clSilver
    ChildOrder = 11
    ElementFont = efCSS
    ElementHeaderClassName = 'thead-light sticky-top bg-light border-light'
    ElementPosition = epRelative
    ElementTableClassName = 'table table-striped table-hover table-bordered text-sm'
    Footer.ButtonActiveElementClassName = 'btn btn-primary'
    Footer.ButtonElementClassName = 'btn btn-light'
    Footer.DropDownElementClassName = 'form-control'
    Footer.InputElementClassName = 'form-control'
    Footer.LinkActiveElementClassName = 'link-primary'
    Footer.LinkElementClassName = 'link-secondary'
    Footer.ListElementClassName = 'pagination'
    Footer.ListItemElementClassName = 'page-item'
    Footer.ListLinkElementClassName = 'page-link'
    Header.ButtonActiveElementClassName = 'btn btn-primary'
    Header.ButtonElementClassName = 'btn btn-light'
    Header.DropDownElementClassName = 'form-control'
    Header.InputElementClassName = 'form-control'
    Header.LinkActiveElementClassName = 'link-primary'
    Header.LinkElementClassName = 'link-secondary'
    Header.ListElementClassName = 'pagination'
    Header.ListItemElementClassName = 'page-item'
    Header.ListLinkElementClassName = 'page-link'
    WordWrap = True
    OnClickCell = wdbtcAddressesDblClickCell
    OnDblClickCell = wdbtcAddressesDblClickCell
    Columns = <
      item
        DataField = 'ship_id'
        Title = 'ID'
      end
      item
        DataField = 'ADDRESS'
        Title = 'Address'
      end>
    DataSource = wdsShipTo
  end
  object edtShippingAddress: TWebEdit
    Left = 190
    Top = 460
    Width = 121
    Height = 22
    ChildOrder = 22
    ElementID = 'edtshippingaddress'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = edtShippingAddressChange
  end
  object edtShippingState: TWebEdit
    Left = 190
    Top = 516
    Width = 121
    Height = 22
    ChildOrder = 22
    ElementID = 'edtshippingstate'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = edtShippingAddressChange
  end
  object edtShippingContact: TWebEdit
    Left = 190
    Top = 578
    Width = 121
    Height = 22
    ChildOrder = 22
    ElementID = 'edtshippingcontact'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = edtShippingAddressChange
  end
  object edtShippingZip: TWebEdit
    Left = 190
    Top = 550
    Width = 121
    Height = 22
    ChildOrder = 22
    EditType = weNumeric
    ElementID = 'edtshippingzip'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = edtShippingAddressChange
  end
  object edtShippingCity: TWebEdit
    Left = 190
    Top = 488
    Width = 121
    Height = 22
    ChildOrder = 22
    ElementID = 'edtshippingcity'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = edtShippingAddressChange
  end
  object memoShipBlock: TWebMemo
    Left = 508
    Top = 460
    Width = 185
    Height = 89
    ElementID = 'memoshipblock'
    Enabled = False
    HeightPercent = 100.000000000000000000
    SelLength = 0
    SelStart = 0
    WidthPercent = 100.000000000000000000
    OnChange = edtShippingAddressChange
  end
  object memoAddressBlock: TWebMemo
    Left = 162
    Top = 86
    Width = 185
    Height = 89
    ElementID = 'memoaddressblock'
    Enabled = False
    HeightPercent = 100.000000000000000000
    SelLength = 0
    SelStart = 0
    WidthPercent = 100.000000000000000000
  end
  object btnAdd: TWebButton
    Left = 19
    Top = 535
    Width = 96
    Height = 25
    Caption = 'Add'
    ChildOrder = 84
    ElementID = 'btnadd'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnAddClick
  end
  object btnShipSave: TWebButton
    Left = 339
    Top = 441
    Width = 96
    Height = 25
    Caption = 'Save'
    ChildOrder = 79
    ElementID = 'btnshipconfirm'
    ElementPosition = epRelative
    HeightPercent = 100.000000000000000000
    Role = 'null'
    WidthPercent = 100.000000000000000000
    OnClick = btnShipSaveClick
  end
  object btnShipCancel: TWebButton
    Left = 339
    Top = 480
    Width = 96
    Height = 25
    Caption = 'Cancel'
    ChildOrder = 79
    ElementID = 'btnshipcancel'
    ElementPosition = epRelative
    HeightPercent = 100.000000000000000000
    Role = 'null'
    WidthPercent = 100.000000000000000000
    OnClick = btnCancelClick
  end
  object btnShipDelete: TWebButton
    Left = 339
    Top = 410
    Width = 96
    Height = 25
    Caption = 'Delete'
    ChildOrder = 79
    ElementID = 'btnshipdelete'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnShipDeleteClick
  end
  object btnShipEdit: TWebButton
    Left = 339
    Top = 511
    Width = 96
    Height = 25
    Caption = 'Edit'
    ChildOrder = 83
    ElementID = 'btnshipedit'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnShipEditClick
  end
  object btnShipAdd: TWebButton
    Left = 339
    Top = 549
    Width = 96
    Height = 25
    Caption = 'Add'
    ChildOrder = 84
    ElementID = 'btnshipadd'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnShipAddClick
  end
  object edtFirstLine: TWebEdit
    Left = 190
    Top = 430
    Width = 121
    Height = 22
    ChildOrder = 35
    ElementID = 'edtfirstline'
    Enabled = False
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
  end
  object wdblcbRep: TWebDBLookupComboBox
    Left = 19
    Top = 216
    Width = 145
    Height = 22
    ElementID = 'wdblcbrep'
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnChange = wdblcbRepChange
    OnEnter = wdblcbRepChange
    DataField = 'REP_USER_ID'
    DataSource = WebDataSource1
    KeyField = 'userID'
    ListField = 'representative'
    ListSource = wdsUsers
  end
  object btnLink: TWebButton
    Left = 19
    Top = 566
    Width = 96
    Height = 25
    Caption = 'Link to QB'
    ChildOrder = 84
    ElementID = 'btnlink'
    HeightStyle = ssAuto
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnLinkClic
  end
  object btnUpdate: TWebButton
    Left = 19
    Top = 340
    Width = 96
    Height = 25
    Caption = 'Update'
    ChildOrder = 84
    ElementID = 'btnupdate'
    HeightStyle = ssAuto
    HeightPercent = 100.000000000000000000
    WidthPercent = 100.000000000000000000
    OnClick = btnUpdateClick
  end
  object XDataWebClient1: TXDataWebClient
    Connection = DMConnection.ApiConnection
    Left = 454
    Top = 72
  end
  object WebDataSource1: TWebDataSource
    AutoEdit = False
    DataSet = XDataWebDataSet1
    Left = 532
    Top = 126
  end
  object XDataWebDataSet1: TXDataWebDataSet
    Connection = DMConnection.ApiConnection
    Left = 426
    Top = 132
    object XDataWebDataSet1SHORT_NAME: TStringField
      FieldName = 'SHORT_NAME'
    end
    object XDataWebDataSet1NAME: TStringField
      FieldName = 'NAME'
    end
    object XDataWebDataSet1BILL_ADDRESS: TStringField
      FieldName = 'BILL_ADDRESS'
    end
    object XDataWebDataSet1BILL_CITY: TStringField
      FieldName = 'BILL_CITY'
    end
    object XDataWebDataSet1BILL_STATE: TStringField
      FieldName = 'BILL_STATE'
    end
    object XDataWebDataSet1BILL_CONTACT: TStringField
      FieldName = 'BILL_CONTACT'
    end
    object XDataWebDataSet1BILL_ZIP: TStringField
      FieldName = 'BILL_ZIP'
    end
    object XDataWebDataSet1START_DATE: TStringField
      FieldName = 'START_DATE'
    end
    object XDataWebDataSet1QB_LIST_ID: TStringField
      FieldName = 'QB_LIST_ID'
    end
    object XDataWebDataSet1END_DATE: TStringField
      FieldName = 'END_DATE'
    end
    object XDataWebDataSet1FAX: TStringField
      FieldName = 'FAX'
    end
    object XDataWebDataSet1PHONE: TStringField
      FieldName = 'PHONE'
    end
    object XDataWebDataSet1CUSTOMER_ID: TIntegerField
      FieldName = 'CUSTOMER_ID'
    end
    object XDataWebDataSet1REP_USER_ID: TStringField
      FieldName = 'REP_USER_ID'
    end
  end
  object wdsShipTo: TWebDataSource
    AutoEdit = False
    DataSet = xdwdsShipTo
    Left = 698
    Top = 128
  end
  object xdwdsShipTo: TXDataWebDataSet
    Left = 698
    Top = 44
    object xdwdsShipToADDRESS: TStringField
      FieldName = 'ADDRESS'
    end
    object xdwdsShipToship_id: TStringField
      FieldName = 'ship_id'
    end
    object xdwdsShipToshipping_address: TStringField
      FieldName = 'shipping_address'
    end
    object xdwdsShipTocity: TStringField
      FieldName = 'city'
    end
    object xdwdsShipTostate: TStringField
      FieldName = 'state'
    end
    object xdwdsShipTozip: TStringField
      FieldName = 'zip'
    end
    object xdwdsShipTocontact: TStringField
      FieldName = 'contact'
    end
  end
  object tmrReturn: TWebTimer
    Enabled = False
    OnTimer = tmrReturnTimer
    Left = 542
    Top = 42
  end
  object wdsUsers: TWebDataSource
    AutoEdit = False
    DataSet = xdwdsUsers
    Left = 776
    Top = 144
  end
  object xdwdsUsers: TXDataWebDataSet
    Left = 776
    Top = 54
    object xdwdsUsersuserID: TStringField
      FieldName = 'userID'
    end
    object xdwdsUsersfull_name: TStringField
      FieldName = 'full_name'
      Size = 0
    end
    object xdwdsUsersrepresentative: TStringField
      FieldName = 'representative'
      Size = 0
    end
  end
end
