Skip to content

AMZSMobileManagement

Codeunit service for mobile-specific business operations: authentication, GPS tracking, work order management, AKC (roadside assistance) operations, invoicing, and attachments.

Service Details

PropertyValue
Endpoint/Codeunit/AMZSMobileManagement
SOAP Namespaceurn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement
Full URL (Production)http://nav.amzs.si:7047/DynamicsNAV90-WSC/WS/AMZS%20d.d./Codeunit/AMZSMobileManagement

Authentication & User Management

AuthUser

Authenticates a mobile user by username and PIN code. Returns user details including blocked status, existence flag, resource ID, responsibility center, and telephone number.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AuthUser

Parameters:

NameTypeDescription
userNameStringThe username to authenticate
pINCodeStringThe user's PIN code
blockedBooleanOutput: whether the user account is blocked
existsBooleanOutput: whether the user exists in the system
resourceIDStringOutput: the resource ID associated with the user
responsibilityCenterStringOutput: the user's assigned responsibility center
telNoStringOutput: the user's telephone number

Returns: MMAuthUser_Result

FieldTypeDescription
return_valueBooleanWhether authentication was successful
blockedBooleanWhether the user account is blocked
existsBooleanWhether the user exists in the system
resourceIDStringThe resource ID associated with the user
responsibilityCenterStringThe user's assigned responsibility center

ChangeUserPIN

Changes the PIN code for an authenticated user. Requires the current PIN for verification before setting the new one.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:ChangeUserPIN

Parameters:

NameTypeDescription
userNameStringThe username whose PIN is being changed
pINCodeStringThe current PIN code for verification
newPINCodeStringThe new PIN code to set

Returns: Boolean -- true if the PIN was changed successfully.


GetLastVersion

Retrieves the latest version identifier from the server. Used to check if the mobile app needs to sync new data.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetLastVersion

Parameters:

NameTypeDescription
iDVersionIntegerThe current version ID known to the client

Returns: Integer -- The latest version ID on the server.


UserAllowToPost

Checks the posting permissions for a given user, including whether they can post general documents, mobile invoices, and AKC commitments.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UserAllowToPost

Parameters:

NameTypeDescription
userNameStringThe username to check permissions for
allowToPostBooleanOutput: whether the user is allowed to post
allowToPostMobileInvoiceBooleanOutput: whether the user can post mobile invoices
allowToCommitToAKCBooleanOutput: whether the user can commit to AKC

Returns: MMUserAllowToPost_Result

FieldTypeDescription
allowToPostBooleanWhether the user is allowed to post
allowToPostMobileInvoiceBooleanWhether the user can post mobile invoices
allowToCommitToAKCBooleanWhether the user can commit to AKC

GetUserID

Retrieves the NAV user ID for a given performer code. Used to map mobile performer identifiers to backend user IDs.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetUserID

Parameters:

NameTypeDescription
performerCodeStringThe performer code to look up
userIDPerformerStringOutput: the resolved NAV user ID

Returns: String -- The NAV user ID for the given performer.


GetAKCRespCenter

Retrieves the AKC responsibility center for a given user. Determines which regional center the user operates under for roadside assistance dispatching.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetAKCRespCenter

Parameters:

NameTypeDescription
userNameStringThe username to look up
responsibilityCenterStringOutput: the AKC responsibility center code

Returns: String -- The responsibility center code.


GetUserStatus

Retrieves the current status of a resource (performer). Used to determine if a user is available, busy, or in another state.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetUserStatus

Parameters:

NameTypeDescription
resourceIDStringThe resource ID to check
statusStringOutput: the current status string

Returns: MMGetUserStatus_Result

FieldTypeDescription
return_valueBooleanWhether the status was retrieved successfully
statusStringThe current status of the user/resource

UpdatePerfomerStatus

Updates the status of a performer/resource in the backend system. Used when a field worker changes their availability.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdatePerfomerStatus

