when to use batch editing / a check on cardinality constrain

Posted by agent_008_nl on 25-Jun-2015 12:06

http://demos.telerik.com/kendo-ui/grid/editing

http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

https://demos.devexpress.com/MVCxGridViewDemos/Editing/BatchEditing


( and http://stackoverflow.com/questions/17033025/kendo-grid-batch-editing-making-a-single-call-to-save)

A couple of years ago I built a cardinality check. So if an order can only exist with at least one orderline you cannot add that order without adding at least one orderline. This adds a complication: remove the last orderline and you'll have to ask the user to confirm he wants to remove the order header too. Moreover the batch editing screen is a bit more complicated to use (see above links). Do you see value for batch editing and / or a check on a cardinality? In which cases?

Regards, Stefan.

All Replies

Posted by agent_008_nl on 26-Jun-2015 01:37

For batch editing on itself the value is obvious (allow a user to update much quicker than would be possible using single row updates):

www.orderwise.co.uk/.../batch-edit-purchase-order-lines

www.orderwise.co.uk/.../batch-edit-po-line-costs-quantities

Nobody? Surprises me.

Posted by agent_008_nl on 28-Jun-2015 06:09

Ok, thought it out myself despite the silence. Just talking to myself, never mind. I was rethinking the reasons why I chose to make batchediting possible in a backend framework I wrote a couple of years ago. Had it all in mind before, but trying to make it clear again with some examples.  See for yourself how nice batchediting (so not saving record by

record but committing or cancelling a set of cud actions) can work here:

demos.telerik.com/.../defaultcs.aspx.

Of course others found businessneeds for batchediting, being able to do maintenance quicker is one of them:

www.orderwise.co.uk/.../batch-edit-purchase-order-lines.

 Watch the movie in the next link to see an example of a simple data-entry form using batch editing (notice all the nice tricks to make quick entry possible in this ui!):

www.eurekaaddons.co.uk/.../web-so-for-sage-200

 A nice extra could be that you can validate cardinalities. Is at least one orderline record and one delivery address required besides the orderheader? You have the create of all these records in one transaction.

Posted by Garry Hall on 28-Jun-2015 22:06

Sorry, I have no answer for your question. Thank you for sharing your thoughts with the rest of the community.

Posted by agent_008_nl on 29-Jun-2015 00:22

It is meant more as the opening of a discussion, an exchange of ideas, than as a question. But I can find inspiration elsewhere, never mind.

This thread is closed