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

<DeployMetadata>
  <Id>1176108354477560832</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1628850401296</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <ParentId/>
          <MasterId/>
          <BizappId>10MYBGBYHXDU</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>
                      <Constant>
                        <CRFormula>
                          <Expression>1179660282566346752</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>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>projectower</TargetFieldKey>
                      <SourceFieldKey>projectower</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>applyamount</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>sdcurrexpenseamount</Expression>
                          <Description/>
                          <ExprTran>报销金额(本位币)</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>Sum</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>approveamount</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>sdexpeapprovecurramount</Expression>
                          <Description/>
                          <ExprTran>核定金额（本位币）</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>Sum</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>projectnamedesc</TargetFieldKey>
                      <SourceFieldKey>projectnamedesc</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>projecttype</TargetFieldKey>
                      <SourceFieldKey>projecttype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_costcenter</TargetFieldKey>
                      <SourceFieldKey>std_costcenter</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>wlunit</TargetFieldKey>
                      <SourceFieldKey>wlunit</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>wltype</TargetFieldKey>
                      <SourceFieldKey>wltype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>acapproveamount</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>sdexpeapprovecurramount</Expression>
                          <Description/>
                          <ExprTran>核定金额（本位币）</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>Sum</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>biztype_sharebill</Expression>
                          <Description/>
                          <ExprTran>立项分摊</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>detailtype</TargetFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseitem</TargetFieldKey>
                      <SourceFieldKey>sdexpenseitem</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>happendate</TargetFieldKey>
                      <SourceFieldKey>sdhappendate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycurrency</TargetFieldKey>
                      <SourceFieldKey>sdentrycurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>exchangerate</TargetFieldKey>
                      <SourceFieldKey>sdexchangerate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expenseamount</TargetFieldKey>
                      <SourceFieldKey>sdexpenseamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>currexpenseamount</TargetFieldKey>
                      <SourceFieldKey>sdcurrexpenseamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expeapproveamount</TargetFieldKey>
                      <SourceFieldKey>sdexpeapproveamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expeapprovecurramount</TargetFieldKey>
                      <SourceFieldKey>sdexpeapprovecurramount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycostcompany</TargetFieldKey>
                      <SourceFieldKey>sdentrycostcompany</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrycostdept</TargetFieldKey>
                      <SourceFieldKey>sdentrycostdept</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_project</TargetFieldKey>
                      <SourceFieldKey>sdstd_project</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expquotetype</TargetFieldKey>
                      <SourceFieldKey>sdquotetype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>std_entrycostcenter</TargetFieldKey>
                      <SourceFieldKey>sdstd_entrycostcenter</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrywlunit</TargetFieldKey>
                      <SourceFieldKey>sdentrywlunit</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entryproducttype</TargetFieldKey>
                      <SourceFieldKey>sdentryproducttype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>er_applyprojectbill</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>sharedetailentry.id</Expression>
                          <Description/>
                          <ExprTran>摊销明细.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entrywltype</TargetFieldKey>
                      <SourceFieldKey>sdentrywltype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>taxrate</TargetFieldKey>
                      <SourceFieldKey>sdtaxrate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>taxamount</TargetFieldKey>
                      <SourceFieldKey>sdtaxamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>orientryamount</TargetFieldKey>
                      <SourceFieldKey>sdorientryamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>price</TargetFieldKey>
                      <SourceFieldKey>sdprice</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>entryremark</TargetFieldKey>
                      <SourceFieldKey>sdremark</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>wbsrcbillno</TargetFieldKey>
                      <SourceFieldKey>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>acexpeapproveamount</TargetFieldKey>
                      <SourceFieldKey>sdexpeapproveamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>acexpeapprovecurramount</TargetFieldKey>
                      <SourceFieldKey>sdexpeapprovecurramount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>actaxamount</TargetFieldKey>
                      <SourceFieldKey>sdtaxamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>acorientryamount</TargetFieldKey>
                      <SourceFieldKey>sdorientryamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>curprice</TargetFieldKey>
                      <SourceFieldKey>sdcurprice</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>acprice</TargetFieldKey>
                      <SourceFieldKey>sdprice</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>accurprice</TargetFieldKey>
                      <SourceFieldKey>sdcurprice</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"1OVX8FY3KN=S","leftBracket":"","compareType":"105","fieldName":"billstatus","rightBracket":"","logic":"0","value":[{"id":"1OVX8FY3KL=/","value":"E"}],"baseDataIds":[]},{"id":"1OVX8FY3KN=T","leftBracket":"","compareType":"105","fieldName":"isbeforeshare","rightBracket":"","logic":"0","value":[{"id":"1OVX8FY3KL=0","value":"1"}],"baseDataIds":[]},{"id":"1OVX8FY771H=","leftBracket":"","compareType":"105","fieldName":"detailtype","rightBracket":"","logic":"0","value":[{"id":"1OVX8FY77/GI","value":"biztype_applybill"}],"baseDataIds":[]},{"id":"1OWJIOMKQF6C","leftBracket":"","compareType":"63","fieldName":"sdhappendate","rightBracket":"","logic":"0","value":[{"id":"1OWJIOMKQD5L","value":""}],"baseDataIds":[]},{"id":"1QV1IGJQY8X9","leftBracket":"","compareType":"105","fieldName":"issharepush","rightBracket":"","logic":"0","value":[{"id":"1QV1IGJQYAL=","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>billstatus</FieldName>
                              <RightBracket/>
                              <Id>1OVX8FY3KN=S</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1OVX8FY3KL=/</Id>
                                  <Value>E</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>isbeforeshare</FieldName>
                              <RightBracket/>
                              <Id>1OVX8FY3KN=T</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1OVX8FY3KL=0</Id>
                                  <Value>1</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>detailtype</FieldName>
                              <RightBracket/>
                              <Id>1OVX8FY771H=</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1OVX8FY77/GI</Id>
                                  <Value>biztype_applybill</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>63</CompareType>
                              <FieldName>sdhappendate</FieldName>
                              <RightBracket/>
                              <Id>1OWJIOMKQF6C</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1OWJIOMKQD5L</Id>
                                  <Value/>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>issharepush</FieldName>
                              <RightBracket/>
                              <Id>1QV1IGJQY8X9</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1QV1IGJQYAL=</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description/>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>expenseentryentity</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>sharedetailentry</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <efRule>false</efRule>
              <BizRulePolicy>
                <BizRulePolicy>
                  <Actions>
                    <CRBizRuleElement>
                      <ActionId>FormulaAction</ActionId>
                      <Description>设置单据状态为审核通过</Description>
                      <Id>1QXYWVF72NVO</Id>
                      <RunActionClass>kd.bos.service.botp.convert.bizrule.FormulaAction</RunActionClass>
                      <Parameters>{"Expression":"billstatus = 'E'"}</Parameters>
                      <Seq>1</Seq>
                    </CRBizRuleElement>
                  </Actions>
                </BizRulePolicy>
              </BizRulePolicy>
              <TargetEntityNumber>er_applyprojectbill</TargetEntityNumber>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>OneToOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>立项申请单下推立项分摊单</Name>
              <SourceEntityNumber>er_applyprojectbill</SourceEntityNumber>
              <Id>1176108354477560832</Id>
            </ConvertRuleElement>
          </RuleElement>
          <Id>1176108354477560832</Id>
          <InheritPath/>
          <CreateDate>1623403041000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1155766321963628544</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1628850401302</Version>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>10MYBGBYHXDU</BizappId>
      <TargetEntityNumber>er_applyprojectbill</TargetEntityNumber>
      <SourceEntityNumber>er_applyprojectbill</SourceEntityNumber>
      <Id>1176108354477560832</Id>
      <InheritPath></InheritPath>
      <CreateDate>1623403041000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