Parameters:

NameTypeDescription
resourceIDStringThe resource ID to update
pefromerStatusIntegerThe new status code to set

Returns: void

INFO

Note the typo in the parameter name pefromerStatus -- this matches the backend service definition and must be used as-is.


GetPerfomerStatus

Retrieves the current status of a performer as a string value.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetPerfomerStatus

Parameters:

NameTypeDescription
resourceIDStringThe resource ID to query
pefromerStatusStringOutput: the performer's current status

Returns: String -- The performer status as a string.


Location & Tracking

UpdateUserLocation

Sends the current GPS location of a user to the backend for real-time tracking. Includes device token for push notification routing and optional association with a work order.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateUserLocation

Parameters:

NameTypeDescription
resourceIDStringThe resource ID of the user
latitudeBigDecimalGPS latitude coordinate
longitudeBigDecimalGPS longitude coordinate
statusIntegerThe current status code of the user
measurementDTDateTimestamp of the GPS measurement
deviceTokenStringFirebase/push notification device token
workOrderNoStringThe work order number currently being serviced (if any)

Returns: Boolean -- true if the location update was accepted.


AcceptBooking

Accepts or updates the status of a booking assignment. Used when a field worker responds to a dispatched job. Returns the updated status.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AcceptBooking

Parameters:

NameTypeDescription
resourceIDStringThe resource ID of the performer accepting the booking
statusStringThe new status to set for the booking
measurementDTDateTimestamp of the status change
entryNoIntegerThe booking entry number
latitudeBigDecimalGPS latitude at time of acceptance
longitudeBigDecimalGPS longitude at time of acceptance

Returns: String -- The resulting booking status.


ConnectUserVehicle

Associates a user/resource with a service vehicle. Used when a field worker begins using a specific company vehicle.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:ConnectUserVehicle

Parameters:

NameTypeDescription
resourceIDStringThe resource ID of the user
vehicleNoStringThe vehicle number to associate
entryNoIntegerThe booking or assignment entry number

Returns: Boolean -- true if the vehicle was connected successfully.


GetMobileData

Retrieves comprehensive mobile tracking data for a booking entry, including all location addresses, timestamps, and distance calculations for multi-leg journeys (starting location, intermediate destination, final location, vehicle end location).

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetMobileData

Parameters:

NameTypeDescription
entryNoIntegerThe booking entry number
startingLocationAddStringOutput: starting location address
intermediateDestinationAddStringOutput: intermediate destination address
finalLocationAddStringOutput: final location address
vehicleEndLocationAddStringOutput: vehicle end location address
startingLocationStringOutput: starting location coordinates/ID
intermediateDestinationStringOutput: intermediate destination coordinates/ID
finalLocationStringOutput: final location coordinates/ID
vehicleEndLocationStringOutput: vehicle end location coordinates/ID
towStartTimeStringOutput: tow start time
intermediateTimeStringOutput: intermediate stop time
finalDestinationTimeStringOutput: final destination arrival time
vehicleEndLocationTimeStringOutput: vehicle end location time
towStartDateDateOutput: tow start date
intermediateDateDateOutput: intermediate stop date
finalDestinationDateDateOutput: final destination date
vehicleEndLocationDateDateOutput: vehicle end location date
partDistance1BigDecimalOutput: distance of first leg (km)
partDistance2BigDecimalOutput: distance of second leg (km)
partDistance3BigDecimalOutput: distance of third leg (km)
distanceBigDecimalOutput: total distance (km)

Returns: MMGetMobileData_Result

