About this task
To create a new self-define operation using Transaction Editor, do
the following steps:
- Creating a Java™ project in RAD.
- Add BTT nature to the project just created. Right-click the project and
select . Then the selected btt.xml file becomes the BTT nature file.
For more information, see Adding
and removing BTT nature
- Create a folder named transaction in the Java Project.
- Right-click the folder, and select . Expand BTT,
and select Transaction, and click Next.
The dialog box for creating a new transaction pops up. By default, the transaction
file name is BTTTransaction.transaction. Following is a screen capture:
- You can choose to create a self-define operation directly or using templates.
- To create a self-define operation directly, click Next,
and you are prompted to choose the transaction type.
Select Self-defined
Operation, and click Finish. An Operation
transaction is created and opened. There are five tabs in the Transaction
Editor for Operation transaction: Operation, Context, Data, Format, and Service.
- To create a self-define operation using templates, select the Create
a transaction using templates checkbox, and click Next.
You are prompted to choose one of the available templates to generate a transaction.
Select one operation template and click Finish. Then
the new operation is created and automatically opened.
Note: You can define
your transaction file as a template. Right-click the transaction file,
and select Save As BTT Transaction Template in the
pop-up menu. This transaction file will be displayed as one of the available
templates the next time when you create a new Transaction using templates.