[TDA] Export Error "No corresponding data, configuration error"

Creation date: 22/03/2024 11:10    Updated: 22/03/2024 11:10   configuration error data export data export rule export export error no corresponding data report sql
Question:

Date : 18/03/24


TDA Project

Prod Environment

Warehouse ID : ALL



We found and error "No corresponding data, configuration error" when we export incomplete report.


Step :


  1. Tick All
  2. Export > incomplete report

When we select "Tick All" and there are more lines than the count each page, an issue will be found.


Example

1. Count each page = 100 , line = 89

    Result : Can export files


2. Count each page = 100 , line = 189

    Result : Can't export files


3. Count each page = 1000 , line = 889

    Result : Can export files


4. Count each page = 1000 , line = 1889

    Result : Can't export files


We have already tested :

- In Test Environment we found the same issue.

- In WMS2 we didn't found this issue.


Could you please check ?


Answer:

Only tick all records on the top right corner and export will have this error.

For the TDA report error, 
I checked TD(WMS2)’s “incomplete report” is using same SQL but able to export report by ticking all,
suspect due WMS version difference.

I find out in TDA, these 4 reports having same error.

When further check with flux:
1) Incomplete report

Have to change:
‘soh.orderNo AS WMS_SO’ to ‘soh.orderNo AS ORDERNO,’ in SELECT

2) MULTI_SO_PICKLIST

Have to add 2 parts:
‘h1.orderNo AS ORDERNO’ in SELECT,
‘h1.orderNo’ in GROUP BY

3) PREOREDER_LABEL

Have to add: 
‘dlh.ldlNo AS LDLNO’ in SELECT,
change ‘… AS ldlno’ to ‘… AS LDLNO' 

4) SOINFO:

Have to change:
‘soh.orderNo AS WMS_SO’ to ‘soh.orderNo AS ORDERNO’ in SELECT

In short, ways to fix these:

Files