This project is read-only.
2
Vote

U strukturi scheme nedostaje tip "NaknadeType"

description

U modul Raverus.FiskalizacijaDEV.Schema treba dodati tip (klasu) "NaknadeType". U WSDL schemi postoji, ali nažalost, nije kompajlirana u kôd modula. Radi ovoga, neće se moći dodati više od jedne naknade, ako ih ima u jedan XML.

WorkAround:
Iznad tipa "NaknadaType" dodati ovo:
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17929")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.apis-it.hr/fin/2012/types/f73")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.apis-it.hr/fin/2012/types/f73", IsNullable = true)]
    public partial class NaknadeType : EntityBase<NaknadeType>
    {

        [EditorBrowsable(EditorBrowsableState.Never)]
        private List<NaknadaType> naknadaField;

        /// <summary>
        /// NaknadeType class constructor
        /// </summary>
        public NaknadeType()
        {
            this.naknadaField = new List<NaknadaType>();
        }

        [System.Xml.Serialization.XmlElementAttribute("Naknada", Order = 0)]
        public List<NaknadaType> Naknada
        {
            get
            {
                return this.naknadaField;
            }
            set
            {
                this.naknadaField = value;
            }
        }
    }

comments

nrasinec wrote Oct 13, 2016 at 8:04 AM

Potvrđujemo kao grešku, ispravak u slijedećoj verziji

wrote Oct 13, 2016 at 8:04 AM