Ejemplo n.º 1
0
        public void ActivateGeneralLedger(GeneralLedger generalLedger)
        {
            var command = new ActivateGeneralLedgerCommand
            {
                GeneralLedger = generalLedger
            };

            processXml.Process(command.ToXml());
        }
Ejemplo n.º 2
0
        public GeneralLedger ReadGeneralLedger(string type, string code)
        {
            var command = new ReadGeneralLedgerCommand
            {
                Office = session.Office,
                Code   = code,
                Type   = type
            };
            var response = processXml.Process(command.ToXml());

            return(GeneralLedger.FromXml(response));
        }