🧰
MSS - Extensibility
  • Presentation
  • MSS - Google Maps
  • MSS 5.1
    • Functions Kalipso to MSS
      • Article
        • EXT_Article_GetDefaultUnit
        • EXT_Article_GetImage
        • EXT_Article_GetPrice
        • EXT_Article_GetTotals
        • EXT_Article_Record
        • EXT_Article_Select
        • EXT_Article_ValidatePriceAndDiscounts
      • Customer
        • EXT_Customer_Record
        • EXT_Customer_Select
        • EXT_Customer_SelectContact
        • EXT_Customer_SelectDeliveryPlace
        • EXT_Customer_ValidateNIF
        • EXT_Customer_New
        • EXT_Customer_Edit
      • Deposit
        • EXT_Deposit_Cancel
        • EXT_Deposits_OpenModule
      • Document
        • EXT_Document_Cancel​
        • ​EXT_Document_AddLine​
        • EXT_Document_DeleteLine​
        • ​EXT_Document_EditLine​
        • ​EXT_Document_Finalize​
        • EXT_Document_Recalculate
        • EXT_Documents_OpenModule
        • EXT_Document_Resume
      • Email
        • EXT_Email_SendCurrentAccount
        • EXT_Email_SendReport
        • EXT_Email_SendDocument
      • GMAPS
        • EXT_GMAPS_LoadMap
      • GPS
        • EXT_GPS_Connect
        • EXT_GPS_GetAddressFromLatLong
        • EXT_GPS_GetCoordinates
        • EXT_GPS_GetCoordinatesFromAddress
      • Location
        • EXT_Location_OpenModule
      • Lots
        • EXT_Lots_OpenSeletion
      • Menu
        • EXT_Menu_OpenModule
      • MSS
        • EXT_MSS_GetCurrentVersion
      • Numerators
        • EXT_Numerators_GetNextNumber
        • EXT_Numerators_SetNewNumber
      • Orders
        • EXT_Orders_OpenModule
      • Print
        • EXT_Print_Document
        • EXT_Print_Report
      • Prospect
        • EXT_Prospect_Record
        • EXT_Prospect_Select
        • EXT_Prospect_SelectContact
        • EXT_Prospect_SelectDeliveryPlace
        • EXT_Prospect_ConvertToCustomer
      • Receipts
        • EXT_Receipts_Cancel
        • EXT_Receipts_OpenModule
      • Resources
        • EXT_Resources_OpenWindow
      • Sales
        • EXT_Sales_OpenModule
      • Service
        • EXT_Service_Cancel
        • EXT_Service_Close
        • EXT_Service_NewArticle
        • EXT_Service_OpenService
        • EXT_Service_SaveService
        • EXT_Service_SelectedEquipment
        • EXT_Service_ValidateBeforeInvoice
        • EXT_Service_Invoice
      • Synchronize
        • EXT_Synchronize_OpenModule
        • EXT_Synchronize_SendFileToServer
      • TransportDocument
        • EXT_TransportDocument_OpenModule
      • User
        • EXT_User_GetCurrentUserInfo
      • EndOfDay
        • EXT_EndOfDay_OpenModule
      • Utils
        • EXT_Decrypt_Value
        • EXT_Log_SaveLog
        • EXT_Utils_PickDate
        • EXT_Utils_PickTime
        • EXT_Utils_GetParameter
        • EXT_Utils_HasAccess
      • Visits
        • EXT_Visits_OpenModule
        • EXT_Visits_GetVisitStatus
        • EXT_Visits_CheckIn
        • EXT_Visits_Checkout
    • Functions MSS to Kalipso
      • Menu Button Kalipso
        • General
        • Additional technical services menu
        • Additional dashboards menu
        • Additional pre-sales menu
        • Additional auto-sales menu
        • Additional receipts menu
        • Additional purchases menu
        • Additional customers menu
        • Additional prospects menu
        • Additional products menu
        • Additional main menu popup
      • Get Price in Kalipso
      • Quantity screen
      • Entity selection in Kalipso
      • Article selection in Kalipso
      • Document User Fields
      • Clients
        • 100 - Clients Module
        • 102 - New Client
        • 104 - Duplicate Client
        • 105 - Save Client
        • 120 - New Client Delivery Place
        • 121 - Modify Client Delivery Place
        • 122 - See Client Delivery Place
        • 151 - General Information
        • 152 - Commercial Information
        • 153 - Observations (only Smartphone)
        • 154 - User Fields
        • 155 - Localization
        • 156 - Delivery Places List
        • 157 - Contacts List
        • 158 - New Visit Report
        • 159 - Documents List
        • 160 - Balance / New Receipt
        • 161 - New Order
        • 162 - New Sale
        • 163 - New Purchase
        • 164 - User Table 1 (Smartphone) / Dashboards (Tablet)
        • 165 - User Table 2 (only Smartphone)
        • 166 - Client Sales Statistics (only Tablet)
        • 167 - Client Price Table (only Tablet)
      • Articles
        • 200 - Articles Module
      • Diary
        • 300 - Diary Module
      • Orders
        • 400 - Orders Module
        • 402 - Save Document
        • 403 - Cancel Document
        • 406 - Read Barcode
        • 410 - Quantity screen
        • 411 - Add Article
        • 412 - Select Article Price
        • 413 - Document validations
        • 414 - Edit Article Line
        • 415 - Origin Document Screen
        • 416 - Delete line
        • 418 - Quantity Screen Confirmation
      • Sales
        • 500 - Sales Module
        • 502 - Save Document
        • 503 - Cancel Document
        • 506 - Read Barcode
        • 510 - Quantity screen
        • 511 - Add Article
        • 512 - Select Article Price
        • 513 - Document validations
        • 514 - Edit Article Line
        • 515 - Origin Document Screen
        • 516 - Delete line
        • 518 - Quantity Screen Confirmation
        • 519 - Payments Screen
      • Receipts
        • 600 - Receipts Module
        • 602 - Save Document
        • 603 - Cancel Receipt
        • 613 - Documents button click (Receipt Header)
        • 619 - Receipts Screen
      • Charges
        • 700 - Charges Module
      • Visits
        • 800 - Visits Module
      • Bank Deposits
        • 900 - Bank Deposits Module
      • Documents
        • 1000 - Documents Module
      • Personal Expenses
        • 1100 - Personal Expenses Module
      • Synchronize
        • 1200 - Synchronize Module
      • Start of Day
        • 1300 - Start of Day Module
        • 1301 - Save Start of Day
      • End of Day
        • 1400 - End of Day Module
        • 1401 - Save End of Day
      • Objectives
        • 1500 - Objectives Module
      • Deliveries
        • 1600 - Deliveries Module
        • 1610 - Open delivery
        • 1612 - Set Delivery as Not Delivered
        • 1620 - Save Delivery
        • 1623 - Product Barcode
      • Online Requests
        • 1700 - Online Requests Module
      • Payments/Advancements
        • 1800 - Payments/Advancements Module
      • Stocks
        • 1900 - Stocks Module
      • Equipments
        • 2100 - Equipments Module
      • Catalog
        • 2200 - Catalog Module
        • 2210 - Catalog v3 shopping cart
      • Agenda
        • 2300 - Agenda Module
      • Services
        • 2400 - Services Module
        • 2401 - Equipment Check List
        • 2402 - Replace Historic
        • 2403 - Service Check List
        • 2404 - User fields
        • 2410 - Open Service
        • 2411 - New Service
        • 2412 - Service Change of State
        • 2413 - Save Service
        • 2420 - End intervention
        • 2421 - New / Start intervention
      • Unlock
        • 2500 - Unlock Module
      • Prospects
        • 2600 - Prospects Module
        • 2605 - Save Prospect
      • Unlock Customer
        • 3000 - Unlock Customer Module
      • POS
        • 3100 - Mobile POS Module
      • Purchases
        • 3200 - Purchases Module
        • 3206 - Read Barcode
        • 3210 - Quantity screen
      • Suppliers
        • 3300 - Suppliers Module
        • 3305 – Save Supplier
        • 3354 - User fields
      • Dashboards
        • 3400 - Dashboards Module
      • My Team
        • 3500 - My Team Module
      • Surveys
        • 3600 - Surveys Module
      • Login
        • 3700 - Login validation
      • General
        • 3800 - Select Document Customer
        • 3801 - Clear Document Lines
        • 3802 – On Select Document Type
        • 3803 - On Select Document Delivery Place
      • Transport Document
        • 3900 - Open Module
      • Email
        • 4000 - Send document
        • 4001 - Send report
      • Print
        • 4200 - Print document
      • Menu
        • 4300 - Main Menu
  • MSS 5.0
    • Functions Kalipso to MSS
      • Article
        • EXT_Article_GetDefaultUnit
        • EXT_Article_GetImage
        • EXT_Article_GetPrice
        • EXT_Article_GetTotals
        • EXT_Article_Record
        • EXT_Article_Select
        • EXT_Article_ValidatePriceAndDiscounts
      • Customer
        • EXT_Customer_Record
        • EXT_Customer_Select
      • Deposit
        • EXT_Deposit_Cancel
        • EXT_Deposits_OpenModule
      • Document
        • EXT_Document_Cancel
        • EXT_Document_AddLine
        • EXT_Document_DeleteLine
        • EXT_Document_EditLine
        • EXT_Document_Finalize
        • EXT_Document_Recalculate
        • EXT_Documents_OpenModule
      • GMAPS
        • EXT_GMAPS_LoadMap
      • GPS
        • EXT_GPS_Connect
        • EXT_GPS_GetAddressFromLatLong
        • EXT_GPS_GetCoordinates
        • EXT_GPS_GetCoordinatesFromAddress
      • Lots
        • EXT_Lots_OpenSeletion
      • MSS
        • EXT_MSS_GetCurrentVersion
      • Numerators
        • EXT_Numerators_GetNextNumber
        • EXT_Numerators_SetNewNumber
      • Orders
        • EXT_Orders_OpenModule
      • Print
        • EXT_Print_Document
        • EXT_Print_Report
      • Prospect
        • EXT_Prospect_Record
        • EXT_Prospect_Select
      • Receipts
        • EXT_Receipts_Cancel
        • EXT_Receipts_OpenModule
      • Resources
        • EXT_Resources_OpenWindow
      • Sales
        • EXT_Sales_OpenModule
      • Service
        • EXT_Service_Cancel
      • Synchronize
        • EXT_Synchronize_OpenModule
      • TransportDocument
        • EXT_TransportDocument_OpenModule
      • User
        • EXT_User_GetCurrentUserInfo
      • EndOfDay
        • EXT_EndOfDay_OpenModule
    • Functions MSS to Kalipso
      • Menu Button Kalipso
      • Get Price in Kalipso
      • Quantity screen
      • Entity selection in Kalipso
      • Article selection in Kalipso
      • Clients
        • 100 - (Clients) Clients Module
        • 102 - (Clients) New Client
        • 104 - (Clients) Duplicate Client
        • 120 - (Clients->Delivery Place) New Client Delivery Place
        • 121 - (Clients->Delivery Place) Modify Client Delivery Place
        • 122 - (Clients->Delivery Place) See Client Delivery Place
        • 151 - (Clients) General Information
        • 152 - (Clients) Commercial Information
        • 153 - (Clients) Observations (only Smartphone)
        • 154 - (Clients) User Fields
        • 155 - (Clients) Localization
        • 156 - (Clients) Delivery Places List
        • 157 - (Clients) Contacts List
        • 158 - (Clients) New Visit Report
        • 159 - (Clients) Documents List
        • 160 - (Clients) Balance / New Receipt
        • 161 - (Clients) New Order
        • 162 - (Clients) New Sale
        • 163 - (Clients) New Purchase
        • 164 - (Clients) User Table 1 (Smartphone) / Dashboards (Tablet)
        • 165 - (Clients) User Table 2 (only Smartphone)
        • 166 - (Clients) Client Sales Statistics (only Tablet)
        • 167 - (Clients) Client Price Table (only Tablet)
      • Articles
        • 200 - (Articles) Articles Module
      • Diary
        • 300 - (Diary) Diary Module
      • Orders
        • 400 - (Orders) Orders Module
        • 402 - (Orders) Save Document
        • 403 - (Orders) Cancel Document
        • 406 - (Orders) Read Barcode
        • 410 – (Orders) Quantity screen
        • 411 - (Orders) Add Article
        • 412 - (Orders) Select Article Price
        • 413 - (Orders) Document validations
        • 414 - (Orders) Edit Article Line
        • 415 - (Orders) Origin Document Screen
        • 416 - (Orders) Delete line
      • Sales
        • 500 - (Sales) Sales Module
        • 502 - (Sales) Save Document
        • 503 - (Sales) Cancel Document
        • 506 - (Sales) Read Barcode
        • 510 - (Sales) Quantity screen
        • 511 - (Sales) Add Article
        • 512 - (Sales) Select Article Price
        • 513 - (Sales) Document validations
        • 514 - (Sales) Edit Article Line
        • 515 - (Sales) Origin Document Screen
        • 516 - (Sales) Delete line
      • Receipts
        • 600 - (Receipts) Receipts Module
        • 602 - (Receipts) Save Document
        • 603 - (Receipts) Cancel Receipt
      • Charges
        • 700 - (Charges) Charges Module
      • Visits
        • 800 - (Visits) Visits Module
      • Bank Deposits
        • 900 - (Bank Deposits) Bank Deposits Module
      • Documents
        • 1000 - (Documents) Documents Module
      • Personal Expenses
        • 1100 - (Personal Expenses) Personal Expenses Module
      • Synchronize
        • 1200 - (Synchronize) Synchronize Module
      • Start of Day
        • 1300 - (Start of Day) Start of Day Module
        • 1301 - (Start of Day) Save Start of Day
      • End of Day
        • 1400 - (End of Day) End of Day Module
        • 1401 - (End of Day) Save End of Day
      • Objectives
        • 1500 - (Objectives) Objectives Module
      • Deliveries
        • 1600 - (Deliveries) Deliveries Module
        • 1610 - (Deliveries) Open delivery
        • 1612 - (Deliveries) Set Delivery as Not Delivered
        • 1620 - (Deliveries) Save Delivery
        • 1623 - (Deliveries) Product Barcode
      • Online Requests
        • 1700 - (Online Requests) Online Requests Module
      • Payments/Advancements
        • 1800 - (Payments/Advancements) Payments/Advancements Modulentitled
      • Stocks
        • 1900 - (Stocks) Stocks Module
      • Equipments
        • 2100 - (Equipments) Equipments Module
      • Catalog
        • 2200 - (Catalog) Catalog Module
        • 2210 - (Catalog) Catalog v3 shopping cart
      • Agenda
        • 2300 - (Agenda) Agenda Module
      • Services
        • 2400 - (Services) Services Module
        • 2401 - (Services) Replace Check List
        • 2402 - (Services) Replace Historic
        • 2420 - (Services) End intervention
      • Unlock
        • 2500 - (Unlock) Unlock Module
      • Prospects
        • 2600 - (Prospects) Prospects Module
      • Unlock Customer
        • 3000 - (Unlock Customer) Unlock Customer Module
      • POS
        • 3100 - (POS) Mobile POS Module
      • Purchases
        • 3200 - (Purchases) Purchases Module
        • 3206 - (Purchases) Read Barcode
        • 3210 - (Purchases) Quantity screen
      • Suppliers
        • 3300 - (Suppliers) Suppliers Module
      • Dashboards
        • 3400 - (Dashboards) Dashboards Module
      • My Team
        • 3500 - (My Team) My Team Module
      • Surveys
        • 3600 - (Surveys) Surveys Module
      • Login
        • 3700 - (Login) Login validation
      • General
        • 3800 - Select Document Customer
        • 3801 - Clear Document Lines
      • Transport Document
        • 3900 - (Transport Document) Open Module
      • Email
        • 4000 - (Email) Send document
        • 4001 - (Email) Send report
      • Print
        • 4200 - (Print) Print document
