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

<DeployMetadata>
  <Id>1229709525460790272</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1632360209947</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <ParentId/>
          <MasterId/>
          <BizappId>10MYBGBYHXDU</BizappId>
          <RuleElement>
            <ConvertRuleElement>
              <FieldMapPolicy>
                <FieldMapPolicy>
                  <FieldMaps>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>org</TargetFieldKey>
                      <SourceFieldKey>costcompany</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>handleorg</TargetFieldKey>
                      <SourceFieldKey>org</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>assetunit</TargetFieldKey>
                      <SourceFieldKey>assetorg</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>handler</TargetFieldKey>
                      <SourceFieldKey>applier</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>sourcebillsign</TargetFieldKey>
                      <SourceFieldKey>formid</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>basecurrency</TargetFieldKey>
                      <SourceFieldKey>currency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>assetcat</TargetFieldKey>
                      <SourceFieldKey>asset_cat</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>supplier</TargetFieldKey>
                      <SourceFieldKey>billpayerid</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>assetname</TargetFieldKey>
                      <SourceFieldKey>asset_name</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>model</TargetFieldKey>
                      <SourceFieldKey>asset_model</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>isdeductiontax</TargetFieldKey>
                      <SourceFieldKey>asset_isspecialinvoice</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>storeplace</TargetFieldKey>
                      <SourceFieldKey>asset_storeplace</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>notaxamount</TargetFieldKey>
                      <SourceFieldKey>assetorientryamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>taxamount</TargetFieldKey>
                      <SourceFieldKey>assettaxamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>totalamount</TargetFieldKey>
                      <SourceFieldKey>assetexpenseamount</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>unit</TargetFieldKey>
                      <SourceFieldKey>asset_unit</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>currency</TargetFieldKey>
                      <SourceFieldKey>assetcurrency</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>taxunitprice</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>( assettaxamount / asset_quantity ) + assetpricewithouttax</Expression>
                          <Description/>
                          <ExprTran>( 税额 / 数量 ) + 不含税单价</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>unitprice</TargetFieldKey>
                      <SourceFieldKey>assetpricewithouttax</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>Formula</ConvertType>
                      <TargetFieldKey>sourceentryid</TargetFieldKey>
                      <Formula>
                        <CRFormula>
                          <Expression>assetentry.id</Expression>
                          <Description/>
                          <ExprTran>资产信息.内码</ExprTran>
                        </CRFormula>
                      </Formula>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>realaccountdate</TargetFieldKey>
                      <SourceFieldKey>asset_happendate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>assetqty</TargetFieldKey>
                      <SourceFieldKey>asset_quantity</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>newunitprice</TargetFieldKey>
                      <SourceFieldKey>assetpricewithouttax</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <PlugInPolicy>
                <PlugInPolicy>
                  <Plugins>
                    <CRPlugin>
                      <ClassName>kd.fi.er.formplugin.daily.botp.ReimburseToPurchaseBillConvertPlugin</ClassName>
                      <Seq>1</Seq>
                    </CRPlugin>
                  </Plugins>
                </PlugInPolicy>
              </PlugInPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"0TM5=H7ILE+K","leftBracket":"","compareType":"105","fieldName":"billstatus","rightBracket":"","logic":"0","value":[{"id":"0TM5=H7ILK0W","value":"E"}],"baseDataIds":[]},{"id":"0TM5=H7ILE+L","leftBracket":"","compareType":"105","fieldName":"reimbursetype","rightBracket":"","logic":"0","value":[{"id":"0TM5=H7ILK0X","value":"asset"}],"baseDataIds":[]},{"id":"0TOGCQJR=N4=","leftBracket":"","compareType":"1103","fieldName":"tarbillstatus","rightBracket":"","logic":"0","value":[{"id":"0TOGCQJUXX9H","value":""}],"baseDataIds":[]},{"id":"1PYJIH9+2QAU","leftBracket":"","compareType":"105","fieldName":"assettype","rightBracket":"","logic":"0","value":[{"id":"1PYJIH9+4QEK","value":"newasset"}],"baseDataIds":[]},{"id":"1PYJIH9+2QAV","leftBracket":"","compareType":"105","fieldName":"isneedinstall","rightBracket":"","logic":"0","value":[{"id":"1PYJIH9+4QEL","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>billstatus</FieldName>
                              <RightBracket/>
                              <Id>0TM5=H7ILE+K</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>0TM5=H7ILK0W</Id>
                                  <Value>E</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>reimbursetype</FieldName>
                              <RightBracket/>
                              <Id>0TM5=H7ILE+L</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>0TM5=H7ILK0X</Id>
                                  <Value>asset</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>1103</CompareType>
                              <FieldName>tarbillstatus</FieldName>
                              <RightBracket/>
                              <Id>0TOGCQJR=N4=</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>0TOGCQJUXX9H</Id>
                                  <Value/>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>assettype</FieldName>
                              <RightBracket/>
                              <Id>1PYJIH9+2QAU</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1PYJIH9+4QEK</Id>
                                  <Value>newasset</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>105</CompareType>
                              <FieldName>isneedinstall</FieldName>
                              <RightBracket/>
                              <Id>1PYJIH9+2QAV</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>1PYJIH9+4QEL</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description>当前单据未审核通过或不是资产报账类型或已生成采购转固单！</Description>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>assetsentry</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>assetentry</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <efRule>false</efRule>
              <OptionPolicy>
                <OptionPolicy>
                  <MergeIntoLinkRow>true</MergeIntoLinkRow>
                  <OnlyReadBillTable>false</OnlyReadBillTable>
                </OptionPolicy>
              </OptionPolicy>
              <TargetEntityNumber>fa_purchasebill</TargetEntityNumber>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>OneToOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>对公报销单下推资产采购转固单_按资产分录</Name>
              <SourceEntityNumber>er_publicreimbursebill</SourceEntityNumber>
              <Id>1229709525460790272</Id>
            </ConvertRuleElement>
          </RuleElement>
          <Id>1229709525460790272</Id>
          <InheritPath/>
          <CreateDate>1629792798000</CreateDate>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1155766927956670464</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1632360209973</Version>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>10MYBGBYHXDU</BizappId>
      <TargetEntityNumber>fa_purchasebill</TargetEntityNumber>
      <SourceEntityNumber>er_publicreimbursebill</SourceEntityNumber>
      <Id>1229709525460790272</Id>
      <InheritPath></InheritPath>
      <CreateDate>1629792798000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
