Have you heard about the “RecurringTransactionService” Object yet?

We in SAP Business One Support think you might like to know more about this!

We know that certain business transactions are repeated on a regular basis. For example, every month a company orders a stack of photocopy paper from their vendor. 

In SAP Business One, you can define templates for such recurring transactions using regular sales and purchasing document drafts. The templates contain the required business partner, item, accounting, and shipping information as well as the recurrence details.

Starting from SAP Business One Version 9.2 PL05, you can use the “RecurringTransactionService” Object to do the following: 

How to Use the “RecurringTransactionService” Object in SAP Business One SDK-1

  1. Get a list of all available recurring transactions.
  2. Get information about a particular recurring transaction.
  3. Remove a set of recurring transactions.
  4. Execute a set of recurring transactions.

 

The variables that need to be defined first are:

How to Use the “RecurringTransactionService” Object in SAP Business One SDK2

 

Then you can use these code snippets:


1. Get a List of all available recurring transactions

How to Use the “RecurringTransactionService” Object in SAP Business One SDK3

2. Get Information about a particular recurring transaction

How to Use the “RecurringTransactionService” Object in SAP Business One SDK4

3. Remove/Delete a set of recurring transactions

How to Use the “RecurringTransactionService” Object in SAP Business One SDK5

4. Execute a set of recurring transactions

How to Use the “RecurringTransactionService” Object in SAP Business One SDK6

You can copy these code snippets from the original SAP Community article.

Note: The creation of the Recurring Transaction Template can only be done manually via SAP Business One Client.

 

Source:https://www.linkedin.com/pulse/how-use-recurringtransactionservice-object-sap-business-kennedy/

by MTC Systems on Jan 26, 2017 5:10:00 AM

Leave a comment