Skip to main content

Posts

Showing posts from September, 2018

OnDeleteRow Event (RelationshipType Events)

OnDeleteRow Event Fires when user delete a row in Relationship grid. If return false, the action will abort. Arguments Name Type Description relationshipID String Relationship ID. relatedID String Related Item ID. Default is undefined if Relationship is Null Relationship gridApplet Object Grid control object. Details can refer to Aras Innovator official online API guide . See Also Aras Innovator Client Framework

OnInsertRow Event (RelationshipType Events)

OnInsertRow Event Fires when user insert a row in Relationship grid. Arguments Name Type Description relationshipID String Relationship ID. relatedID String Related Item ID. Default is undefined if Relationship is Null Relationship gridApplet Object Grid control object. Details can refer to Aras Innovator official online API guide . See Also Aras Innovator Client Framework

OnSelectRow Event (RelationshipType Events)

OnSelectRow Event Fires when user select a row in Relationship grid. Arguments Name Type Description relationshipID String Relationship ID. relatedID String Related Item ID. Default is undefined if Relationship is Null Relationship gridApplet Object Grid control object. Details can refer to Aras Innovator official online API guide . See Also Aras Innovator Client Framework

OnShowItem Event (ItemType Events)

OnShowItem Event Fires when opening an Item, and will overwrite original function. If return false, the action will abort. Arguments Name Type Description inDom Object Item node. inArgs Object An object contains the following properies: viewMode: default is "tab view". isOpenInTearOff: true if Item opens in a tear-off window. See Also Aras Innovator Client Framework

OnAfterNew Event (ItemType Events)

OnAfterNew Event Fires after executing "New Item" or "New Relationship" command. If return false, the action will abort. Arguments Name Type Description inDom Object Item node, but it is an "empty node" having the following attributes: type, id, action, and typeId. See Also Aras Innovator Client Framework

OnNew Event (ItemType Events)

OnNew Event Fires when executing "New Item" or "New Relationship" command, and will overwrite original function. If return false, the action will abort. Arguments Name Type Description inDom Object Item node, but it is an "empty node" only having "type" attribute. See Also Aras Innovator Client Framework

OnBeforeNew Event (ItemType Events)

OnBeforeNew Event Fires before executing "New Item" or "New Relationship" command. If return false, the action will abort. Arguments Name Type Description inDom Object Item node, but it is an "empty node" only having "type" attribute. See Also Aras Innovator Client Framework

window.handleItemChange Method (Instance Window Object)

window.handleItemChange Method Changes current Item's property value. If Item is not locked, the function will do nothing. Syntax window.handleItemChange( propNm , propVal , dataType , datePattern ) Parameters Name Type Description propNm String Required. Property name. propVal String Required. Property value. dataType String Optional. Property data type. If the data type is "date", this parameter is required, otherwise it is not necessary to pass. datePattern String Optional. Date pattern, supports the following values: short_date (Default) short_date_time long_date long_date_time See Also Instance Window Object Aras Innovator Client Framework

window.findCurrentRelationshipsTab Method (Item Window Object)

window.findCurrentRelationshipsTab Method Gets Relationship window object with selected Relationship tab. Syntax window.findCurrentRelationshipsTab() Return Value An Relationship Window Object or Null. Returns displaying Relationship Window Object if Relationship tab control exists, otherwise returns Null. See Also Item Window Object Aras Innovator Client Framework