Class DefaultPostLockboxService
- All Implemented Interfaces:
BatchService<PostLockboxServiceBatch>,PostLockboxService
This service creates lockbox batches, lockbox batch items and clearing information. The lockbox batch root entity and associated entities are sent in the POST request as a payload. After the lockbox batches are created, they are posted immediately and can be processed further using the Manage Lockbox Batches app..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_LOCKBOXPOST_IN |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Accounts Receivable Lockbox Integration(SAP_COM_0759) |
| Scope Items: | Lockbox(1JT), Lockbox(OJT) |
| Authentication Methods: | x509 |
| Business Object: | Accounts Receivable Lockbox |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PostLockboxService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPostLockboxService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createLockboxBatch(LockboxBatch lockboxBatch) Deprecated.Create a newLockboxBatchentity and save it to the S/4HANA system.createLockboxBatchItem(LockboxBatchItem lockboxBatchItem) Deprecated.Create a newLockboxBatchItementity and save it to the S/4HANA system.Deprecated.Fetch multipleLockboxBatchentities.Deprecated.Fetch multipleLockboxBatchItementities.Deprecated.Fetch multipleLockboxClearingentities.getLockboxBatchByKey(String lockboxBatchInternalKey, String lockboxBatch) Deprecated.Fetch a singleLockboxBatchentity using key fields.getLockboxBatchItemByKey(String lockboxBatchInternalKey, String lockboxBatchItem, String lockboxBatch) Deprecated.Fetch a singleLockboxBatchItementity using key fields.getLockboxClearingByKey(String paymentAdvice, String paymentAdviceItem, String paymentAdviceAccount, String paymentAdviceAccountType, String companyCode) Deprecated.Fetch a singleLockboxClearingentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultPostLockboxService
public DefaultPostLockboxService()Deprecated.Creates a service usingPostLockboxService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PostLockboxServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePostLockboxService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<PostLockboxServiceBatch>
-
getAllLockboxBatch
Deprecated.Description copied from interface:PostLockboxServiceFetch multipleLockboxBatchentities.- Specified by:
getAllLockboxBatchin interfacePostLockboxService- Returns:
- A fluent helper to fetch multiple
LockboxBatchentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLockboxBatchByKey
@Nonnull public LockboxBatchByKeyFluentHelper getLockboxBatchByKey(String lockboxBatchInternalKey, String lockboxBatch) Deprecated.Description copied from interface:PostLockboxServiceFetch a singleLockboxBatchentity using key fields.- Specified by:
getLockboxBatchByKeyin interfacePostLockboxService- Parameters:
lockboxBatchInternalKey- Short Key for Bank Statement (Surrogate Key)Constraints: Not nullable, Maximum length: 8
lockboxBatch- Batch number (bundle number)Constraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
LockboxBatchentity 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 theexecutemethod on the fluent helper object.
-
createLockboxBatch
@Nonnull public LockboxBatchCreateFluentHelper createLockboxBatch(@Nonnull LockboxBatch lockboxBatch) Deprecated.Description copied from interface:PostLockboxServiceCreate a newLockboxBatchentity and save it to the S/4HANA system.- Specified by:
createLockboxBatchin interfacePostLockboxService- Parameters:
lockboxBatch-LockboxBatchentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
LockboxBatchentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllLockboxBatchItem
Deprecated.Description copied from interface:PostLockboxServiceFetch multipleLockboxBatchItementities.- Specified by:
getAllLockboxBatchItemin interfacePostLockboxService- Returns:
- A fluent helper to fetch multiple
LockboxBatchItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLockboxBatchItemByKey
@Nonnull public LockboxBatchItemByKeyFluentHelper getLockboxBatchItemByKey(String lockboxBatchInternalKey, String lockboxBatchItem, String lockboxBatch) Deprecated.Description copied from interface:PostLockboxServiceFetch a singleLockboxBatchItementity using key fields.- Specified by:
getLockboxBatchItemByKeyin interfacePostLockboxService- Parameters:
lockboxBatchInternalKey- Short Key for Bank Statement (Surrogate Key)Constraints: Not nullable, Maximum length: 8
lockboxBatchItem- Memo Record Number (Line Item Number in Bank Statement)Constraints: Not nullable, Maximum length: 5
lockboxBatch- Batch number (bundle number)Constraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
LockboxBatchItementity 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 theexecutemethod on the fluent helper object.
-
createLockboxBatchItem
@Nonnull public LockboxBatchItemCreateFluentHelper createLockboxBatchItem(@Nonnull LockboxBatchItem lockboxBatchItem) Deprecated.Description copied from interface:PostLockboxServiceCreate a newLockboxBatchItementity and save it to the S/4HANA system.- Specified by:
createLockboxBatchItemin interfacePostLockboxService- Parameters:
lockboxBatchItem-LockboxBatchItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
LockboxBatchItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllLockboxClearing
Deprecated.Description copied from interface:PostLockboxServiceFetch multipleLockboxClearingentities.- Specified by:
getAllLockboxClearingin interfacePostLockboxService- Returns:
- A fluent helper to fetch multiple
LockboxClearingentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLockboxClearingByKey
@Nonnull public LockboxClearingByKeyFluentHelper getLockboxClearingByKey(String paymentAdvice, String paymentAdviceItem, String paymentAdviceAccount, String paymentAdviceAccountType, String companyCode) Deprecated.Description copied from interface:PostLockboxServiceFetch a singleLockboxClearingentity using key fields.- Specified by:
getLockboxClearingByKeyin interfacePostLockboxService- Parameters:
paymentAdvice- Payment Advice NumberConstraints: Not nullable, Maximum length: 16
paymentAdviceItem- Payment Advice Line ItemConstraints: Not nullable, Maximum length: 5
paymentAdviceAccount- Account NumberConstraints: Not nullable, Maximum length: 10
paymentAdviceAccountType- Payment Advice Account TypeConstraints: Not nullable, Maximum length: 1
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
LockboxClearingentity 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 theexecutemethod on the fluent helper object.
-