domain: client
language: javascript
class Item class
Writes a modified record to the item dataset. Call post to save changes made to a record after append, insert or edit method was called.
The post
method
checks if an item is in edit or insert state , otherwise raises exception
triggers the on_before_post event handler if one is defined for the item
checks if a record is valid, if not raises exception
If an item has details , post current record in details
add changes to an item change log
puts the item into browse state
triggers the on_after_post event handler if one is defined for the item.