4.4 Server Events ............................................................................................................................. 28
4.4.1 Context Item ................................................................................................................ 28
4.4.2 Methodology ................................................................................................................ 28
4.4.3 Available Server Events .............................................................................................. 29
4.4.4 Polymorphic ItemTypes Server Event Inheritance ...................................................... 32
4.4.5 Required Server Events .............................................................................................. 32
4.4.6 Server Event Version ................................................................................................... 32
4.5 Client Events .............................................................................................................................. 33
4.5.1 Context Item ................................................................................................................ 33
4.5.2 Form Events ................................................................................................................ 33
4.5.3 Field Events ................................................................................................................. 34
4.5.4 Grid Events .................................................................................................................. 35
4.5.5 Item Type Events ......................................................................................................... 38
4.5.6 Item Actions and Server Event .................................................................................... 39
5 Action Items ........................................................................................................... 40
5.1 Client Side Method Rules ........................................................................................................... 40
5.2 Server Side Method Rules ......................................................................................................... 40
5.3 Use Cases .................................................................................................................................. 42
5.3.1 Client side - has cache Item is dirty ............................................................................. 42
5.3.2 Client side - no cache Item - no item_query value ...................................................... 42
5.3.3 Client side - has cache Item not dirty - no item_query value ...................................... 43
5.3.4 Client side - has cache Item not dirty - has item_query value ..................................... 43
5.3.5 Client side - no cache Item - has item_query value .................................................... 44
5.3.6 Server side - has cache Item/is dirty ........................................................................... 44
5.3.7 Server side - no cache Item - no item_query value ..................................................... 45
5.3.8 Server side - has cache Item/not dirty - no item_query value ..................................... 45
5.3.9 Server side - has cache Item/not dirty - has item_query value ................................... 46
5.3.10 Server side - no cache Item - has item_query value ................................................... 46
6 Aras Innovator Methodology ................................................................................ 48
7 Cookbook ............................................................................................................... 49
7.1 Create an Aras Innovator Object................................................................................................ 49
7.2 Create an Item Object ................................................................................................................ 49
7.3 Query for an Item ....................................................................................................................... 50
7.4 Query and iterate over a set of Items ......................................................................................... 51
7.5 Query for an Item and return its configuration ........................................................................... 52
7.6 Query using AML to construct the query .................................................................................... 56
7.7 Query for the Item next promotion states ................................................................................... 56
7.8 Query using relationships as search criteria .............................................................................. 57
7.9 Add an Item configuration in one transaction ............................................................................. 59
7.10 Add a Named Permission .......................................................................................................... 60
7.11 Set a Private Permission for an Item ......................................................................................... 60
7.12 Apply a Generic Method ............................................................................................................. 62
7.13 Need to Save text to a File ......................................................................................................... 62
7.14 Need to Send Email from a Method ........................................................................................... 63
7.15 Need to Add a UI Control ........................................................................................................... 64
7.16 Need for Speed ApplySQL ......................................................................................................... 66
7.17 Need a callback for a Relationships Grid Row Event ................................................................ 67