- Fixed wrong select sql use in the for loop BF [ 2714831 ] - p_DateAcct parameter have wrong datatype, should be "timestamp with time zone" instead of "date"