Click or drag to resize

SalesOrderCreateWorkOrders Method

Creates a WorkOrder objects based on the SalesOrder.

Namespace:  Aloe.EnterpriseOne.Model.Crm.Sales
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public IEnumerable<WorkOrder> CreateWorkOrders(
	DocumentType documentType,
	bool handleSerializedProducts
)

Parameters

documentType
Type: Aloe.EnterpriseOne.Model.GeneralDocumentType
The document type of the created work orders.
handleSerializedProducts
Type: SystemBoolean
if set to true creates separate work orders for serialized products.

Return Value

Type: IEnumerableWorkOrder
The newly created WorkOrder objects.
Remarks
Work order is created only for the lines, which have a valid and default recipe.
See Also