API Docs for:
Show:

ManageFleet Class

This class contains functions related to show device details and their state (Operational/Non-operational/Disabled/Archive/All")

Constructor

ManageFleet

()

Methods

addDealer

()

This function is used to Manage Fleet in Add Mode

addKendoWindowToDiv

(
  • divId
  • titleText
  • width
  • left
  • top
)

Function to Add Kendo Window.

Parameters:

  • divId String

    Id of Kendo Window

  • titleText String

    Title Of Kendo Window

  • width String

    width Of Kendo Window

  • left String

    left Of Kendo Window

  • top String

    top Of Kendo Window

AllValid

()

This function is Used to Validate the Complete Control Before Saving Dealer Detail

AllValidAddVanDetail

()

This function is Used to Hide The Validation Message For Add Van Detail

AllValidVanDetail

()

This function is Used to Validate the Complete Control Before Saving Dealer Van Detail

AlphaNumeic

(
  • e
  • t
)

Function to Enter Only Apha Numeric Character in Textbox.

Parameters:

  • e Object

    Get Event Detail

  • t Object

    Get Textbox Detail

btnAddVanDetail

()

This function is used to Add or Edit Van Detail In Grid.

btnCancelAddUser

()

This function is Used to Perform Cancel Button On Dealer Detail

btnUndoVanDealerDetail

()

This function is Used to Perform Cancel Button On Van Detail

CheckDealerDupContactNo

()

This function is Used to Check the Duplicate Contact No Of Dealer

CheckVanDupRegistrationNo

()

This function is Used to Check the Duplicate Registration No Of Van And Also Check in grid

CheckVanRegistrationOnGrid

(
  • vVanRegistrationNo
)

This function is Used to Check the Duplicate Registration No. in grid

Parameters:

  • vVanRegistrationNo String

    Van Registration that exist or not

ChkDealerStateAndCityWithVanStateVanStateAndCity

()

This function is Used to Check Whether the Dealer State ANd city is same as Van state or city Or not

closeWindow

(
  • divId
)

Function to Close Kendo Window.

Parameters:

  • divId String

    Id of Kendo Window

DeleteRecord

(
  • IsDeleted
)

This function is used Delete the Dealer.

Parameters:

  • IsDeleted Bollean

    Record is save or deleted

GetDealerNameList

(
  • vChkValidation
  • vRowIndex
)

Function to Get All Dealer Name According to State And City and State Must be Selected but City is optional

Parameters:

  • vChkValidation Boolean

    (Check Validation or not)

  • vRowIndex Integer

    Click on Dealer List Row Or Not

loadCityChoices

(
  • :
)

Function to Fill City According to State Id For Kendo Ui Combo.

Parameters:

  • : Object

    vRowIndex Click on Dealer List Row Or Not

LoadCityList

(
  • stateId
)

Function to load city list state wise.

Parameters:

  • stateId String

    selected state id

LoadCityList

(
  • stateId
)

Function to load city list state wise.

Parameters:

  • stateId String

    selected state id

LoadCityListAndUpdateGrid

(
  • stateId
)

Function to load City list and Update Grid.

Parameters:

  • stateId String

    selected state id

LoadCityListForVan

(
  • stateId
)

Function to load city list state wise.

Parameters:

  • stateId String

    selected state id

loadStateChoices

()

Function to Load All State on Page Load

SaveRecord

(
  • IsDeleted
)

This function is used Delete the Dealer.

Parameters:

  • IsDeleted Boolean

    Record is deleted or not

SetKendoWindowTitle

(
  • divId
  • titleText
)

Function to Set Kendo Window Title.

Parameters:

  • divId String

    Id of Kendo Window

  • titleText String

    Title Of Kendo Window

UpdateCityInGrid

()

Function to load State And City On Page Load.

UpdateCityInGrid

()

Function to Van Update City in Grid if Dealer City Chnage in Add Mode

UpdateStateInGrid

()

Function to Van Update State in Grid if Dealer State Chnage in Add Mode

VanDetail

()

This function create a popup for Add Van Detail.