SalesOrderCreateWorkOrders Method |
Namespace:
Aloe.EnterpriseOne.Model.Crm.Sales
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic IEnumerable<WorkOrder> CreateWorkOrders(
DocumentType documentType,
bool handleSerializedProducts
)
Public Function CreateWorkOrders (
documentType As DocumentType,
handleSerializedProducts As Boolean
) As IEnumerable(Of WorkOrder)
public:
IEnumerable<WorkOrder^>^ CreateWorkOrders(
DocumentType^ documentType,
bool handleSerializedProducts
)
member CreateWorkOrders :
documentType : DocumentType *
handleSerializedProducts : bool -> IEnumerable<WorkOrder>
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