Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

how to find out days between two dates ?

$
0
0
hello i am having this error message ? com.mendix.modules.microflowengine.MicroflowException: Failed to evaluate expression, error occurred on line 1, character 1 $IteratorInboundShipment/EXPIRED = true ^ at NativeMobile.ACT_Create_Sectional_Shipment_Helper.nested.18ead6c1-2076-42de-9bd6-96b59c7e2d1e [0 of 24] (Gateway : 'Expired?') at NativeMobile.ACT_Create_Sectional_Shipment_Helper (ListLoop : '') at NativeMobile.ACT_Get_CustomerPickUp_List (SubMicroflow : 'ACT_Create_Sectional_Shipment_Helper') Advanced stacktrace: at com.mendix.languages.mxexpressions.MxExpressionImpl.evaluate(MxExpressionImpl.scala:32) Caused by: com.mendix.languages.expressions.ExpressionException: An error occurred while executing the action 'NativeMobile.ACT_Calculate_Shipment_Expired' at com.mendix.languages.expressions.Expr.evaluate(Expr.scala:16) Caused by: com.mendix.core.CoreRuntimeException: An error occurred while executing the action 'NativeMobile.ACT_Calculate_Shipment_Expired' at com.mendix.basis.objectmanagement.MendixObjectMemberImpl.getValue(MendixObjectMemberImpl.java:221) Caused by: com.mendix.modules.microflowengine.MicroflowException: Failed to evaluate expression, error occurred on line 6, character 1 if($InboundShipment/SHIPMENT_5TH_BUS_DATE!= empty and $InboundShipment/SHIPMENT_5TH_BUS_DATE != '' and $InboundShipment/SHIPMENT_5TH_BUS_DATE !='NA') then if (daysBetween (parseDateTime($InboundShipment/SHIPMENT_5TH_BUS_DATE, 'yyyy-MM-dd''T''HH:mm:ss.SSS'), parseDateTime(toString([%CurrentDateTime%]), 'yyyy-MM-dd''T''HH:mm:ss.SSS')) >= 0) ^ then true else false else false

Viewing all articles
Browse latest Browse all 83469

Trending Articles



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