Having just completed a function(s) to a bsv that gathers data ,creates accured interest for customers, vendors among other item such as reports and date bearing calculations
This all works perfect in the test environment but when the bsv is published the following does not work...
Merchant.PaymentPastDays=DAY_DIFFERENCE(CURRENT_DATE,Merchant.PaymentLastDate)
returns the following from the logs
Value was not changed because it was equal to the old value PaymentPastDays=<UNDEFINED>
I have verified that object.PaymentLastDate is being set prior to the following. Any ideas would be great, maybe i need to step away for a few minutes.....