Gets the invoicing status corresponding to the canceled status.
Gets the invoicing status corresponding to the canceled status.
Gets the Canceled movement status, throws an exception if none is found.
Gets the Canceled movement status, throws an exception if none is found.
Fetches movements based on the days and date specified and returns them as well as the information about their expected devlivery date and their creation.
Fetches movements based on the days and date specified and returns them as well as the information about their expected devlivery date and their creation. Telling if the movements were on time or late.
a list with a map with the count of late and on time movements as well as the date analised.
Gets the Completed movement status, throws an exception if none is found.
Gets the Completed movement status, throws an exception if none is found.
Gets the movements for a specific order that are completed an non-invoiced
Gets the movements for a specific order that are completed an non-invoiced
a list of movements pertaining to the filters applied.
Gets the movement by id in order to fetch its create location and returns its id.
Gets the movement by id in order to fetch its create location and returns its id.
Gets the default com.atomizesoftware.spin.models.MovementStatus.
Gets the default com.atomizesoftware.spin.models.MovementStatus.
the default movement status.
Finds a duplicate for the given movement if one exists.
Finds a duplicate for the given movement if one exists.
the movement if any.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets a Incident Type by the provided code
Gets a Incident Type by the provided code
a com.atomizesoftware.spin.models.IncidentType if one is found
if no incident type was found.
Gets a list of com.atomizesoftware.spin.models.IncidentType with the requested filters
Gets a list of com.atomizesoftware.spin.models.IncidentType with the requested filters
Gets a list of com.atomizesoftware.spin.models.IncidentType for synchronization with mobile devices.
Gets a list of com.atomizesoftware.spin.models.IncidentType for synchronization with mobile devices.
Creates an incident type.
Creates an incident type.
the newly created incident type.
if we can't create the incident type.
Inserts a com.atomizesoftware.spin.models.Movement
Inserts a com.atomizesoftware.spin.models.Movement
to insert
Gets the invoicing status corresponding to the invoiced status.
Gets the invoicing status corresponding to the invoiced status.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets a Invoicing Status by the provided code
Gets a Invoicing Status by the provided code
a com.atomizesoftware.spin.models.InvoicingStatus if one is found
if no invoicing status was found.
Gets a list of com.atomizesoftware.spin.models.InvoicingStatus with the requested filters
Gets a list of com.atomizesoftware.spin.models.InvoicingStatus with the requested filters
Gets a list of the most recent movement for each user.
Gets a list of the most recent movement for each user.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets a Movement Status by the provided code
Gets a Movement Status by the provided code
a com.atomizesoftware.spin.models.MovementStatus if one is found
if no movement status was found.
Gets a list of com.atomizesoftware.spin.models.MovementStatus with the requested filters
Gets a list of com.atomizesoftware.spin.models.MovementStatus with the requested filters
Gets a list with the movement types and a counter of completed movements on the previous 24 hours.
Gets a list with the movement types and a counter of completed movements on the previous 24 hours.
Gets a list of com.atomizesoftware.spin.models.MovementType for the given user
Gets a list of com.atomizesoftware.spin.models.MovementType for the given user
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets a Movement Type by the provided code
Gets a Movement Type by the provided code
a com.atomizesoftware.spin.models.MovementType if one is found
if no movement type was found.
Gets a list of com.atomizesoftware.spin.models.MovementType with the requested filters
Gets a list of com.atomizesoftware.spin.models.MovementType with the requested filters
Gets a list of com.atomizesoftware.spin.models.MovementTypes for synchronization with mobile devices.
Gets a list of com.atomizesoftware.spin.models.MovementTypes for synchronization with mobile devices.
Gets a list of com.atomizesoftware.spin.models.Movement with the requested filters for a given user.
Gets a list of com.atomizesoftware.spin.models.Movement with the requested filters for a given user.
Gets the movements that have an order id equal to the one specified and are not archived.
Gets the movements that have an order id equal to the one specified and are not archived.
a list of non archived movements with the specified order id.
Gets all the movements that were changed after the specified timestamp.
Gets all the movements that were changed after the specified timestamp.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Returns a tuple with the list of movements that pertain to the selection filters and the total number of matching records that were found.
Returns a tuple with the list of movements that pertain to the selection filters and the total number of matching records that were found.
If no limit was imposed in the selection filters, we do not make another query to get the total number of records, as they were already returned.
Updates a com.atomizesoftware.spin.models.IncidentType
Updates a com.atomizesoftware.spin.models.InvoicingStatus
Updates a com.atomizesoftware.spin.models.Movement
Updates a com.atomizesoftware.spin.models.Movement
to update
Updates a com.atomizesoftware.spin.models.MovementStatus
Updates a com.atomizesoftware.spin.models.MovementType
Updates several movements taking into account the fields chosen to be updated.
Updates several movements taking into account the fields chosen to be updated.
Returns a list of movements that have the plan flag true and have the specified order id.
Returns a list of movements that have the plan flag true and have the specified order id.
list of movements that are plan and have the specified order id.
(Since version 2016-03-17) Is part of plugin logic, please implement your own
Implements functions related to com.atomizesoftware.spin.models.Movement and its related entities: com.atomizesoftware.spin.models.InvoicingStatus, com.atomizesoftware.spin.models.MovementStatus, com.atomizesoftware.spin.models.MovementType and com.atomizesoftware.spin.models.IncidentType