PreMaterialLinePairing

This is a delegate of type UserExitPreMaterialLinePairing and has the following parameters.

  • IWorkdoc doc

  • List<POLine> poLines

  • ref double poTotal

  • ref double grTotal

This user exit is called prior to material line pairing. It is not called for the pairing of service line items.

The List<POLine> poLines parameter contains the purchase order lines that are available for pairing.

The ref double poTotal parameter contains the total value of all purchase orders that are considered during line pairing.

The ref double grTotal parameter contains the total outstanding value of all purchase order numbers that are considered during line pairing. For example, the value of total goods received against all purchase orders, minus the value of the total invoice receipt against all purchase orders.

Note This user exit can be used to skip the MIRA process of line pairing by setting the ref double poTotal and ref double grTotal parameters both to zero, although this is not recommended.

This user exit is available during export processing only.