/// <summary>
 /// Parent Constructor.
 /// </summary>
 /// <param name="parent">parent batch</param>
 public MJournal(MJournalBatch parent)
     : this(parent.GetCtx(), 0, parent.Get_TrxName())
 {
     //this (parent.getCtx(), 0, parent.get_TrxName());
     SetClientOrg(parent);
     SetGL_JournalBatch_ID(parent.GetGL_JournalBatch_ID());
     SetC_DocType_ID(parent.GetC_DocType_ID());
     SetPostingType(parent.GetPostingType());
     //
     SetDateDoc(parent.GetDateDoc());
     SetC_Period_ID(parent.GetC_Period_ID());
     SetDateAcct(parent.GetDateAcct());
     SetC_Currency_ID(parent.GetC_Currency_ID());
 }       //	MJournal