Powered by GitBook
On this page

Was this helpful?

MSS - Google Maps

MSS - Extensibility - MSS - Google Maps

The functions presented in this area are common to versions 5.0 and 5.1 of the MSS.

P_GMAPS_LoadMap

This action set creates the file Temp_Map_File.html in PFOLDER with HTML to display the map in a Web Control. The base HTML is in the MapTemplate_New.html file that is in the FilesToSend of the Framework project.

The input parameters are:

  • inMyLocation_Latitude - Latitude of “my location”

  • inMyLocation_Longitude - Longitude of “my location”

If the coordinates are valid, the map will show a green flag.

  • inShowPoint – If it shows a point (used in prospecting to show the location search point and in customers to show the customer's location), the possible values are:

    • 1 - Shows point

    • 0 - Do not show

  • inPoint_Latitude - Point latitude

  • inPoint_Longitude - Point longitude

  • inCanChangePointLocation - If the point on the map can be repositioned elsewhere (used on clients to change the client's location), the possible values are:

    • 1 - You can change the location of the point

    • 0 - You cannot change

  • inZoom - Zoom value to apply on the map

Show multiple points on the map:

  • inPointsList_Latitude - Latitudes of points separated by SEP_ACL ( ASCII 7 )

  • inPointsList_Longitude - Longitudes of points separated by SEP_ACL ( ASCII 7 )

  • inPointsList_Title - Point descriptions separated by SEP_ACL ( ASCII 7 )

  • inPointsList_Icon - Dots icons separated by SEP_ACL ( ASCII 7 )

  • inPointsList_GooglePlacesID - PlacesID dos pontos separadas por SEP_ACL ( ASCII 7 )

  • inPointsShowLabels - If the point labels are shown (text above the point to identify the location), the possible values are:

    • 1 - Show labels

    • 0 - Do not show

Result:

This action set returns 2 values:

  • Result

    • 0 - Error

    • 1 - OK

  • MapFile - Generated file name

There is no parameter for the Google Maps key, because it is loaded into the action set.

The template has the setCenter function that takes as parameters the latitude and longitude of the location you want to appear centered on the map, zoom applied in this case is fixed and is 16.

PreviousPresentationNextFunctions Kalipso to MSS

Last updated 4 years ago

Was this helpful?