Ejemplo n.º 1
0
        /// <summary>
        /// TAccountPropertyEnum defines a set of special accounts and here one of them
        /// can be selected. ..
        /// </summary>
        /// <param name="AENum"></param>
        public void SetSpecialAccountCode(TAccountPropertyEnum AENum)
        {
            FAccountRow = null;

            if (FAccountPropertyHandler == null)
            {
                FAccountPropertyHandler = new THandleAccountPropertyInfo(FLedgerInfo);
            }

            string account = FAccountPropertyHandler.GetAccountCode(AENum);

            if (!account.Equals(string.Empty))
            {
                AccountCode = account;
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// </summary>
        /// <returns></returns>
        public string SetCarryForwardAccount()
        {
            FAccountRow = null;

            if (FAccountPropertyHandler == null)
            {
                FAccountPropertyHandler = new THandleAccountPropertyInfo(FLedgerInfo);
            }

            string result = FAccountPropertyHandler.GetAccountCode("CARRYFORWARDCC");

            string[] arrStrHelp = result.Split(new Char[] { ',' });

            if (arrStrHelp.Length < 2)
            {
                return("");
            }

            AccountCode = arrStrHelp[0];
            return(arrStrHelp[1]);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// </summary>
        /// <returns></returns>
        public string SetCarryForwardAccount()
        {
            FAccountRow = null;

            if (FAccountPropertyHandler == null)
            {
                FAccountPropertyHandler = new THandleAccountPropertyInfo(FLedgerInfo);
            }

            string result = FAccountPropertyHandler.GetAccountCode("CARRYFORWARDCC");

            string[] arrStrHelp = result.Split(new Char[] { ',' });

            if (arrStrHelp.Length < 2)
            {
                return "";
            }

            AccountCode = arrStrHelp[0];
            return arrStrHelp[1];
        }
Ejemplo n.º 4
0
        /// <summary>
        /// TAccountPropertyEnum defines a set of special accounts and here one of them
        /// can be selected. ..
        /// </summary>
        /// <param name="AENum"></param>
        public void SetSpecialAccountCode(TAccountPropertyEnum AENum)
        {
            FAccountRow = null;

            if (FAccountPropertyHandler == null)
            {
                FAccountPropertyHandler = new THandleAccountPropertyInfo(FLedgerInfo);
            }

            string account = FAccountPropertyHandler.GetAccountCode(AENum);

            if (!account.Equals(string.Empty))
            {
                AccountCode = account;
            }
        }