Click or drag to resize

InvoiceCreatePaymentOrders Method

Creates PaymentOrder objects, which request payment for the invoice amount. A separate PaymentOrder is generated for each separate referenced SalesOrder.

Namespace:  Aloe.EnterpriseOne.Model.Crm.Invoicing
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public IEnumerable<PaymentOrder> CreatePaymentOrders(
	DocumentType documentType,
	bool forShipmentsOnly
)

Parameters

documentType
Type: Aloe.EnterpriseOne.Model.GeneralDocumentType
Type of the payment order document(s) to generate.
forShipmentsOnly
Type: SystemBoolean
if set to true the amount for payment only includes lines with BusinessReason = Shipment.

Return Value

Type: IEnumerablePaymentOrder
The collection of the generated payment orders.
See Also