Codeunit 70623627 EOS102 GeoLocation Handler

Codeunit 70623627 EOS102 GeoLocation Handler

Methods

GetGeoLocation

procedure GetGeoLocation(RecVariant: Variant; CreateIfMissing: Boolean): Record "EOS092 GeoLocation"

Parameters / Return Value

  • RecVariant Variant

  • CreateIfMissing Boolean

  • Returns Record "EOS092 GeoLocation"


GetCreateCustomGeoLocation

procedure GetCreateCustomGeoLocation(Address: Text[100]; City: Text[30]; PostCode: Code[20]; CountryRegionCode: Code[10]): Record "EOS092 GeoLocation"

Parameters / Return Value

  • Address Text[100]

  • City Text[30]

  • PostCode Code[20]

  • CountryRegionCode Code[10]

  • Returns Record "EOS092 GeoLocation"


RetrieveCoordinates

procedure RetrieveCoordinates(var EOS092GeoLocation: Record "EOS092 GeoLocation"; WithModify: Boolean)

Parameters / Return Value

  • EOS092GeoLocation Record "EOS092 GeoLocation"

  • WithModify Boolean


CreateGeoLocation

procedure CreateGeoLocation(RecVariant: Variant; RetrieveCoordinates: Boolean)

Parameters / Return Value

  • RecVariant Variant

  • RetrieveCoordinates Boolean


CreateGeoLocation

procedure CreateGeoLocation(RecRef: RecordRef; RetrieveCoordinates: Boolean): Record "EOS092 GeoLocation"

Parameters / Return Value

  • RecRef RecordRef

  • RetrieveCoordinates Boolean

  • Returns Record "EOS092 GeoLocation"


UpdateGeoLocations

procedure UpdateGeoLocations(var GeoLocation: Record "EOS092 GeoLocation"; RetrieveCoordinates: Boolean)

Parameters / Return Value

  • GeoLocation Record "EOS092 GeoLocation"

  • RetrieveCoordinates Boolean


SetFiltersGeoLocation

procedure SetFiltersGeoLocation(RecRef: RecordRef; var GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • RecRef RecordRef

  • GeoLocation Record "EOS092 GeoLocation"


SetGeoLocationFields

procedure SetGeoLocationFields(RecRef: RecordRef; var GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • RecRef RecordRef

  • GeoLocation Record "EOS092 GeoLocation"


MapRecToType

procedure MapRecToType(RecRef: RecordRef; var NewType: Enum "EOS092 GeoLocation Type")

Parameters / Return Value

  • RecRef RecordRef

  • NewType Enum "EOS092 GeoLocation Type"


MapTypeToRec

procedure MapTypeToRec(var RecNumber: Integer; GeoLocType: Enum "EOS092 GeoLocation Type")

Parameters / Return Value

  • RecNumber Integer

  • GeoLocType Enum "EOS092 GeoLocation Type"


Events

OnBeforeGetGeoLocation

local procedure OnBeforeGetGeoLocation(RecVariant: Variant; CreateIfMissing: Boolean; var IsHandled: Boolean; var EOS092GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • RecVariant Variant

  • CreateIfMissing Boolean

  • IsHandled Boolean

  • EOS092GeoLocation Record "EOS092 GeoLocation"


OnBeforeGetCreateCustomGeoLocation

local procedure OnBeforeGetCreateCustomGeoLocation(Address: Text[100]; City: Text[30]; PostCode: Code[20]; CountryRegionCode: Code[10]; var IsHandled: Boolean; var EOS092GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • Address Text[100]

  • City Text[30]

  • PostCode Code[20]

  • CountryRegionCode Code[10]

  • IsHandled Boolean

  • EOS092GeoLocation Record "EOS092 GeoLocation"


OnBeforeCreateGeoLocation

local procedure OnBeforeCreateGeoLocation(RecRef: RecordRef; RetrieveCoordinates: Boolean; var IsHandled: Boolean; var EOS092GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • RecRef RecordRef

  • RetrieveCoordinates Boolean

  • IsHandled Boolean

  • EOS092GeoLocation Record "EOS092 GeoLocation"


OnBeforeUpdateGeoLocations

local procedure OnBeforeUpdateGeoLocations(var RetrieveCoordinates: Boolean; var IsHandled: Boolean; var EOS092GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • RetrieveCoordinates Boolean

  • IsHandled Boolean

  • EOS092GeoLocation Record "EOS092 GeoLocation"


OnBeforeMapRecToType

local procedure OnBeforeMapRecToType(RecRef: RecordRef; var NewType: Enum "EOS092 GeoLocation Type"; var IsHandled: Boolean)

Parameters / Return Value

  • RecRef RecordRef

  • NewType Enum "EOS092 GeoLocation Type"

  • IsHandled Boolean


OnBeforeMapTypeToRec

local procedure OnBeforeMapTypeToRec(GeoLocType: Enum "EOS092 GeoLocation Type"; var RecNumber: Integer; var IsHandled: Boolean)

Parameters / Return Value

  • GeoLocType Enum "EOS092 GeoLocation Type"

  • RecNumber Integer

  • IsHandled Boolean


OnBeforeSetGeoLocationFields

local procedure OnBeforeSetGeoLocationFields(RecRef: RecordRef; var EOS092GeoLocation: Record "EOS092 GeoLocation"; var IsHandled: Boolean)

Parameters / Return Value

  • RecRef RecordRef

  • EOS092GeoLocation Record "EOS092 GeoLocation"

  • IsHandled Boolean


OnAfterSetGeoLocationFields

local procedure OnAfterSetGeoLocationFields(RecRef: RecordRef; var EOS092GeoLocation: Record "EOS092 GeoLocation")

Parameters / Return Value

  • RecRef RecordRef

  • EOS092GeoLocation Record "EOS092 GeoLocation"



EOS Labs -