How to insert and update rows into a record using Application Engine and Component Interface?

Questions by sai123

Showing Answers 1 - 5 of 5 Answers

gnrao

  • May 9th, 2008
 

There are many ways to insert and update rows into a record either using Application Engine or Component Interfaces.
In Application Engine programe, using peopelecode we can create a standalone rowset with the record to be updated. Fill the rowset using rowset.fill method. Manipulate the data and use record.Save() method.

In Component Interfaces, if the record is in the CI buffer. If the data is populated in the buffer, the CI Save method will update or insert the data in the record.

Hemalatha

  • Sep 21st, 2011
 

Using Test Component Interface we can insert and update the rows

  Was this answer useful?  Yes

Vivek Semwal

  • Jul 30th, 2014
 

Eg Insert 5 rows and Update 5 rows in record which is used in component.
1.Create a CI of the underlying component
2.Create Application engine and use the newly created CI in that.
3.Create AET record to pass value

Now How it will Process
Your Application engine will select the relevant rows and check whether it exists in database or not, if not use create method else use get method of CI .

There are methods which will function for insert /Update.
InsertItem(1) for inserting rows
Item(1) for updating rows

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions