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

<DeployMetadata>
  <Id>1231832046976894976</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1749543274694</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>entrycurrency</TargetFieldKey>
                      <SourceFieldKey>contract.currency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>ByCondition</ConvertType>
                      <TargetFieldKey>exchangerate</TargetFieldKey>
                      <SumType>First</SumType>
                      <ValByConditions>
                        <CRValByConditions>
                          <Items>
                            <CRValByCondition>
                              <Condition>
                                <CRCondition>
                                  <Expression/>
                                  <FilterString>{"filterRow":[{"id":"1VD1XLB+3JML","leftBracket":"","compareType":"67","fieldName":"contract.exchangerate","rightBracket":"","logic":"0","value":[{"id":"1VD1XLB+1SZF","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                                  <FilterCondition>
                                    <FilterCondition>
                                      <FilterRow>
                                        <SimpleFilterRow>
                                          <CompareType>67</CompareType>
                                          <FieldName>contract.exchangerate</FieldName>
                                          <RightBracket/>
                                          <Id>1VD1XLB+3JML</Id>
                                          <LeftBracket/>
                                          <Logic>0</Logic>
                                          <Value>
                                            <FilterValue>
                                              <Id>1VD1XLB+1SZF</Id>
                                              <Value>0</Value>
                                            </FilterValue>
                                          </Value>
                                        </SimpleFilterRow>
                                      </FilterRow>
                                    </FilterCondition>
                                  </FilterCondition>
                                  <Description/>
                                  <ExprTran>合同.汇率 等于 0</ExprTran>
                                </CRCondition>
                              </Condition>
                              <Select>ByCondition</Select>
                              <Formula>
                                <CRFormula>
                                  <Expression>1</Expression>
                                  <Description/>
                                  <ExprTran>1</ExprTran>
                                </CRFormula>
                              </Formula>
                              <Id>1VD2+Y+4XQKT</Id>
                              <Seq>1</Seq>
                            </CRValByCondition>
                            <CRValByCondition>
                              <Condition>
                                <CRCondition>
                                  <Expression/>
                                  <FilterString>{"filterRow":[{"id":"1VQZIEODCTPN","leftBracket":"","compareType":"83","fieldName":"contract.exchangerate","rightBracket":"","logic":"0","value":[{"id":"1VQZIEODD5V0","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                                  <FilterCondition>
                                    <FilterCondition>
                                      <FilterRow>
                                        <SimpleFilterRow>
                                          <CompareType>83</CompareType>
                                          <FieldName>contract.exchangerate</FieldName>
                                          <RightBracket/>
                                          <Id>1VQZIEODCTPN</Id>
                                          <LeftBracket/>
                                          <Logic>0</Logic>
                                          <Value>
                                            <FilterValue>
                                              <Id>1VQZIEODD5V0</Id>
                                              <Value>0</Value>
                                            </FilterValue>
                                          </Value>
                                        </SimpleFilterRow>
                                      </FilterRow>
                                    </FilterCondition>
                                  </FilterCondition>
                                  <Description/>
                                  <ExprTran>合同.汇率 不等于 0</ExprTran>
                                </CRCondition>
                              </Condition>
                              <Select>ByCondition</Select>
                              <Formula>
                                <CRFormula>
                                  <Expression>contract.exchangerate</Expression>
                                  <Description/>
                                  <ExprTran>汇率</ExprTran>
                                </CRFormula>
                              </Formula>
                              <Id>1VQZJJH+YVSR</Id>
                              <Seq>2</Seq>
                            </CRValByCondition>
                          </Items>
                        </CRValByConditions>
                      </ValByConditions>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseamount</TargetFieldKey>
                      <SourceFieldKey>reimbursableamt</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrywlunit</TargetFieldKey>
                      <SourceFieldKey>supplier</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>
                      <Constant>
                        <CRFormula>
                          <Expression>bd_supplier</Expression>
                          <Description/>
                          <ExprTran>供应商</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>entrywltype</TargetFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>wbsrcbillno</TargetFieldKey>
                      <SourceFieldKey>contract.billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>5</Expression>
                          <Description/>
                          <ExprTran>关联生成</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>itemfrom</TargetFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycontractno</TargetFieldKey>
                      <SourceFieldKey>contract.billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycontractname</TargetFieldKey>
                      <SourceFieldKey>contract.billname</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>wbpaytype</TargetFieldKey>
                      <SourceFieldKey>paytype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"1VQFNDN21WRF","leftBracket":"","compareType":"21","fieldName":"reimbursableamt","rightBracket":"","logic":"0","value":[{"id":"1VQFNDN20QN9","value":"0"}],"baseDataIds":[]},{"id":"1VQFNDN21WRG","leftBracket":"","compareType":"17","fieldName":"contract.contractstatus.number","rightBracket":"","logic":"0","value":[{"id":"1VQFNDN20QN=","value":"04"}],"baseDataIds":[{"id":"1VQFNDN21WRH","value":"891898233876503552"}]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>21</CompareType>
                              <FieldName>reimbursableamt</FieldName>
                              <RightBracket/>
                              <Id>1VQFNDN21WRF</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1VQFNDN20QN9</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>17</CompareType>
                              <FieldName>contract.contractstatus.number</FieldName>
                              <RightBracket/>
                              <Id>1VQFNDN21WRG</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1VQFNDN20QN=</Id>
                                  <Value>04</Value>
                                </FilterValue>
                              </Value>
                              <BaseDataIds>
                                <FilterValue>
                                  <Id>1VQFNDN21WRH</Id>
                                  <Value>891898233876503552</Value>
                                </FilterValue>
                              </BaseDataIds>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description>合同未报金额&gt;0&amp;合同状态in（执行中-关闭前的状态）</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>
              <efRule>false</efRule>
              <OptionPolicy>
                <OptionPolicy>
                  <MergeIntoLinkRow>true</MergeIntoLinkRow>
                  <OnlyReadBillTable>false</OnlyReadBillTable>
                </OptionPolicy>
              </OptionPolicy>
              <TargetEntityNumber>er_costestimatebill</TargetEntityNumber>
              <SourceEntityNumber>pmbs_contractpayitem</SourceEntityNumber>
              <Id>1231832046976894976</Id>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>AllInOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>暂估单上拉合同</Name>
              <ExtElements>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749543184111</Id>
                      <Params>
                        <Param>
                          <Enable>true</Enable>
                          <Key>fvisibled</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>fvisibledctrl</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>fdrawvisibled</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749543184110</Id>
                  <ModelType>1</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749543193182</Id>
                      <Params>
                        <Param>
                          <Key>fsourcelayout</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749543193181</Id>
                  <ModelType>2</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749543319805</Id>
                      <Params>
                        <Param>
                          <Enable>true</Enable>
                          <Key>exchangerate</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>wbsrcbillid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>wbsrcentryid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>wbsrcbillno</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>entrycontractno</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749543319804</Id>
                  <ModelType>4</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749543201531</Id>
                      <Params>
                        <Param>
                          <MustInput>true</MustInput>
                          <Enable>true</Enable>
                          <Key>g_billcombo</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Enable>true</Enable>
                          <Key>g_entrycombo</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Enable>true</Enable>
                          <Key>g_subentrycombo</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749543201530</Id>
                  <ModelType>6</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
              </ExtElements>
            </ConvertRuleElement>
          </RuleElement>
          <Id>1231832046976894976</Id>
          <InheritPath/>
          <CreateDate>1630045823000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1155766927956670464</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1749543274717</Version>
      <Enabled>true</Enabled>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>03PF22H/7KKW</BizappId>
      <TargetEntityNumber>er_costestimatebill</TargetEntityNumber>
      <SourceEntityNumber>pmbs_contractpayitem</SourceEntityNumber>
      <Id>1231832046976894976</Id>
      <InheritPath></InheritPath>
      <CreateDate>1630045823000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
