@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 |
Communication Scenario: | Supplier Invoice Integration (SAP_COM_0057), Supplier Invoice Integration (SAP_COM_0057), Supplier Invoice Integration (SAP_COM_0057) |
Scope Items: | Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), Procurement of Direct Materials (J45) |
Constructor and Description |
---|
DefaultSupplierInvoiceIntegrationService() |
public DefaultSupplierInvoiceIntegrationService()
public SuplrInvcItemPurOrdRefFluentHelper getAllSuplrInvcItemPurOrdRef()
SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
entities.getAllSuplrInvcItemPurOrdRef
in interface SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
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 SuplrInvcItemPurOrdRefByKeyFluentHelper getSuplrInvcItemPurOrdRefByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
entity using key fields.getSuplrInvcItemPurOrdRefByKey
in interface SupplierInvoiceIntegrationService
supplierInvoice
- The document number is the key the system uses to access the accounting document.Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.Constraints: Not nullable, Maximum length: 4
supplierInvoiceItem
- By entering the number of an item in an invoice document, you can go straight to the line that you want to process.Constraints: Not nullable, Maximum length: 6
SuplrInvcItemPurOrdRef
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 SuplrInvcItemPurOrdRefCreateFluentHelper createSuplrInvcItemPurOrdRef(SuplrInvcItemPurOrdRef suplrInvcItemPurOrdRef)
SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
entity and save it to the S/4HANA system.createSuplrInvcItemPurOrdRef
in interface SupplierInvoiceIntegrationService
suplrInvcItemPurOrdRef
- SuplrInvcItemPurOrdRef
entity object that will be created in the S/4HANA system.SuplrInvcItemPurOrdRef
entity. To perform execution, call the execute
method on the fluent helper object.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
- Number which uniquely identifies an invoice document.Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.Constraints: 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
- The document number is the key the system uses to access the accounting document.Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.Constraints: 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
- Number which uniquely identifies an invoice document.Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.Constraints: Not nullable, Maximum length: 4
taxCode
- Tax codeConstraints: Not nullable, Maximum length: 2
supplierInvoiceTaxCounter
- By entering the number of an item in an invoice document, you can go straight to the line that you want to process.Constraints: 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
- IndicatorConstraints: none
fiscalYear
- Constraints: Not nullable, Maximum length: 4supplierInvoice
- Constraints: Not nullable, Maximum length: 10execute
method on the fluent helper object.public CancelFluentHelper cancel(Calendar postingDate, String reversalReason, String fiscalYear, String supplierInvoice)
SupplierInvoiceIntegrationService
Creates a fluent helper for the Cancel OData function import.
cancel
in interface SupplierInvoiceIntegrationService
postingDate
- Time StampConstraints: Not nullable, Precision: 0
reversalReason
- Constraints: Not nullable, Maximum length: 2fiscalYear
- Constraints: Not nullable, Maximum length: 4supplierInvoice
- Constraints: Not nullable, Maximum length: 10execute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.