This commit is contained in:
parent
3b0deb688d
commit
fe7d729753
|
@ -99,7 +99,7 @@ public class PaymentapplyCopyPlugin extends AbstractBillPlugIn implements Plugin
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM");
|
||||||
String formattedDate = sdf.format(Date);
|
String formattedDate = sdf.format(Date);
|
||||||
QFilter f1 = new QFilter("number", QCP.equals, formattedDate);
|
QFilter f1 = new QFilter("number", QCP.equals, formattedDate);
|
||||||
DynamicObject bd_period = BusinessDataServiceHelper.loadSingle("bd_period", "id", new QFilter[]{f1});//会计期间
|
DynamicObject bd_period = BusinessDataServiceHelper.loadSingle("bd_period", "id", new QFilter[]{f1});// 会计期间
|
||||||
if (bd_period != null) {
|
if (bd_period != null) {
|
||||||
this.getModel().setValue("period", bd_period);//期间
|
this.getModel().setValue("period", bd_period);//期间
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue