/// <summary> /// Load Specific Document Details /// </summary> /// <returns>error message or null</returns> public override String LoadDocumentDetails() { MCash cash = (MCash)GetPO(); SetDateDoc(cash.GetStatementDate()); BeginningBalance = cash.GetBeginningBalance(); HeaderCasbookID = cash.GetC_CashBook_ID(); // Amounts SetAmount(Doc.AMTTYPE_Gross, cash.GetStatementDifference()); // Set CashBook Org & Currency MCashBook cb = MCashBook.Get(GetCtx(), cash.GetC_CashBook_ID()); SetC_CashBook_ID(cb.GetC_CashBook_ID()); SetC_Currency_ID(cb.GetC_Currency_ID()); // Contained Objects _lines = LoadLines(cash, cb); log.Fine("Lines=" + _lines.Length); return(null); }