title: how to create a new record in form datasource from x++
body: <p>In form <code>Journal Voucher</code> (AR>Journal> PaymentJournal> clicking button<code>Lines</code>). I want to create a new record from x++ code.   </p>
  
  <p>I have seen few methods in the form viz create(), initvalue(), ledgerJournalEngine_custPayment... etc which are called when we press <code>ctrl+n</code> . How we could use these methods through x++ code to create a record using standard functionality.</p>
  
  <p>plz help.</p>