Mileage DTO v15

This objects is meant to enter mileage for travelling to customer.

Field Name Type Category Constraint Reference Description
chargeOption ChargeOption Optional Allowed values { CHARGEABLE, NONCHARGEABLE, UNKNOWN } Defines if this mileage can be charged to the customer or not.
code String Optional length >= 1 & length <= 512 System code of this object, normally this correlates to the erp id given by the source system.
date Date Optional Date of travel.
destination String Optional length >= 1 & length <= 512 Destination of travel.
distance BigDecimal Optional Distance in standard company unit (mileage, kilometers depending on the companies standards).
driver boolean Optional Creator was driver as well.
object ObjectRef Optional Referenced object for this time effort. Typically referenced objects are BUSINESSPARTNER, SALESQUOTATION, SALESORDER, SERVICECALL, OPPORTUNITY, PRODUCTIONORDER and TIMEPROJECT.
privateCar boolean Optional Travel was with private car, in case the object indicates that the creator was the driver as well. He should get the kilometer kickback according to this settings.
remarks String Optional length >= 1 & length <= 2147483647 Remarks or notes of this mileage, can be used for any string based content which contains necessary information.
source String Optional length >= 1 & length <= 512 The start position of the journey.
travelEndDateTime DateTime Optional End travel of this mileage
travelStartDateTime DateTime Optional Start travel of this mileage.
type Identifier Optional MileageType : 11, 12, 13, 14 What type of travel was it exactly, possibilities can be specified by the system.