FieldTypeDescription
startingLocationAddStringStarting location address
intermediateDestinationAddStringIntermediate destination address
finalLocationAddStringFinal location address
vehicleEndLocationAddStringVehicle end location address
startingLocationStringStarting location coordinates/ID
intermediateDestinationStringIntermediate destination coordinates/ID
finalLocationStringFinal location coordinates/ID
vehicleEndLocationStringVehicle end location coordinates/ID
towStartTimeStringTow start time
intermediateTimeStringIntermediate stop time
finalDestinationTimeStringFinal destination arrival time
vehicleEndLocationTimeStringVehicle end location time
towStartDateDateTow start date
intermediateDateDateIntermediate stop date
finalDestinationDateDateFinal destination date
vehicleEndLocationDateDateVehicle end location date
partDistance1BigDecimalDistance of first leg (km)
partDistance2BigDecimalDistance of second leg (km)
partDistance3BigDecimalDistance of third leg (km)
distanceBigDecimalTotal distance (km)

UpdateAKcBookingLocation

Triggers a server-side update of the AKC booking location data based on the document number. The server recalculates location-related fields from tracked GPS data.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateAKcBookingLocation

Parameters:

NameTypeDescription
docNoStringThe document number of the AKC booking

Returns: void


UpdateAkcBookingManualDistance

Allows manual entry of distance values for an AKC booking, overriding GPS-calculated distances. Supports separate day, night, and holiday distance values.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateAkcBookingManualDistance

Parameters:

NameTypeDescription
akcBookingEntryNoIntegerThe AKC booking entry number
manualEntryKmBooleanWhether manual distance entry is enabled
distanceDayBigDecimalDistance traveled during daytime (km)
distanceNightBigDecimalDistance traveled during nighttime (km)
distanceHolidayBigDecimalDistance traveled during holidays (km)

Returns: void


Work Order Operations

CreateWorkOrder

Creates a new work order in the backend system. Returns the assigned document number. Used to initiate field service jobs from the mobile app.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CreateWorkOrder

Parameters:

NameTypeDescription
entryNoIntegerThe booking entry number to create the work order from
documentNoStringOutput: the generated document number
memberNoStringThe membership number of the customer
performerIDIntegerThe ID of the performer assigned to the work order
performerTypeIntegerThe type of performer (e.g., technician, tow driver)
orderDateDateThe date of the work order
orderStatusIntegerThe initial status of the work order
customerNameStringThe customer's name
customerAddressStringThe customer's address
postCodeStringThe customer's postal code
cityStringThe customer's city

Returns: String -- The assigned document number for the new work order.


SendWorkOrderTime

Records a time event on a work order. Used to track arrival time, start of work, completion, and other time-stamped milestones.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:SendWorkOrderTime

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
measurementDTDateThe timestamp of the time event
timeTypeIntegerThe type of time event being recorded

Returns: void


SendReturnToAMZS

Marks whether the customer's vehicle needs to be returned to an AMZS facility after service.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:SendReturnToAMZS

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
returnToAMZSBooleanWhether the vehicle should be returned to AMZS

Returns: void


UpdatePerfomerOnWO

Updates the performer (field worker) assigned to an existing work order. Used for reassigning jobs to different AKC performers.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdatePerfomerOnWO

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
aKCPerfomerNoStringThe new AKC performer number to assign

Returns: void


CreateOrderReservation

Creates a service appointment reservation for a customer. Includes date, time slot, vehicle details, and work instructions.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CreateOrderReservation

Parameters:

NameTypeDescription
resDateDateThe reservation date
resFromTimeStringStart time of the reservation slot
resToTimeStringEnd time of the reservation slot
customerNoStringThe customer number
vehicleNoStringThe vehicle number
counterStatusBigDecimalThe vehicle's odometer/counter reading
workInsturctionStringWork instructions or notes for the reservation
webUserIdStringThe web user ID creating the reservation

Returns: void


AKC (Roadside Assistance) Operations

UpdateAKCRoadAss

Updates roadside assistance details on a work order, including additional working hours and toll charges.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateAKCRoadAss

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
additionalWorkingHoursIntegerNumber of additional working hours
tollBigDecimalToll charges incurred

Returns: void


