Developer forum

Forum » Integration » Customer center live integration Invoice detail 404

Customer center live integration Invoice detail 404

Davy Capiau
Reply

Hi,

We're using the customer live integration with NAV code unit on DW10. 

What does work:

- List of all invoices

- download of PDF invoice

What doesn't work:

- Invoice detail page, it returns a 404 => to reproduce go to 'my account', click on 'invoices' and then on a specific invoice.

Example url: https://project.dw10.dynamicweb-cms.com/&itemID=VFA24100001

When checking the response in the logs all information seems present:

09/27/2024 02:17:29.350 p.m.: DebugInfo: Response RetrieveDataFromRequestString received: '
<?xml version="1.0" encoding="utf-8"?>
<Items type="Invoice" totalCount="1921" version="1.2.0.19_NAV1.0.25940">
    <item>
        <column columnName="id">
            <![CDATA[VFA20/010173]]>
        </column>
        <column columnName="orderDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="shipDate">
            <![CDATA[2020/01/09]]>
        </column>
        <column columnName="dueDate">
            <![CDATA[2020/02/29]]>
        </column>
        <column columnName="postingDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="documentDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="totalAmount">
            <![CDATA[62.90]]>
        </column>
        <column columnName="totalAmountIncVat">
            <![CDATA[76.11]]>
        </column>
        <column columnName="externalDocumentNo">
            <![CDATA[]]>
        </column>
        <column columnName="yourReference">
            <![CDATA[]]>
        </column>
        <column columnName="completelyPaid">
            <![CDATA[TRUE]]>
        </column>
        <column columnName="remainingAmount">
            <![CDATA[0.00]]>
        </column>
    </item>
    <item>
        <column columnName="id">
            <![CDATA[VFA20/010174]]>
        </column>
        <column columnName="orderDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="shipDate">
            <![CDATA[2020/01/06]]>
        </column>
        <column columnName="dueDate">
            <![CDATA[2020/02/29]]>
        </column>
        <column columnName="postingDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="documentDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="totalAmount">
            <![CDATA[1,202.32]]>
        </column>
        <column columnName="totalAmountIncVat">
            <![CDATA[1,454.81]]>
        </column>
        <column columnName="externalDocumentNo">
            <![CDATA[]]>
        </column>
        <column columnName="yourReference">
            <![CDATA[]]>
        </column>
        <column columnName="completelyPaid">
            <![CDATA[TRUE]]>
        </column>
        <column columnName="remainingAmount">
            <![CDATA[0.00]]>
        </column>
    </item>
    <item>
        <column columnName="id">
            <![CDATA[VFA20/010175]]>
        </column>
        <column columnName="orderDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="shipDate">
            <![CDATA[2020/01/10]]>
        </column>
        <column columnName="dueDate">
            <![CDATA[2020/02/29]]>
        </column>
        <column columnName="postingDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="documentDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="totalAmount">
            <![CDATA[25,235.34]]>
        </column>
        <column columnName="totalAmountIncVat">
            <![CDATA[30,534.76]]>
        </column>
        <column columnName="externalDocumentNo">
            <![CDATA[]]>
        </column>
        <column columnName="yourReference">
            <![CDATA[]]>
        </column>
        <column columnName="completelyPaid">
            <![CDATA[TRUE]]>
        </column>
        <column columnName="remainingAmount">
            <![CDATA[0.00]]>
        </column>
    </item>
    <item>
        <column columnName="id">
            <![CDATA[VFA20/010176]]>
        </column>
        <column columnName="orderDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="shipDate">
            <![CDATA[2020/01/06]]>
        </column>
        <column columnName="dueDate">
            <![CDATA[2020/02/29]]>
        </column>
        <column columnName="postingDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="documentDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="totalAmount">
            <![CDATA[229.48]]>
        </column>
        <column columnName="totalAmountIncVat">
            <![CDATA[277.67]]>
        </column>
        <column columnName="externalDocumentNo">
            <![CDATA[]]>
        </column>
        <column columnName="yourReference">
            <![CDATA[]]>
        </column>
        <column columnName="completelyPaid">
            <![CDATA[TRUE]]>
        </column>
        <column columnName="remainingAmount">
            <![CDATA[0.00]]>
        </column>
    </item>
    <item>
        <column columnName="id">
            <![CDATA[VFA20/010177]]>
        </column>
        <column columnName="orderDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="shipDate">
            <![CDATA[2020/01/06]]>
        </column>
        <column columnName="dueDate">
            <![CDATA[2020/02/29]]>
        </column>
        <column columnName="postingDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="documentDate">
            <![CDATA[2020/01/21]]>
        </column>
        <column columnName="totalAmount">
            <![CDATA[3,000.62]]>
        </column>
        <column columnName="totalAmountIncVat">
            <![CDATA[3,630.75]]>
        </column>
        <column columnName="externalDocumentNo">
            <![CDATA[]]>
        </column>
        <column columnName="yourReference">
            <![CDATA[]]>
        </column>
        <column columnName="completelyPaid">
            <![CDATA[TRUE]]>
        </column>
        <column columnName="remainingAmount">
            <![CDATA[0.00]]>
        </column>
(...)

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Could it be that the initial URL is just wrong? Take a look at this:

https://project.dw10.dynamicweb-cms.com/&itemID=VFA24100001

That's an invalid URL as it's missing a question mark. So maybe the page link in between is missing? i.e.:

https://project.dw10.dynamicweb-cms.com/Default.aspx?ID=123&itemID=VFA24100001

where 123 is the ID of the correct page.

Imar

Votes for this answer: 1

 

You must be logged in to post in the forum