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

<DeployMetadata>
  <Id>514155471423153152</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1733383379766</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <ParentId/>
          <MasterId/>
          <BizappId>10MYBGBYHXDU</BizappId>
          <RuleElement>
            <ConvertRuleElement>
              <FieldMapPolicy>
                <FieldMapPolicy>
                  <FieldMaps>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>isloan</TargetFieldKey>
                      <SourceFieldKey>isloan</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanbizdate</TargetFieldKey>
                      <SourceFieldKey>bizdate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanbillno</TargetFieldKey>
                      <SourceFieldKey>billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>loandescription</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>description</Expression>
                          <Description/>
                          <ExprTran>事由</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loancurrency</TargetFieldKey>
                      <SourceFieldKey>tripcurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanexchangerate</TargetFieldKey>
                      <SourceFieldKey>tripexchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanoribalanceamount</TargetFieldKey>
                      <SourceFieldKey>oriaccbalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>loanaccbalanceamount</TargetFieldKey>
                      <SourceFieldKey>accbalanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>reqaccountentryid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>tripentry.id</Expression>
                          <Description/>
                          <ExprTran>行程信息.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>loanbillid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>id</Expression>
                          <Description/>
                          <ExprTran>出差申请单.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourceexpenseitem</TargetFieldKey>
                      <SourceFieldKey>tripexpenseitem</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>srcbilltype</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>'er_tripreqbill'</Expression>
                          <Description>出差借款单</Description>
                          <ExprTran>'er_tripreqbill'</ExprTran>
                        </CRFormula>
                      </Formula>
                      <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>loanentryquotetype</TargetFieldKey>
                      <SourceFieldKey>tripquotetype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[],"forList":false}</FilterString>
                      <Description/>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>clearloanentry</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>tripentry</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <efRule>false</efRule>
              <OptionPolicy>
                <OptionPolicy>
                  <MergeIntoLinkRow>true</MergeIntoLinkRow>
                  <OnlyReadBillTable>false</OnlyReadBillTable>
                </OptionPolicy>
              </OptionPolicy>
              <TargetEntityNumber>er_tripreimbursebill</TargetEntityNumber>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>AllInOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>差旅报销单上拉出差借款单</Name>
              <SourceEntityNumber>er_tripreqbill</SourceEntityNumber>
              <Id>514155471423153152</Id>
              <RunCondition>
                <CRCondition>
                  <Expression/>
                  <FilterString>{"filterRow":[{"id":"/L48UMV9FE74","leftBracket":"","compareType":"105","fieldName":"billstatus","rightBracket":"","logic":"0","value":[{"id":"/L48UMV9FE75","value":"G"}],"baseDataIds":[]},{"id":"/L48UMV9FE76","leftBracket":"","compareType":"105","fieldName":"isloan","rightBracket":"","logic":"0","value":[{"id":"/L48UMV9FE77","value":"1"}],"baseDataIds":[]}],"forList":false}</FilterString>
                  <FilterCondition>
                    <FilterCondition>
                      <FilterRow>
                        <SimpleFilterRow>
                          <CompareType>105</CompareType>
                          <FieldName>billstatus</FieldName>
                          <RightBracket/>
                          <Id>/L48UMV9FE74</Id>
                          <LeftBracket/>
                          <Logic>0</Logic>
                          <Value>
                            <FilterValue>
                              <Id>/L48UMV9FE75</Id>
                              <Value>G</Value>
                            </FilterValue>
                          </Value>
                        </SimpleFilterRow>
                        <SimpleFilterRow>
                          <CompareType>105</CompareType>
                          <FieldName>isloan</FieldName>
                          <RightBracket/>
                          <Id>/L48UMV9FE76</Id>
                          <LeftBracket/>
                          <Logic>0</Logic>
                          <Value>
                            <FilterValue>
                              <Id>/L48UMV9FE77</Id>
                              <Value>1</Value>
                            </FilterValue>
                          </Value>
                        </SimpleFilterRow>
                      </FilterRow>
                    </FilterCondition>
                  </FilterCondition>
                  <Description/>
                  <ExprTran>单据状态 等于 已付款 and 是否借款 等于 是</ExprTran>
                </CRCondition>
              </RunCondition>
              <isibled>false</isibled>
              <PlugInPolicy>
                <PlugInPolicy>
                  <Plugins>
                    <CRPlugin>
                      <DisplayName/>
                      <Description>若差旅报销单的多出差人开关为false，判断上游的多出差人开关为true的出差借款单是否存在，若存在，设置下游差旅报销单的多出差人开关为true</Description>
                      <ClassName>kd.fi.er.formplugin.botp.up.TripReqLoanToTripReimburseSelectBillPlugin</ClassName>
                      <Seq>1</Seq>
                    </CRPlugin>
                  </Plugins>
                </PlugInPolicy>
              </PlugInPolicy>
              <efRule>false</efRule>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>AllInOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>差旅报销单上拉出差借款单</Name>
              <ExtElements>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729474595414</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>1729474595413</Id>
                  <ModelType>1</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729474589920</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>1729474589919</Id>
                  <ModelType>2</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729474990609</Id>
                      <Params>
                        <Param>
                          <Enable>true</Enable>
                          <Key>isloan</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>loanbillno</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>loancurrency</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>loanexchangerate</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>reqaccountentryid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>loanbillid</Key>
                        </Param>
                        <Param>
                          <Enable>true</Enable>
                          <Key>srcbilltype</Key>
                        </Param>
                        <Param>
                          <MustInput>true</MustInput>
                          <Key>loanentryquotetype</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1729474990608</Id>
                  <ModelType>4</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
                <ExtControlElement>
                  <ExtControlParam>
                    <ExtControlParam>
                      <Id>1729474603007</Id>
                      <Params>
                        <Param>
                          <Enable>true</Enable>
                          <Key>g_billcombo</Key>
                        </Param>
                      </Params>
                    </ExtControlParam>
                  </ExtControlParam>
                  <Id>1729474603006</Id>
                  <ModelType>6</ModelType>
                  <Type>2</Type>
                </ExtControlElement>
              </ExtElements>
            </ConvertRuleElement>
          </RuleElement>
          <Id>514155471423153152</Id>
          <InheritPath/>
          <CreateDate>1563194642000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1996320338723934208</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1733383379835</Version>
      <Enabled>true</Enabled>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>10MYBGBYHXDU</BizappId>
      <TargetEntityNumber>er_tripreimbursebill</TargetEntityNumber>
      <SourceEntityNumber>er_tripreqbill</SourceEntityNumber>
      <Id>514155471423153152</Id>
      <InheritPath></InheritPath>
      <CreateDate>1563194642000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
