|
@@ -21,7 +21,7 @@ public class VoucherValidator extends AbstractValidator {
|
|
|
String oKey = this.getOperateKey();
|
|
|
switch (oKey) {
|
|
|
case "save":
|
|
|
- case "tblantipost":
|
|
|
+ case "antipost":
|
|
|
case "unaudit":
|
|
|
checkDatas();
|
|
|
break;
|
|
@@ -33,7 +33,7 @@ public class VoucherValidator extends AbstractValidator {
|
|
|
DynamicObject bill = rowDataEntity.getDataEntity();
|
|
|
DynamicObject org = (DynamicObject) bill.get("org");
|
|
|
long orgId = org.getLong("id");
|
|
|
- Date bizdate = bill.getDate("bizdate");
|
|
|
+ Date bizdate = bill.getDate("bookeddate");
|
|
|
QFilter qFilter_org = new QFilter("nckd_org", QCP.equals,orgId);
|
|
|
QFilter qFilter_bizdate = new QFilter("nckd_dailydate",QCP.equals,bizdate);
|
|
|
DynamicObject[] dailybillCol = BusinessDataServiceHelper.load("nckd_gl_dailybill","id",
|