Le funzionalita' descritte in questa pagina fanno riferimento ad una versione minima di Ready Pro v21.1.5
Restituisce il contenuto del documento in formato XML
Tipo dati restituito
String
Proprieta' di sola lettura
xmlsource = docObject.XMLObject()
Tipo dati restituito
String
Proprieta' di sola lettura
Esempio di struttura documento in XML:
<Doc>
<DocType>1</DocType>
<DocNumber>120</DocNumber>
<DocNumberSeries>120/B</DocNumberSeries>
<DocDate>2014-05-12</DocDate>
<Anag>
<Name>Rossi Paolo</Name>
<Address>Via Garibaldi, 10</Address>
<Address2>
</Address2>
<ZipCode>47900</ZipCode>
<City>RIMINI</City>
<Province>RN</Province>
<CountryCode>IT</CountryCode>
<PhoneNumber>000-1111111</PhoneNumber>
<CellularNumber>000-1111111</CellularNumber>
<FaxNumber>000-1111111</FaxNumber>
<EmailAddress>info@gmail.com</EmailAddress>
<VatNumber>12345678903</VatNumber>
<PersonalID>MRARSS00A01H294L</PersonalID>
</Anag>
<DocRows>
<DocRow>
<RowType>1</RowType>
<Description>Stampante Epson Stylus Color</Description>
<Product>
<Code>STAM0001</Code>
</Product>
<Quantity>1</Quantity>
<Price>1000</Price>
<Tax>
<PercentAmount>22</PercentAmount>
</Tax>
</DocRow>
<DocRow>
<RowType>5</RowType>
<Description>Spese di trasporto</Description>
<Quantity>1</Quantity>
<Price>100</Price>
<Tax>
<PercentAmount>22</PercentAmount>
</Tax>
</DocRow>
</DocRows>
<Payment>
<Code>RB30</Code>
<Name>Ricevuta bancaria 30gg DF</Name>
</Payment>
<TotalAmount>1342.00</TotalAmount>
</Doc>
Descrizione dei nodi principali
Doc.DocType (Long)
Codice del tipo documento Doc.DocType
(1=DDT 2=Fattura accompagnatoria ecc.)
Doc.DocNumber (Long)
Numero progressivo del documento (senza eventuale suffisso della serie)
Doc.DocNumberSeries (String)
Numero ed eventuale serie del documento
Doc.DocDate (Date)
Data del documento
Doc.Anag (Anag)
Oggetto anagrafica dell'intestatario documento
Doc.DocRows (Collection di oggetti DocRow)
Collection di oggetti DocRow contenenti i dettagli del corpo del documento
Doc.DocRows.DocRow.RowType (Long)
Codice del tipo riga ( RowType )
Doc.Payment (Payment)
Oggetto forma di pagamento impostato sul documento
Doc.Payment.Code (String)
Codice alternativo alfanumerico associato al pagamento dalla tabella TAB / PAGAMENTI
Doc.Payment.Name (String)
Descrizione pagamento
Doc.TotalAmount (Double)
Importo totale del documento