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

<DeployMetadata>
  <Id>1134588112560005120</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1681955075952</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <ParentId/>
          <MasterId/>
          <BizappId>10MYBGBYHXDU</BizappId>
          <RuleElement>
            <ConvertRuleElement>
              <FieldMapPolicy>
                <FieldMapPolicy>
                  <FieldMaps>
                    <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>
                      <Constant>
                        <CRFormula>
                          <Expression>1115210418617662464</Expression>
                          <Description/>
                          <ExprTran>费用预提</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>stdbilltype</TargetFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>iscurrency</TargetFieldKey>
                      <SourceFieldKey>iscurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>currency</TargetFieldKey>
                      <SourceFieldKey>currency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>formid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>'er_withholdingbill'</Expression>
                          <Description/>
                          <ExprTran>'er_withholdingbill'</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>applyamount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>balanceamount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>approveamount</TargetFieldKey>
                      <SourceFieldKey>balanceamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>iswriteoff</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>false</Expression>
                          <Description/>
                          <ExprTran>false</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_costcenter</TargetFieldKey>
                      <ConvertType2>SourceField,std_costcenter</ConvertType2>
                      <SourceFieldKey>std_costcenter</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseitem</TargetFieldKey>
                      <SourceFieldKey>expenseitem</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>happendate</TargetFieldKey>
                      <SourceFieldKey>happendate</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>Formula</ConvertType>
                      <TargetFieldKey>expenseamount</TargetFieldKey>
                      <ConvertType2>Formula,orgiexpebalanceamount - exporiwithholdingamount</ConvertType2>
                      <Formula>
                        <CRFormula>
                          <Expression>orgiexpebalanceamount - exporiwithholdingamount</Expression>
                          <Description/>
                          <ExprTran>费用明细可报销金额 - 已预提金额</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>currexpenseamount</TargetFieldKey>
                      <ConvertType2>Formula,expebalanceamount - expwithholdingamount</ConvertType2>
                      <Formula>
                        <CRFormula>
                          <Expression>expebalanceamount - expwithholdingamount</Expression>
                          <Description/>
                          <ExprTran>费用明细可报销金额(本位币) - 已预提金额(本位币)</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>expeapproveamount</TargetFieldKey>
                      <ConvertType2>Formula,orgiexpebalanceamount - exporiwithholdingamount</ConvertType2>
                      <Formula>
                        <CRFormula>
                          <Expression>orgiexpebalanceamount - exporiwithholdingamount</Expression>
                          <Description/>
                          <ExprTran>费用明细可报销金额 - 已预提金额</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>expeapprovecurramount</TargetFieldKey>
                      <ConvertType2>Formula,expebalanceamount - expwithholdingamount</ConvertType2>
                      <Formula>
                        <CRFormula>
                          <Expression>expebalanceamount - expwithholdingamount</Expression>
                          <Description/>
                          <ExprTran>费用明细可报销金额(本位币) - 已预提金额(本位币)</ExprTran>
                        </CRFormula>
                      </Formula>
                      <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>Formula</ConvertType>
                      <TargetFieldKey>orgiexpebalanceamount</TargetFieldKey>
                      <ConvertType2>Formula,orgiexpebalanceamount - exporiwithholdingamount</ConvertType2>
                      <Formula>
                        <CRFormula>
                          <Expression>orgiexpebalanceamount - exporiwithholdingamount</Expression>
                          <Description/>
                          <ExprTran>费用明细可报销金额 - 已预提金额</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>expebalanceamount</TargetFieldKey>
                      <ConvertType2>Formula,expebalanceamount - expwithholdingamount</ConvertType2>
                      <Formula>
                        <CRFormula>
                          <Expression>expebalanceamount - expwithholdingamount</Expression>
                          <Description/>
                          <ExprTran>费用明细可报销金额(本位币) - 已预提金额(本位币)</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_entrycostcenter</TargetFieldKey>
                      <ConvertType2>SourceField,std_entrycostcenter</ConvertType2>
                      <SourceFieldKey>std_entrycostcenter</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>er_dailyapplybill</Expression>
                          <Description/>
                          <ExprTran>费用申请单</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>wbsrcbilltype</TargetFieldKey>
                      <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>expenseentryentity.id</Expression>
                          <Description/>
                          <ExprTran>费用明细.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>wbsrcbillno</TargetFieldKey>
                      <SourceFieldKey>billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"1JBP12YKT9RK","leftBracket":"","compareType":"105","fieldName":"billstatus","rightBracket":"","logic":"0","value":[{"id":"1JBP12YKTI65","value":"E"}],"baseDataIds":[]},{"id":"1JBP12YKTI66","leftBracket":"","compareType":"-4","fieldName":"orgiexpebalanceamount","rightBracket":"","logic":"0","value":[{"id":"1JBP12YKT9RM","value":"exporiwithholdingamount"}],"baseDataIds":[]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>billstatus</FieldName>
                              <RightBracket/>
                              <Id>1JBP12YKT9RK</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1JBP12YKTI65</Id>
                                  <Value>E</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>-4</CompareType>
                              <FieldName>orgiexpebalanceamount</FieldName>
                              <RightBracket/>
                              <Id>1JBP12YKTI66</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1JBP12YKT9RM</Id>
                                  <Value>exporiwithholdingamount</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description>单据状态为审核通过 并且 可预提金额不为0，才能操作。</Description>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>expenseentryentity</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>expenseentryentity</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <efRule>false</efRule>
              <TargetEntityNumber>er_withholdingbill</TargetEntityNumber>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>OneToOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>费用申请单到费用预提单</Name>
              <SourceEntityNumber>er_dailyapplybill</SourceEntityNumber>
              <Id>1134588112560005120</Id>
            </ConvertRuleElement>
          </RuleElement>
          <Id>1134588112560005120</Id>
          <InheritPath/>
          <CreateDate>1618453442000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1279733047079645186</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1681955075976</Version>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>10MYBGBYHXDU</BizappId>
      <TargetEntityNumber>er_withholdingbill</TargetEntityNumber>
      <SourceEntityNumber>er_dailyapplybill</SourceEntityNumber>
      <Id>1134588112560005120</Id>
      <InheritPath></InheritPath>
      <CreateDate>1618453442000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
