Cases considered for this update are: 1. One PK: Takes new sequence if PK not passed. 2. Two PK: Both PK should be mandatory except the case of secondary primary key (like agreementItemSeqId) where next subsequence is generated. 3. More than two PK's, all PK's should be mandatory except the fromDate. Thanks Amardeep Singh Jhajj for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749532 13f79535-47bb-0310-9956-ffa450edef68