<?xml version="1.0" encoding="UTF-8"?>
<DeployMetadata>
  <Id>341777805190628352</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1749560706558</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <ParentId/>
          <MasterId/>
          <BizappId>83bfebc8000014ac</BizappId>
          <RuleElement>
            <ConvertRuleElement>
              <FieldMapPolicy>
                <FieldMapPolicy>
                  <FieldMaps>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>company</TargetFieldKey>
                      <SourceFieldKey>company</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>costcompany</TargetFieldKey>
                      <SourceFieldKey>costcompany</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>costdept</TargetFieldKey>
                      <SourceFieldKey>costdept</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>org</TargetFieldKey>
                      <SourceFieldKey>org</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>description</TargetFieldKey>
                      <SourceFieldKey>description</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>applier</TargetFieldKey>
                      <SourceFieldKey>applier</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>currency</TargetFieldKey>
                      <SourceFieldKey>currency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>tel</TargetFieldKey>
                      <SourceFieldKey>tel</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>applierpositionstr</TargetFieldKey>
                      <SourceFieldKey>applierpositionstr</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>amount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>Sum</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>totalnotactrecamt</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>Sum</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>approveamount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>Sum</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>repayment</Expression>
                          <Description/>
                          <ExprTran>个人还款</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>reimbursetype</TargetFieldKey>
                      <ConvertType2>CONSTANT,repayment</ConvertType2>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>datefield</TargetFieldKey>
                      <SourceFieldKey/>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>relationloanbill</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>billno</Expression>
                          <Description/>
                          <ExprTran>单据编号</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>accountcurrency</TargetFieldKey>
                      <SourceFieldKey>entrycurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>reverserepayamount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>orirepayamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loandescription</TargetFieldKey>
                      <SourceFieldKey>description</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourceexchangerate</TargetFieldKey>
                      <SourceFieldKey>exchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>totalloanamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>repayapproveamount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>reverseorirepayamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>repayexchangerate</TargetFieldKey>
                      <SourceFieldKey>exchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourceexpenseitem</TargetFieldKey>
                      <SourceFieldKey>expenseitem</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>reversecurrency</TargetFieldKey>
                      <SourceFieldKey>entrycurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>srcbilltype</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>'er_dailyloanbill'</Expression>
                          <Description>借款单</Description>
                          <ExprTran>'er_dailyloanbill'</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourcebillno</TargetFieldKey>
                      <SourceFieldKey>billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>sourcebillid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>id</Expression>
                          <Description/>
                          <ExprTran>借款单.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>sourceentryid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>expenseentryentity.id</Expression>
                          <Description/>
                          <ExprTran>借款明细.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>detailquotetype</TargetFieldKey>
                      <SourceFieldKey>expquotetype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourcequotetype</TargetFieldKey>
                      <SourceFieldKey>expquotetype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>orirepayapproveamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>repayamount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <PlugInPolicy>
                <PlugInPolicy>
                  <Plugins>
                    <CRPlugin>
                      <DisplayName/>
                      <Description>如果botp没有映射汇率，还款单的汇率根据系统参数获取</Description>
                      <ClassName>kd.fi.er.formplugin.botp.LoanToRepayMentConvertPlugin</ClassName>
                      <Seq>1</Seq>
                    </CRPlugin>
                  </Plugins>
                </PlugInPolicy>
              </PlugInPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"/YW64M4B359I","leftBracket":"","compareType":"105","fieldName":"billstatus","rightBracket":"","logic":"0","value":[{"id":"/YW64M4B359J","value":"G"}],"baseDataIds":[]},{"id":"/YW64M4B359K","leftBracket":"","compareType":"21","fieldName":"orgiexpebalanceamount","rightBracket":"","logic":"0","value":[{"id":"/YW64M4B359L","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>billstatus</FieldName>
                              <RightBracket/>
                              <Id>/YW64M4B359I</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>/YW64M4B359J</Id>
                                  <Value>G</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>21</CompareType>
                              <FieldName>orgiexpebalanceamount</FieldName>
                              <RightBracket/>
                              <Id>/YW64M4B359K</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>/YW64M4B359L</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description>单据还未付款或者借款金额已经用完，无需还款。</Description>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>repaymententry</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>expenseentryentity</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <TargetEntityNumber>er_repaymentbill</TargetEntityNumber>
              <SourceEntityNumber>er_dailyloanbill</SourceEntityNumber>
              <Id>341777805190628352</Id>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>AllInOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>借款单下推还款单</Name>
              <ExtElements>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749560727113</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>1749560727112</Id>
                  <ModelType>1</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749560742293</Id>
                      <Params>
                        <Param>
                          <Enable>true</Enable>
                          <NoDelete>true</NoDelete>
                          <Key>kd.fi.er.formplugin.botp.LoanToRepayMentConvertPlugin</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749560742292</Id>
                  <ModelType>9</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749560832503</Id>
                      <Params>
                        <Param>
                          <Key>fsourcelayout</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749560832502</Id>
                  <ModelType>2</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749560831212</Id>
                      <Params>
                        <Param>
                          <Enable>true</Enable>
                          <Key>company</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>org</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>currency</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>accountcurrency</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>repayexchangerate</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>reversecurrency</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>srcbilltype</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>sourcebillno</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>sourcebillid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>sourceentryid</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1749560831211</Id>
                  <ModelType>4</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1749560737050</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>1749560737049</Id>
                  <ModelType>6</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
              </ExtElements>
            </ConvertRuleElement>
          </RuleElement>
          <Id>341777805190628352</Id>
          <InheritPath/>
          <CreateDate>1563194624000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1996320338723934208</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1749560706582</Version>
      <Enabled>true</Enabled>
      <ParentId/>
      <MasterId/>
      <BizappId>83bfebc8000014ac</BizappId>
      <TargetEntityNumber>er_repaymentbill</TargetEntityNumber>
      <SourceEntityNumber>er_dailyloanbill</SourceEntityNumber>
      <Id>341777805190628352</Id>
      <InheritPath/>
      <CreateDate>1563194624000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>