updateMeasure
@nmi-agro/fdm-source / fdm-core/src / updateMeasure
Function: updateMeasure()
updateMeasure(
fdm,principal_id,b_id_measure,m_start?,m_end?):Promise<void>
Defined in: fdm-core/src/measure.ts:446
Updates the start and/or end date of an existing measure.
Pass m_end = null to clear the end date (doorlopend).
Parameters
fdm
PgDatabase
The FDM instance providing the connection to the database.
principal_id
any
The ID of the principal making the request.
b_id_measure
any
The instance ID of the measure.
m_start?
Date
Optional new start date.
m_end?
Date | null
Optional new end date. Pass null to clear it (doorlopend).
Returns
Promise<void>