UpdateAKCRoadAss2

Extended version of UpdateAKCRoadAss with additional fields for SPI success status, agreed pricing, new membership sign-up, fuel pumping, and vehicle unlocking services.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateAKCRoadAss2

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
additionalWorkingHoursIntegerNumber of additional working hours
tollBigDecimalToll charges incurred
successfulSPIBooleanWhether the roadside repair (SPI) was successful
agreedPriceBigDecimalAn agreed-upon price with the customer
newMembershipBooleanWhether a new AMZS membership was signed
fuelPumpingBooleanWhether fuel pumping service was provided
unlockingBooleanWhether vehicle unlocking service was provided

Returns: void

INFO

This is the v2 variant of UpdateAKCRoadAss. Prefer this method when additional detail fields are needed for the roadside assistance report.


UpdateAKCTow

Updates towing operation details on a work order, including loading difficulty, rescue operations, car lift usage, waiting time, and toll charges.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateAKCTow

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
difficultLoadingIntegerDifficulty level of vehicle loading
rescueIntegerRescue operation type/level
carLiftBooleanWhether a car lift was used
carLiftUseIntegerDuration or count of car lift usage
waitingIntegerWaiting time (in minutes)
tollBigDecimalDomestic toll charges
tollEUBigDecimalEU/international toll charges

Returns: void


UpdateAKCTow2

Extended version of UpdateAKCTow with additional fields for secure vehicle storage, empty ride tracking, and agreed pricing.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UpdateAKCTow2

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
difficultLoadingIntegerDifficulty level of vehicle loading
rescueIntegerRescue operation type/level
carLiftBooleanWhether a car lift was used
carLiftUseIntegerDuration or count of car lift usage
waitingIntegerWaiting time (in minutes)
tollBigDecimalDomestic toll charges
tollEUBigDecimalEU/international toll charges
secureStorageofVehiclesIntegerDuration or type of secure vehicle storage
emptyRideBooleanWhether an empty ride (no vehicle transported) occurred
agreedPriceBigDecimalAn agreed-upon price with the customer

Returns: void

INFO

This is the v2 variant of UpdateAKCTow. Prefer this method when additional detail fields are needed for the towing report.


AKCPriceCalculation

Triggers server-side price calculation for all AKC services on a work order. Must be called before retrieving prices with AKCGetPrice or AKCGetPricePurchase.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AKCPriceCalculation

Parameters:

NameTypeDescription
workOrderNoStringThe work order number to calculate prices for

Returns: void


AKCGetPrice

Retrieves the calculated sales price for AKC services on a work order, broken down into net amount, gross amount (including VAT), and the VAT amount.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AKCGetPrice

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
amount2BigDecimalOutput: net amount (excluding VAT)
amountIncVATBigDecimalOutput: gross amount (including VAT)
vATAmountBigDecimalOutput: VAT amount

Returns: MMAKCGetPrice_Result

FieldTypeDescription
amount2BigDecimalNet amount (excluding VAT)
amountIncVATBigDecimalGross amount (including VAT)
vATAmountBigDecimalVAT amount

AKCGetPricePurchase

Retrieves the calculated purchase price for AKC services on a work order. Used when billing involves a third-party or subcontracted service.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AKCGetPricePurchase

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
amount2BigDecimalOutput: net purchase amount (excluding VAT)
amountIncVATBigDecimalOutput: gross purchase amount (including VAT)
vATAmountBigDecimalOutput: purchase VAT amount

Returns: MMAKCGetPricePurchase_Result

FieldTypeDescription
amount2BigDecimalNet purchase amount (excluding VAT)
amountIncVATBigDecimalGross purchase amount (including VAT)
vATAmountBigDecimalPurchase VAT amount

AkcPostInv

Posts (finalizes) an AKC sales invoice for a work order. Returns the posted invoice number.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AkcPostInv

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
invoiceNoStringOutput: the posted invoice number
webUserIDStringThe web user ID performing the posting

