Login to website

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
tomtagaris
Posts: 71
Joined: Tue Aug 23, 2016 2:43 pm

Re: Login to website

Post by tomtagaris » Sun Oct 06, 2019 12:02 pm

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

User avatar
tomtagaris
Posts: 71
Joined: Tue Aug 23, 2016 2:43 pm

Post by tomtagaris » Mon Oct 07, 2019 7:21 am

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

User avatar
tomtagaris
Posts: 71
Joined: Tue Aug 23, 2016 2:43 pm

Post by tomtagaris » Mon Oct 07, 2019 9:51 am

OK I FIND THE PROBLEM
I USE THE FUNCTION hb_HGetDef()
EVERYTHING IS OK

edk
Posts: 506
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 137 times
Been thanked: 422 times

Post by edk » Mon Oct 07, 2019 11:26 am

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 ;)

User avatar
tomtagaris
Posts: 71
Joined: Tue Aug 23, 2016 2:43 pm

Post by tomtagaris » Mon Oct 07, 2019 11:52 am

this is a great truth
Anyway thank you very much for everything
TomTagaris

Post Reply