This commit is contained in:
parent
9ad5ee7f87
commit
67fe6efb44
|
|
@ -222,7 +222,7 @@ public class MaterialInbPurchaseApplyPlugin extends AbstractBillPlugIn implement
|
||||||
if (newValue != null && !newValue.equals(oldValue)) {
|
if (newValue != null && !newValue.equals(oldValue)) {
|
||||||
DynamicObject fiaccountorg = (DynamicObject) newValue;//财务记账组织新值
|
DynamicObject fiaccountorg = (DynamicObject) newValue;//财务记账组织新值
|
||||||
QFilter filter = new QFilter("zcgj_companyblentry.zcgj_org.id", QCP.equals, fiaccountorg.getPkValue());
|
QFilter filter = new QFilter("zcgj_companyblentry.zcgj_org.id", QCP.equals, fiaccountorg.getPkValue());
|
||||||
filter.and(new QFilter("number", QCP.equals, "001"));
|
// filter.and(new QFilter("number", QCP.equals, "001"));
|
||||||
filter.and(new QFilter("zcgj_companyblentry.zcgj_rateway", QCP.equals, true));
|
filter.and(new QFilter("zcgj_companyblentry.zcgj_rateway", QCP.equals, true));
|
||||||
DynamicObject zcgj_companybelong = QueryServiceHelper.queryOne("zcgj_companybelong", "number,zcgj_companyblentry.zcgj_wareunit", new QFilter[]{filter});
|
DynamicObject zcgj_companybelong = QueryServiceHelper.queryOne("zcgj_companybelong", "number,zcgj_companyblentry.zcgj_wareunit", new QFilter[]{filter});
|
||||||
DynamicObjectCollection entryEntityCollection = this.getModel().getDataEntity(true).getDynamicObjectCollection("zcgj_entryentity");//合同进项发票信息
|
DynamicObjectCollection entryEntityCollection = this.getModel().getDataEntity(true).getDynamicObjectCollection("zcgj_entryentity");//合同进项发票信息
|
||||||
|
|
@ -449,7 +449,7 @@ public class MaterialInbPurchaseApplyPlugin extends AbstractBillPlugIn implement
|
||||||
DynamicObject fiaccountorg = (DynamicObject) this.getModel().getValue("fiaccountorg");//财务记账组织
|
DynamicObject fiaccountorg = (DynamicObject) this.getModel().getValue("fiaccountorg");//财务记账组织
|
||||||
if (fiaccountorg != null) {
|
if (fiaccountorg != null) {
|
||||||
QFilter filter = new QFilter("zcgj_companyblentry.zcgj_org.id", QCP.equals, fiaccountorg.getPkValue());
|
QFilter filter = new QFilter("zcgj_companyblentry.zcgj_org.id", QCP.equals, fiaccountorg.getPkValue());
|
||||||
filter.and(new QFilter("number", QCP.equals, "001"));
|
// filter.and(new QFilter("number", QCP.equals, "001"));
|
||||||
filter.and(new QFilter("zcgj_companyblentry.zcgj_rateway", QCP.equals, true));
|
filter.and(new QFilter("zcgj_companyblentry.zcgj_rateway", QCP.equals, true));
|
||||||
DynamicObject zcgj_companybelong = QueryServiceHelper.queryOne("zcgj_companybelong", "number,zcgj_companyblentry.zcgj_wareunit", new QFilter[]{filter});
|
DynamicObject zcgj_companybelong = QueryServiceHelper.queryOne("zcgj_companybelong", "number,zcgj_companyblentry.zcgj_wareunit", new QFilter[]{filter});
|
||||||
if (zcgj_companybelong != null) {
|
if (zcgj_companybelong != null) {
|
||||||
|
|
@ -951,7 +951,7 @@ public class MaterialInbPurchaseApplyPlugin extends AbstractBillPlugIn implement
|
||||||
DynamicObject fiaccountorg = (DynamicObject) this.getModel().getValue("fiaccountorg");//财务记账组织
|
DynamicObject fiaccountorg = (DynamicObject) this.getModel().getValue("fiaccountorg");//财务记账组织
|
||||||
if (fiaccountorg != null) {
|
if (fiaccountorg != null) {
|
||||||
QFilter filter = new QFilter("zcgj_companyblentry.zcgj_org.id", QCP.equals, fiaccountorg.getPkValue());
|
QFilter filter = new QFilter("zcgj_companyblentry.zcgj_org.id", QCP.equals, fiaccountorg.getPkValue());
|
||||||
filter.and(new QFilter("number", QCP.equals, "001"));
|
// filter.and(new QFilter("number", QCP.equals, "001"));
|
||||||
filter.and(new QFilter("zcgj_companyblentry.zcgj_rateway", QCP.equals, true));
|
filter.and(new QFilter("zcgj_companyblentry.zcgj_rateway", QCP.equals, true));
|
||||||
DynamicObject zcgj_companybelong = QueryServiceHelper.queryOne("zcgj_companybelong", "number,zcgj_companyblentry.zcgj_wareunit", new QFilter[]{filter});
|
DynamicObject zcgj_companybelong = QueryServiceHelper.queryOne("zcgj_companybelong", "number,zcgj_companyblentry.zcgj_wareunit", new QFilter[]{filter});
|
||||||
if (zcgj_companybelong != null) {
|
if (zcgj_companybelong != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue