Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

Estimated Delivery Date issue in SAP Fiori Check Price and Availability application

$
0
0

Hi all,

 

I am configuring the Check Price and Availability application in Fiori. When I do an availability check with the current date, the application will return yesterday's date as the 'Estimated Delivery Date'. I have checked the OData service and found no issue with the dates. But I found some date calculations happening in the front end inside two Javascript files. Please find the details of the issue below.

 

  1. Material availability check is performed with today's date (June 4 2014).

 

cpa.png

 

2. The month will get decreased inside the Product.controller.js file,.

 

     Before executing line no: 224.

cpa1.png

 

After executing line no: 224.

 

cpa2.png

 

3. After executing line no: 226, the date is decreased and the month is increased from the method FormatMediumDate defined inside the Javascript file 'DateTimeFormatter.js'.

 

cpa4.png

 

4. The decreased date will be shown in the final output.

 

cpa5.png

 

Please advice whether this is an expected behavior or a logical error.


Viewing all articles
Browse latest Browse all 5806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>