Batch release rule

Description

The batch release rule specified on the batch definition is called to determine what quantity should be added to the batch when the load is added to the batch.

Synopsis


#include "factor.h"

double myrule(ldp, bdp)

LOAD   *ldp;  /* Pointer to the arriving load.  */
BATCHDEF *bdp;  /* Pointer to the batch definition. */

Returns

Quantity to add to the batch.

Install

The following function called from ucini1 installs the rule as rule 39:


sedfbq (39, myrule);
Note: Function sequfb may be used to call standard system rules.