Esempio n. 1
0
        public void ActivateFixedAsset(FixedAsset fixedAsset)
        {
            var command = new ActivateFixedAssetCommand
            {
                FixedAsset = fixedAsset
            };

            processXml.Process(command.ToXml());
        }
Esempio n. 2
0
        public FixedAsset ReadFixedAsset(string fixedAssetType, string fixedAssetCode)
        {
            var command = new ReadFixedAssetCommand
            {
                Office         = session.Office,
                FixedAssetType = fixedAssetType,
                FixedAssetCode = fixedAssetCode
            };
            var response = processXml.Process(command.ToXml());

            return(FixedAsset.FromXml(response));
        }
Esempio n. 3
0
        public bool WriteFixedAsset(FixedAsset fixedAsset)
        {
            var response = processXml.Process(fixedAsset.ToXml());

            return(response.IsSuccess());
        }