A little known fact about consuming a page webservice is that certain triggers do fire even though you are calling the page through web services. I am really looking for more info or documentation on which triggers fire and what is allowed in each trigger when called via web services.
Here's what I know:
OnOpenPage - works normally. You can insert records, raise errors, create temp tables etc...
OnAfterGetRecord - can be used for calculations or calling other functions but not database activity. You can put an error statement in this trigger and it will not even throw an error. I have not been able to write to the database in this trigger not even a temp table.
Anyone have anymore info on this?
0
Answers
Read/ReadMultiple :
OnOpenPage
OnNextRecord
OnAfterGetRecord
Insert :
Page : OnOpenPage
Page: OnNewRecord
Table: PrimaryKey OnValidate
Page: PrimaryKey OnValidate
Page: OnInserRecord
Table: Insert
Table OtherFields OnValidate
Page: OtherFields OnValidate
Page: OnModifyRecord
Table: Modify
Page: On open page
Table: Field OnValidate
Page: Field OnValidate
Page: OnModifyRecord
Table: Mofidy
jwilder@stonewallkitchen.com