Skip to main content

removeGrazingIntention

@svenvw/fdm-source


@svenvw/fdm-source / fdm-core/src / removeGrazingIntention

Function: removeGrazingIntention()

removeGrazingIntention(fdm, principal_id, b_id_farm, b_grazing_intention_year): Promise<void>

Defined in: fdm-core/src/grazing_intention.ts:73

Alpha

Removes a grazing intention for a specific farm and year.

Parameters

fdm

any

The FDM instance providing the connection to the database.

principal_id

any

The unique identifier of the principal performing the operation.

b_id_farm

any

The unique identifier of the farm.

b_grazing_intention_year

any

The year of the grazing intention to remove.

Returns

Promise<void>

A promise that resolves when the grazing intention has been successfully removed.