Skip to main content

Hello K2 Community Members,

I have to create custom Store Procedure for Update and I was thinking that it would be nice to see the code of Standard SQL Service Object Methods like Create, Update etc. I tried to found in SQL Database but no luck. Can someone tell me the exact location of the code for Service Object Methods. Any help will be appreciated.

Thanks,

K2 Learner1

Hi,

 

maybe my blog post will give you some advice:

K2 SmartForms – Mark Redundant Rows in a List View

 

Let me know if you need more help.

 

Cheers,

Markus


"All the CRUD (CREATE, READ, UPDATE, DELETE) methods including LIST will only be created as Service Object methods if there is a primary key on the table. If there is no primary key on the table only a List method will be created."


 


http://help.k2.com/onlinehelp/k2blackpearl/userguide/current/webframe.html#Tables.html


 


I suppose you can also mimic CRUD method using store procs, but I think they may show up as "EXECUTE" types.


Reply