Returns: String -- The posted invoice number.


AkcPostShipment

Posts (finalizes) an AKC shipment for a work order. Returns the posted shipment/invoice number.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AkcPostShipment

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
invoiceNoStringOutput: the posted shipment/invoice number
webUserIDStringThe web user ID performing the posting

Returns: String -- The posted shipment/invoice number.


CommitToAkC

Commits a completed work order to the AKC system for final processing and archival.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CommitToAkC

Parameters:

NameTypeDescription
documentNoStringThe document number to commit

Returns: void


AKCIsMobileWorkOrder

Flags a work order as originating from the mobile application.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AKCIsMobileWorkOrder

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
isMobileBooleanWhether the work order is a mobile work order

Returns: void


AKCManualItemEntry

Adds a manual item entry (material or service line) to an AKC work order with a specified quantity. The unit price is determined by the backend based on the item number.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AKCManualItemEntry

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
itemNoStringThe item number to add
qtyBigDecimalThe quantity of the item

Returns: void


AKCManualItemEntryAggredPrice

Adds a manual item entry to an AKC work order with an agreed (overridden) unit price. Used when the price differs from the standard catalog price.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:AKCManualItemEntryAggredPrice

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
itemNoStringThe item number to add
unitPriceBigDecimalThe agreed unit price

Returns: void


DeleteAllAKCSalesLInes

Deletes all AKC sales lines from a work order. Used to reset the invoice lines before recalculation or when the work order details change significantly.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:DeleteAllAKCSalesLInes

Parameters:

NameTypeDescription
workOrderNoStringThe work order number

Returns: void

WARNING

This operation is destructive and removes all existing sales lines. Ensure price recalculation is triggered after calling this method.


Customer & Vehicle

CheckCreateVehicleChassis

Checks for an existing vehicle by chassis number and creates a new vehicle record if one does not exist. Associates the vehicle with a customer. Returns the vehicle code.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CheckCreateVehicleChassis

Parameters:

NameTypeDescription
chassisNoStringThe vehicle chassis (VIN) number
customerNoStringThe customer number to associate the vehicle with
vehicleCodeStringOutput: the vehicle code (existing or newly created)
webUserIDStringThe web user ID performing the operation

Returns: String -- The vehicle code.


GetCustomerData

Retrieves full customer details by customer number, including name, address, contact information, and membership number.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetCustomerData

Parameters:

NameTypeDescription
customerNoStringThe customer number to look up
customerNameStringOutput: the customer's name
customerAddressStringOutput: the customer's street address
customerPostCodeStringOutput: the customer's postal code
customerCityStringOutput: the customer's city
customerEmailStringOutput: the customer's email address
customerMobilePhoneNoStringOutput: the customer's mobile phone number
membershipNoStringOutput: the customer's AMZS membership number

Returns: MMGetCustomerData_Result

FieldTypeDescription
customerNameStringThe customer's name
customerAddressStringThe customer's street address
customerPostCodeStringThe customer's postal code
customerCityStringThe customer's city
customerEmailStringThe customer's email address
customerMobilePhoneNoStringThe customer's mobile phone number
membershipNoStringThe customer's AMZS membership number

CreateMembershipCustomer

Creates a new customer record linked to an AMZS membership. Used when a membership holder does not yet have a customer record in the system.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CreateMembershipCustomer

Parameters:

NameTypeDescription
noStringOutput: the created customer number
membershipNoStringThe AMZS membership number
performerCodeStringThe performer code creating the customer

Returns: String -- The newly created customer number.


Fast Invoice

CreateFastInvoiceMobile

Creates and posts a fast (simplified) invoice from the mobile app in a single operation. Used for quick point-of-sale transactions in the field. Returns the posted invoice number.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CreateFastInvoiceMobile

Parameters:

