Mark ruminants for sale
CLEM.Activities.RuminantActivityMarkForSale
Identifies individuals to be sold in addition to those identified by herd management rules

The Manage ruminants activity arranges for the purchase and sale of a range of individuals in any time step to maintain the herd, however there may be other times where you require individuals not handled by any other activities (e.g. Perform predictive seasonal stocking or Sell dry breeders) to be identified for sale and sold if conditions are met by the Buy and sell ruminants activity. This activity will mark the individuals specified with a Ruminant group as ready to sell if possible. These individuals will be identified as MarkedSale in all output.

The following parameters are used to define this activity

This parameter provides the ability to indicate the reason for the sale from the list of herd sale reasons for the individuals specified. You will only be allowed to specify a sale-based reason.

If this option is on any existing sale flag will be replaced by the Reason for sale of this activity. If you want to preserve the reason for previous sale, turn this option off and the Reason for salewill only be applied to selected individuals not currently marked for sale.

This parameter will determine what action is taken if there are insufficient resources to perform this activity.
You can report an error and stop the simulation, skip this activity or use the resources available. See What to do when resources are limiting

The following components will add additional functionality to this activity
This activity provides the following identifiers: Number identified and Number checked
This activity provides the following units for components: fixed and per head

Any Activity fee will include financial costs based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

Any Labour requirement will include labour allocation to perform this activity based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

This activity will occur in every time-step unless timers are used to restrict this activity (see Using timers).

This activity will obey all Ruminant activity group in the simulation tree at and above it's location.
Only one instance of this component is permitted in each Activity.

This activity is performed during the Animal mark event of the setup and time-step events. This ensures that activities can perform mark and sale decisions prior to the full Manage ruminants activity which can make adjustments.
At present there is no way of making a forced sale in this activity and all marked individuals can be adjusted by the manage herd and destocking activities.
This activity will occur at the same time as Manage ruminant tag and Wean ruminants so the order of these three components needs to be considered if they rely on actions of each other.

Marking is performed on all individuals of the current herd considering any filter groups above the activity.

This task will be performed on individuals meeting the following filter rules
Not marked for sale or OverwriteEsistingSaleFlag is True
You can further customise this selection by adding Ruminant groups

The following status values apply to this activity and are shown in Activities performed report:
![]() |
blank | The activity was not considered in this time-step |
![]() |
not needed | No individuals met the criteria for sale |
![]() |
success |
Individuals were marked for sale |
See also