Function: updateFertilizerApplication()
updateFertilizerApplication(
fdm
,principal_id
,p_app_id
,p_id
,p_app_amount
,p_app_method
,p_app_date
):Promise
<void
>
Defined in: fdm-core/src/fertilizer.ts:699
Updates an existing fertilizer application record.
Parameters
fdm
any
The FDM instance providing the connection to the database. The instance can be created with createFdmServer.
principal_id
any
The ID of the principal performing the update.
p_app_id
any
The unique identifier of the fertilizer application record.
p_id
any
The unique identifier of the associated fertilizer.
p_app_amount
any
The amount of fertilizer applied.
p_app_method
any
The method used for applying the fertilizer.
p_app_date
any
The date when the fertilizer was applied.
Returns
Promise
<void
>
Throws
Thrown if the update operation fails due to insufficient permissions or a database error.