public class CancelFluentHelper extends Object
Constructor and Description |
---|
CancelFluentHelper(Calendar postingDate,
String reversalReason,
String fiscalYear,
String supplierInvoice)
Creates a fluent helper object that will execute the Cancel OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
CancelInvoiceExportParameters |
execute()
The default ERP configuration context will be used.
|
CancelInvoiceExportParameters |
execute(ErpConfigContext erpConfigContext) |
CancelInvoiceExportParameters |
execute(ErpEndpoint erpEndpoint) |
public CancelFluentHelper(Calendar postingDate, String reversalReason, String fiscalYear, String supplierInvoice)
execute
method on the fluent helper object.reversalReason
- Constraints: Not nullable, Maximum length: 2supplierInvoice
- Constraints: Not nullable, Maximum length: 10postingDate
- Time StampConstraints: Not nullable, Precision: 0
fiscalYear
- Constraints: Not nullable, Maximum length: 4public CancelInvoiceExportParameters execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public CancelInvoiceExportParameters execute(ErpConfigContext erpConfigContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpConfigContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public CancelInvoiceExportParameters execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2017 SAP SE. All rights reserved.