Click or drag to resize

SerialNumberConstraintM, D Constructor

Namespace:  Aloe.EnterpriseOne.Model.Logistics.Core
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public SerialNumberConstraint(
	string code,
	bool enforceSerialization,
	Func<M, IEnumerable<D>> getDetails,
	Func<D, int> getDetailNumber,
	Func<D, Product> getDetailProduct,
	Func<D, Quantity> getDetailQuantity,
	Func<IDataAttribute> getDetailSerialNumberAttribute
)

Parameters

code
Type: SystemString
The code.
enforceSerialization
Type: SystemBoolean
true to enforce serialization.
getDetails
Type: SystemFuncM, IEnumerableD
The get details function. Details usually are document lines.
getDetailNumber
Type: SystemFuncD, Int32
The get detail line number.
getDetailProduct
Type: SystemFuncD, Product
The get detail product function.
getDetailQuantity
Type: SystemFuncD, Quantity
The get detail quantity function.
getDetailSerialNumberAttribute
Type: SystemFuncIDataAttribute
The get detail serial number attribute function.
See Also