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

<DeployMetadata>
  <Id>348394893774688256</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1733382376020</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>iscurrency</TargetFieldKey>
                      <SourceFieldKey>iscurrency</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>reimburseamount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>approveamount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseitem</TargetFieldKey>
                      <SourceFieldKey>expenseitem</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycurrency</TargetFieldKey>
                      <SourceFieldKey>entrycurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>exchangerate</TargetFieldKey>
                      <SourceFieldKey>exchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>currexpenseamount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expeapproveamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expeapprovecurramount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycostcompany</TargetFieldKey>
                      <SourceFieldKey>entrycostcompany</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycostdept</TargetFieldKey>
                      <SourceFieldKey>entrycostdept</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_project</TargetFieldKey>
                      <SourceFieldKey>std_project</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expquotetype</TargetFieldKey>
                      <SourceFieldKey>expquotetype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>orientryamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>remark</TargetFieldKey>
                      <SourceFieldKey>remark</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>reimburser</TargetFieldKey>
                      <SourceFieldKey>applier</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>price</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanexchangerate</TargetFieldKey>
                      <SourceFieldKey>exchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>curraccloanamount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>accloanamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanamount</TargetFieldKey>
                      <SourceFieldKey>orgiexpebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>currloanamount</TargetFieldKey>
                      <SourceFieldKey>expebalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loancurrency</TargetFieldKey>
                      <SourceFieldKey>entrycurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanbillnov1</TargetFieldKey>
                      <SourceFieldKey>billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanapplydatev1</TargetFieldKey>
                      <SourceFieldKey>bizdate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>loandescriptionv1</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>description</Expression>
                          <Description/>
                          <ExprTran>事由</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>loanperson</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>applier.name</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>Formula</ConvertType>
                      <TargetFieldKey>sourcebillid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>id</Expression>
                          <Description/>
                          <ExprTran>借款单.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourceexpenseitem</TargetFieldKey>
                      <SourceFieldKey>expenseitem</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>er_dailyloanbill</Expression>
                          <Description/>
                          <ExprTran>借款单</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>srcbilltype</TargetFieldKey>
                      <ConvertType2>CONSTANT,er_dailyloanbill</ConvertType2>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourceentrycostdept</TargetFieldKey>
                      <SourceFieldKey>entrycostdept</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourceentrycostcompany</TargetFieldKey>
                      <SourceFieldKey>entrycostcompany</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>writeoffquotetype</TargetFieldKey>
                      <SourceFieldKey>expquotetype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"0EJ90W10KQDZ","leftBracket":"","compareType":"105","fieldName":"billstatus","rightBracket":"","logic":"0","value":[{"id":"0EJ90W10KT3+","value":"G"}],"baseDataIds":[]},{"id":"0EJ90W10KQE+","leftBracket":"","compareType":"83","fieldName":"orgiexpebalanceamount","rightBracket":"","logic":"0","value":[{"id":"0EJ90W10KT3/","value":"0"}],"baseDataIds":[]},{"id":"0L1SF7368IHA","leftBracket":"","compareType":"105","fieldName":"isadvance","rightBracket":"","logic":"0","value":[{"id":"0L1SF7368F40","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>billstatus</FieldName>
                              <RightBracket/>
                              <Id>0EJ90W10KQDZ</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>0EJ90W10KT3+</Id>
                                  <Value>G</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>83</CompareType>
                              <FieldName>orgiexpebalanceamount</FieldName>
                              <RightBracket/>
                              <Id>0EJ90W10KQE+</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>0EJ90W10KT3/</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>isadvance</FieldName>
                              <RightBracket/>
                              <Id>0L1SF7368IHA</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>0L1SF7368F40</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description>不满足“单据状态”为已付款，“是否预付”为否，“待还款金额”大于0的条件，请检查！</Description>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>writeoffmoney</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>expenseentryentity</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <TargetEntityNumber>er_dailyreimbursebill</TargetEntityNumber>
              <SourceEntityNumber>er_dailyloanbill</SourceEntityNumber>
              <Id>348394893774688256</Id>
              <PlugInPolicy>
                <PlugInPolicy>
                  <Plugins>
                    <CRPlugin>
                      <DisplayName/>
                      <Description>1.追加插件定制条件：借款单上游的申请单已经报完，不能再进行报销。2.设置税率税额、根据系统参数设置可抵扣；3.根据借款单分录获取到上游费用申请单分录id，将费用申请单分录id与费用报销单冲申请分录建立关联。</Description>
                      <ClassName>kd.fi.er.formplugin.daily.botp.DailyLoanToReimBotpPlugin</ClassName>
                      <Seq>1</Seq>
                    </CRPlugin>
                    <CRPlugin>
                      <DisplayName/>
                      <Description>处理费用单据下推时没有配置汇率的情况, 获取最新汇率</Description>
                      <ClassName>kd.fi.er.formplugin.botp.ErDailyBotpCurrencyHandler</ClassName>
                      <Seq>2</Seq>
                    </CRPlugin>
                    <CRPlugin>
                      <DisplayName/>
                      <Description>费用/对公报销单上拉借款/预付单，冲预提分录中带出预提单</Description>
                      <ClassName>kd.fi.er.formplugin.publicbiz.botp.push.WithholdingToReimBotpPlugin</ClassName>
                      <Seq>3</Seq>
                    </CRPlugin>
                  </Plugins>
                </PlugInPolicy>
              </PlugInPolicy>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>AllInOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>借款单下推日常报销单</Name>
              <ExtElements>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729218135494</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>1729218135493</Id>
                  <ModelType>1</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729218139637</Id>
                      <Params>
                        <Param>
                          <MustInput>true</MustInput>
                          <Enable>true</Enable>
                          <Key>ftargetentrykey</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Enable>true</Enable>
                          <Key>fsourceentrykey</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1729218139636</Id>
                  <ModelType>2</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729218191654</Id>
                      <Params>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>company</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>currency</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>entrycurrency</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>exchangerate</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>loanexchangerate</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>loancurrency</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>loanbillnov1</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>sourceentryid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>sourcebillid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>srcbilltype</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1729218191653</Id>
                  <ModelType>4</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
              </ExtElements>
            </ConvertRuleElement>
          </RuleElement>
          <Id>348394893774688256</Id>
          <InheritPath/>
          <CreateDate>1575937228000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1996320338723934208</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1733382376061</Version>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>83bfebc8000014ac</BizappId>
      <TargetEntityNumber>er_dailyreimbursebill</TargetEntityNumber>
      <SourceEntityNumber>er_dailyloanbill</SourceEntityNumber>
      <Id>348394893774688256</Id>
      <InheritPath></InheritPath>
      <CreateDate>1575937228000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