NameTypeDescription
customerNoStringThe customer number
itemNoStringThe item number being invoiced
paymentMethodCodeStringThe payment method code (e.g., cash, card)
customerNameStringThe customer's name
customerAddressStringThe customer's address
customerPostCodeStringThe customer's postal code
customerCityStringThe customer's city
postedInvNoStringOutput: the posted invoice number
performerCodeStringThe performer code creating the invoice

Returns: String -- The posted invoice number.


CalculateFastInvPrice

Calculates the price for a fast invoice before posting. Returns both the net amount (excluding VAT) and gross amount (including VAT).

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:CalculateFastInvPrice

Parameters:

NameTypeDescription
customerNoStringThe customer number
itemNoStringThe item number to calculate the price for
amountNoVATBigDecimalOutput: net amount (excluding VAT)
amountIncVATBigDecimalOutput: gross amount (including VAT)
performerCodeStringThe performer code

Returns: MMCalculateFastInvPrice_Result

FieldTypeDescription
amountNoVATBigDecimalNet amount (excluding VAT)
amountIncVATBigDecimalGross amount (including VAT)

Attachments & Documents

UploadAttachemnt

Uploads a file attachment to a work order. The attachment content must be base64-encoded. Can also be used to upload signature images.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UploadAttachemnt

Parameters:

NameTypeDescription
workOrderIDStringThe work order ID to attach the file to
userIDStringThe user ID performing the upload
attachmentStringThe file content, base64-encoded
fileNameStringThe file name including extension
signatureBooleanWhether this attachment is a signature image

Returns: void

WARNING

The attachment parameter must contain base64-encoded binary data. Ensure the encoded string does not exceed the SOAP message size limit configured on the server. Note the typo in the method name (Attachemnt) -- this matches the backend service definition.


UploadAttachemntInv

Uploads a file attachment to an invoice document. Functions identically to UploadAttachemnt but targets invoice documents instead of work orders.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:UploadAttachemntInv

Parameters:

NameTypeDescription
docNoStringThe invoice document number to attach the file to
userIDStringThe user ID performing the upload
attachmentStringThe file content, base64-encoded
fileNameStringThe file name including extension
signatureBooleanWhether this attachment is a signature image

Returns: void

WARNING

The attachment parameter must contain base64-encoded binary data. Note the typo in the method name (Attachemnt) -- this matches the backend service definition.


SetSignature

Sets the signature status on a work order. Used to indicate whether a customer signature has been captured.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:SetSignature

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
signatureIntegerThe signature status code

Returns: void


GetSignature

Retrieves the signature status or data for a work order.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetSignature

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
signatureStringOutput: the signature data or status

Returns: String -- The signature data or status string.


GetDMSImage

Retrieves a DMS (Document Management System) image associated with a work order as a base64-encoded string.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:GetDMSImage

Parameters:

NameTypeDescription
workOrderNoStringThe work order number
base64StringTextStringOutput: the image as a base64-encoded string

Returns: String -- The base64-encoded image data.


DMSServiceInit

Initializes the DMS (Document Management System) service connection. Must be called before performing DMS-related operations.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:DMSServiceInit

Parameters: None

Returns: void


Communication

SMSSend

Sends an SMS notification related to a document (e.g., work order completion notification to the customer). The SMS content and recipient are determined server-side based on the document.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:SMSSend

Parameters:

NameTypeDescription
docNoStringThe document number triggering the SMS

Returns: void


SendMailAkcWorkoOrder

Sends an email with AKC work order details to the specified email address.

SOAP Action: urn:microsoft-dynamics-schemas/codeunit/AMZSMobileManagement:SendMailAkcWorkoOrder

Parameters:

NameTypeDescription
docNoStringThe work order document number
emailStringThe recipient email address
webUserIDStringThe web user ID sending the email

Returns: void

INFO

Note the typo in the method name (WorkoOrder) -- this matches the backend service definition and must be used as-is in the SOAP action.