Page 5 of 5

Re: Login to website

Posted: Sun Oct 06, 2019 12:02 pm
by tomtagaris
after a lot of searching I found the problem
the problem is in the case of the capital case
the first xml file the (r)equestedInvoicesDoc is with lower case end the second is with capital
(R)equestedInvoicesDoc
now i have a second problem
I only get data from the primary invoice that the invoice are 14
i am looking for the problem
any help received

Re: Login to website

Posted: Mon Oct 07, 2019 7:21 am
by tomtagaris
some more help edk
I also discovered the second problem
if any data is missing from a file then the program does not output data
like this
<invoiceHeader>
<branch>0</branch>
<series>οΏ½</series>
<aa>2</aa>
<issueDate>2019-07-19</issueDate>
<invoiceType>1.1</invoiceType>
<vatPaymentSuspension>true</vatPaymentSuspension>
<currency>EUR</currency>
-> <exchangeRate>8.00</exchangeRate>
<correlatedInvoices />
<selfPricing>false</selfPricing>
<dispatchTime>16:47:51.7000000+00:00</dispatchTime>
<vehicleNumber />
<movePurpose>1</movePurpose>
</invoiceHeader>

if the (<exchangeRate>8.00</exchangeRate>) missing the program does not output data

Re: Login to website

Posted: Mon Oct 07, 2019 9:51 am
by tomtagaris
OK I FIND THE PROBLEM
I USE THE FUNCTION hb_HGetDef()
EVERYTHING IS OK

Re: Login to website

Posted: Mon Oct 07, 2019 11:26 am
by edk
Sorry for not replying to the posts.
I was off line (🍷🥴) over the weekend.
I'm glad you were able to solve the problems. Independent search for causes and solutions always enriches our experience ;)

Re: Login to website

Posted: Mon Oct 07, 2019 11:52 am
by tomtagaris
this is a great truth
Anyway thank you very much for everything
TomTagaris