<?xml version="1.0" encoding="UTF-8"?>

<DeployMetadata>
  <Id>1173155604500446208</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1629889052991</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <ParentId/>
          <MasterId/>
          <BizappId>03PF22H/7KKW</BizappId>
          <RuleElement>
            <ConvertRuleElement>
              <FieldMapPolicy>
                <FieldMapPolicy>
                  <FieldMaps>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>happendate</TargetFieldKey>
                      <SourceFieldKey>contract.signdate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycurrency</TargetFieldKey>
                      <SourceFieldKey>currency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>exchangerate</TargetFieldKey>
                      <SourceFieldKey>contract.exchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseamount</TargetFieldKey>
                      <SourceFieldKey>unpaidamt</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expeapproveamount</TargetFieldKey>
                      <SourceFieldKey>unpaidamt</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycostcompany</TargetFieldKey>
                      <SourceFieldKey>contract.fiaccountorg</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_project</TargetFieldKey>
                      <SourceFieldKey>contract.project</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>remark</TargetFieldKey>
                      <SourceFieldKey>contract.description</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>orgiexpebalanceamount</TargetFieldKey>
                      <SourceFieldKey>unpaidamt</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>wbsrcbillid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>id</Expression>
                          <Description/>
                          <ExprTran>合同付款条目.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>wbsrcentryid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>id</Expression>
                          <Description/>
                          <ExprTran>合同付款条目.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycontractno</TargetFieldKey>
                      <SourceFieldKey>contract.billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>wbsrcbilltype</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>'pmbs_contractpayitem'</Expression>
                          <Description/>
                          <ExprTran>'pmbs_contractpayitem'</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycontractname</TargetFieldKey>
                      <SourceFieldKey>contract.billname</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"1O2JH5WGSWBI","leftBracket":"","compareType":"21","fieldName":"unpaidamt","rightBracket":"","logic":"0","value":[{"id":"1O2JH5WGV+GT","value":"0"}],"baseDataIds":[]},{"id":"1O2JH5WGSWBJ","leftBracket":"","compareType":"17","fieldName":"contract.contractstatus.number","rightBracket":"","logic":"0","value":[{"id":"1O2JH5WGV+GU","value":"04"}],"baseDataIds":[{"id":"1O2JH5WGSWBK","value":"891898233876503552"}]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>21</CompareType>
                              <FieldName>unpaidamt</FieldName>
                              <RightBracket/>
                              <Id>1O2JH5WGSWBI</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1O2JH5WGV+GT</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>17</CompareType>
                              <FieldName>contract.contractstatus.number</FieldName>
                              <RightBracket/>
                              <Id>1O2JH5WGSWBJ</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1O2JH5WGV+GU</Id>
                                  <Value>04</Value>
                                </FilterValue>
                              </Value>
                              <BaseDataIds>
                                <FilterValue>
                                  <Id>1O2JH5WGSWBK</Id>
                                  <Value>891898233876503552</Value>
                                </FilterValue>
                              </BaseDataIds>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description/>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>expenseentryentity</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>pmbs_contractpayitem</SourceEntryKey>
                  <LinkType>Link</LinkType>
                  <SourceLayout>er_draw_contractpayitem</SourceLayout>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <TargetEntityNumber>er_prepaybill</TargetEntityNumber>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>AllInOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>预付单上拉合同付款条目</Name>
              <SourceEntityNumber>pmbs_contractpayitem</SourceEntityNumber>
              <Id>1173155604500446208</Id>
            </ConvertRuleElement>
          </RuleElement>
          <Id>1173155604500446208</Id>
          <InheritPath/>
          <CreateDate>1623051046000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1213708375355870208</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1629889052994</Version>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>03PF22H/7KKW</BizappId>
      <TargetEntityNumber>er_prepaybill</TargetEntityNumber>
      <SourceEntityNumber>pmbs_contractpayitem</SourceEntityNumber>
      <Id>1173155604500446208</Id>
      <InheritPath></InheritPath>
      <CreateDate>1623051046000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
