@Named public class DefaultSupplierInvoiceIntegrationService extends Object implements SupplierInvoiceIntegrationService
This service enables you to create supplier invoices through an API call from a source system outside SAP S/4HANA Cloud. Furthermore the service enables you to read, release and cancel existing supplier invoices from the SAP S/4HANA Cloud system.
Reference: SAP API Business Hub
OData Service: | API_SUPPLIERINVOICE_PROCESS_SRV |
API Version: | 1 |
Constructor and Description |
---|
DefaultSupplierInvoiceIntegrationService() |
public DefaultSupplierInvoiceIntegrationService()
public SupplierInvoiceFluentHelper getAllSupplierInvoice()
SupplierInvoiceIntegrationService
SupplierInvoice
entities.getAllSupplierInvoice
in interface SupplierInvoiceIntegrationService
SupplierInvoice
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceByKeyFluentHelper getSupplierInvoiceByKey(String supplierInvoice, String fiscalYear)
SupplierInvoiceIntegrationService
SupplierInvoice
entity using key fields.getSupplierInvoiceByKey
in interface SupplierInvoiceIntegrationService
supplierInvoice
- Document Number of an Invoice DocumentConstraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal YearConstraints: Not nullable, Maximum length: 4
SupplierInvoice
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceCreateFluentHelper createSupplierInvoice(SupplierInvoice supplierInvoice)
SupplierInvoiceIntegrationService
SupplierInvoice
entity and save it to the S/4HANA system.createSupplierInvoice
in interface SupplierInvoiceIntegrationService
supplierInvoice
- SupplierInvoice
entity object that will be created in the S/4HANA system.SupplierInvoice
entity. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceItemGLAcctFluentHelper getAllSupplierInvoiceItemGLAcct()
SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entities.getAllSupplierInvoiceItemGLAcct
in interface SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceItemGLAcctByKeyFluentHelper getSupplierInvoiceItemGLAcctByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entity using key fields.getSupplierInvoiceItemGLAcctByKey
in interface SupplierInvoiceIntegrationService
supplierInvoice
- Accounting Document NumberConstraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal YearConstraints: Not nullable, Maximum length: 4
supplierInvoiceItem
- Four Character Sequential Number for Coding BlockConstraints: Not nullable, Maximum length: 4
SupplierInvoiceItemGLAcct
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceItemGLAcctCreateFluentHelper createSupplierInvoiceItemGLAcct(SupplierInvoiceItemGLAcct supplierInvoiceItemGLAcct)
SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entity and save it to the S/4HANA system.createSupplierInvoiceItemGLAcct
in interface SupplierInvoiceIntegrationService
supplierInvoiceItemGLAcct
- SupplierInvoiceItemGLAcct
entity object that will be created in the S/4HANA system.SupplierInvoiceItemGLAcct
entity. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceTaxFluentHelper getAllSupplierInvoiceTax()
SupplierInvoiceIntegrationService
SupplierInvoiceTax
entities.getAllSupplierInvoiceTax
in interface SupplierInvoiceIntegrationService
SupplierInvoiceTax
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceTaxByKeyFluentHelper getSupplierInvoiceTaxByKey(String supplierInvoice, String fiscalYear, String taxCode, String supplierInvoiceTaxCounter)
SupplierInvoiceIntegrationService
SupplierInvoiceTax
entity using key fields.getSupplierInvoiceTaxByKey
in interface SupplierInvoiceIntegrationService
supplierInvoice
- Document Number of an Invoice DocumentConstraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal YearConstraints: Not nullable, Maximum length: 4
taxCode
- Tax CodeConstraints: Not nullable, Maximum length: 2
supplierInvoiceTaxCounter
- Document Item in Invoice DocumentConstraints: Not nullable, Maximum length: 6
SupplierInvoiceTax
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public SupplierInvoiceTaxCreateFluentHelper createSupplierInvoiceTax(SupplierInvoiceTax supplierInvoiceTax)
SupplierInvoiceIntegrationService
SupplierInvoiceTax
entity and save it to the S/4HANA system.createSupplierInvoiceTax
in interface SupplierInvoiceIntegrationService
supplierInvoiceTax
- SupplierInvoiceTax
entity object that will be created in the S/4HANA system.SupplierInvoiceTax
entity. To perform execution, call the execute
method on the fluent helper object.public ReleaseFluentHelper release(Boolean discountDaysHaveToBeShifted, String fiscalYear, String supplierInvoice)
SupplierInvoiceIntegrationService
Creates a fluent helper for the Release OData function import.
release
in interface SupplierInvoiceIntegrationService
discountDaysHaveToBeShifted
- Constraints: nonefiscalYear
- Constraints: Not nullable, Maximum length: 4supplierInvoice
- Constraints: Not nullable, Maximum length: 10execute
method on the fluent helper object.public CancelFluentHelper cancel(String supplierInvoice, String fiscalYear, String reversalReason, Calendar postingDate)
SupplierInvoiceIntegrationService
Creates a fluent helper for the Cancel OData function import.
cancel
in interface SupplierInvoiceIntegrationService
supplierInvoice
- Constraints: Not nullable, Maximum length: 10fiscalYear
- Constraints: Not nullable, Maximum length: 4reversalReason
- Constraints: Not nullable, Maximum length: 2postingDate
- Constraints: Not nullable, Precision: 0execute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.