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

<DeployMetadata>
  <Id>723062602233558016</Id>
  <DesignMetas>
    <DesignConvertRuleMeta>
      <DevType>0</DevType>
      <ModifyDate>1645428305913</ModifyDate>
      <DataXml>
        <ConvertRuleMetadata>
          <DevType>0</DevType>
          <Isv>kingdee</Isv>
          <RuleElement>
            <ConvertRuleElement>
              <FieldMapPolicy>
                <FieldMapPolicy>
                  <FieldMaps>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>org</TargetFieldKey>
                      <SourceFieldKey>org</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>bizdept</TargetFieldKey>
                      <SourceFieldKey>dept</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>dept</TargetFieldKey>
                      <SourceFieldKey>dept</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>366344074757678080</Expression>
                          <Description/>
                          <ExprTran>标准其他出库单</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>billtype</TargetFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>operatorgroup</TargetFieldKey>
                      <SourceFieldKey>operatorgroup</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>operator</TargetFieldKey>
                      <SourceFieldKey>operator</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>ByCondition</ConvertType>
                      <TargetFieldKey>biztype</TargetFieldKey>
                      <SumType>First</SumType>
                      <ValByConditions>
                        <CRValByConditions>
                          <Items>
                            <CRValByCondition>
                              <Condition>
                                <CRCondition>
                                  <Expression/>
                                  <FilterString>{"filterRow":[{"id":"294SEY7PDL+U","leftBracket":"","compareType":"83","fieldName":"invtype.number","rightBracket":"","logic":"0","value":[{"id":"294SEY7PHFT9","value":"113"}],"baseDataIds":[{"id":"294SEY7PDL+V","value":"688884312753630208"}]}],"forList":false}</FilterString>
                                  <FilterCondition>
                                    <FilterCondition>
                                      <FilterRow>
                                        <SimpleFilterRow>
                                          <CompareType>83</CompareType>
                                          <FieldName>invtype.number</FieldName>
                                          <RightBracket/>
                                          <Id>294SEY7PDL+U</Id>
                                          <LeftBracket/>
                                          <Logic>0</Logic>
                                          <Value>
                                            <FilterValue>
                                              <Id>294SEY7PHFT9</Id>
                                              <Value>113</Value>
                                            </FilterValue>
                                          </Value>
                                          <BaseDataIds>
                                            <FilterValue>
                                              <Id>294SEY7PDL+V</Id>
                                              <Value>688884312753630208</Value>
                                            </FilterValue>
                                          </BaseDataIds>
                                        </SimpleFilterRow>
                                      </FilterRow>
                                    </FilterCondition>
                                  </FilterCondition>
                                  <Description/>
                                  <ExprTran>详细信息.库存类型.编码 不等于 113</ExprTran>
                                </CRCondition>
                              </Condition>
                              <Select>ByCondition</Select>
                              <Formula>
                                <CRFormula>
                                  <Expression>688865858117916672</Expression>
                                  <Description/>
                                  <ExprTran>盘亏出库</ExprTran>
                                </CRFormula>
                              </Formula>
                              <Ifconstant>1</Ifconstant>
                              <Id>294SHEH9PDYY</Id>
                              <Seq>1</Seq>
                            </CRValByCondition>
                            <CRValByCondition>
                              <Condition>
                                <CRCondition>
                                  <Expression/>
                                  <FilterString>{"filterRow":[{"id":"294SGWWP/QT1","leftBracket":"","compareType":"67","fieldName":"invtype.number","rightBracket":"","logic":"0","value":[{"id":"294SGWWOXW+M","value":"113"}],"baseDataIds":[{"id":"294SGWWP/QT2","value":"688884312753630208"}]}],"forList":false}</FilterString>
                                  <FilterCondition>
                                    <FilterCondition>
                                      <FilterRow>
                                        <SimpleFilterRow>
                                          <CompareType>67</CompareType>
                                          <FieldName>invtype.number</FieldName>
                                          <RightBracket/>
                                          <Id>294SGWWP/QT1</Id>
                                          <LeftBracket/>
                                          <Logic>0</Logic>
                                          <Value>
                                            <FilterValue>
                                              <Id>294SGWWOXW+M</Id>
                                              <Value>113</Value>
                                            </FilterValue>
                                          </Value>
                                          <BaseDataIds>
                                            <FilterValue>
                                              <Id>294SGWWP/QT2</Id>
                                              <Value>688884312753630208</Value>
                                            </FilterValue>
                                          </BaseDataIds>
                                        </SimpleFilterRow>
                                      </FilterRow>
                                    </FilterCondition>
                                  </FilterCondition>
                                  <Description/>
                                  <ExprTran>详细信息.库存类型.编码 等于 113</ExprTran>
                                </CRCondition>
                              </Condition>
                              <Select>ByCondition</Select>
                              <Formula>
                                <CRFormula>
                                  <Expression>1356487117139607552</Expression>
                                  <Description/>
                                  <ExprTran>VMI其他出库</ExprTran>
                                </CRFormula>
                              </Formula>
                              <Ifconstant>1</Ifconstant>
                              <Id>294SHEH9T9RC</Id>
                              <Seq>2</Seq>
                            </CRValByCondition>
                          </Items>
                        </CRValByConditions>
                      </ValByConditions>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>ByCondition</ConvertType>
                      <TargetFieldKey>invscheme</TargetFieldKey>
                      <SumType>First</SumType>
                      <ValByConditions>
                        <CRValByConditions>
                          <Items>
                            <CRValByCondition>
                              <Condition>
                                <CRCondition>
                                  <Expression/>
                                  <FilterString>{"filterRow":[{"id":"294SL+XQZ5PN","leftBracket":"","compareType":"83","fieldName":"invtype.number","rightBracket":"","logic":"0","value":[{"id":"294SL+XQV=X7","value":"113"}],"baseDataIds":[{"id":"294SL+XQZ5PO","value":"688884312753630208"}]}],"forList":false}</FilterString>
                                  <FilterCondition>
                                    <FilterCondition>
                                      <FilterRow>
                                        <SimpleFilterRow>
                                          <CompareType>83</CompareType>
                                          <FieldName>invtype.number</FieldName>
                                          <RightBracket/>
                                          <Id>294SL+XQZ5PN</Id>
                                          <LeftBracket/>
                                          <Logic>0</Logic>
                                          <Value>
                                            <FilterValue>
                                              <Id>294SL+XQV=X7</Id>
                                              <Value>113</Value>
                                            </FilterValue>
                                          </Value>
                                          <BaseDataIds>
                                            <FilterValue>
                                              <Id>294SL+XQZ5PO</Id>
                                              <Value>688884312753630208</Value>
                                            </FilterValue>
                                          </BaseDataIds>
                                        </SimpleFilterRow>
                                      </FilterRow>
                                    </FilterCondition>
                                  </FilterCondition>
                                  <Description/>
                                  <ExprTran>详细信息.库存类型.编码 不等于 113</ExprTran>
                                </CRCondition>
                              </Condition>
                              <Select>ByCondition</Select>
                              <Formula>
                                <CRFormula>
                                  <Expression>688991191177526272</Expression>
                                  <Description/>
                                  <ExprTran>盘亏出库</ExprTran>
                                </CRFormula>
                              </Formula>
                              <Ifconstant>1</Ifconstant>
                              <Id>294SMW=10U2P</Id>
                              <Seq>1</Seq>
                            </CRValByCondition>
                            <CRValByCondition>
                              <Condition>
                                <CRCondition>
                                  <Expression/>
                                  <FilterString>{"filterRow":[{"id":"294SMA4OMFG7","leftBracket":"","compareType":"67","fieldName":"invtype.number","rightBracket":"","logic":"0","value":[{"id":"294SMA4OQA9N","value":"113"}],"baseDataIds":[{"id":"294SMA4OMFG8","value":"688884312753630208"}]}],"forList":false}</FilterString>
                                  <FilterCondition>
                                    <FilterCondition>
                                      <FilterRow>
                                        <SimpleFilterRow>
                                          <CompareType>67</CompareType>
                                          <FieldName>invtype.number</FieldName>
                                          <RightBracket/>
                                          <Id>294SMA4OMFG7</Id>
                                          <LeftBracket/>
                                          <Logic>0</Logic>
                                          <Value>
                                            <FilterValue>
                                              <Id>294SMA4OQA9N</Id>
                                              <Value>113</Value>
                                            </FilterValue>
                                          </Value>
                                          <BaseDataIds>
                                            <FilterValue>
                                              <Id>294SMA4OMFG8</Id>
                                              <Value>688884312753630208</Value>
                                            </FilterValue>
                                          </BaseDataIds>
                                        </SimpleFilterRow>
                                      </FilterRow>
                                    </FilterCondition>
                                  </FilterCondition>
                                  <Description/>
                                  <ExprTran>详细信息.库存类型.编码 等于 113</ExprTran>
                                </CRCondition>
                              </Condition>
                              <Select>ByCondition</Select>
                              <Formula>
                                <CRFormula>
                                  <Expression>1357076439752507392</Expression>
                                  <Description/>
                                  <ExprTran>VMI其他出库</ExprTran>
                                </CRFormula>
                              </Formula>
                              <Ifconstant>1</Ifconstant>
                              <Id>294SMW=86SO=</Id>
                              <Seq>2</Seq>
                            </CRValByCondition>
                          </Items>
                        </CRValByConditions>
                      </ValByConditions>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>material</TargetFieldKey>
                      <SourceFieldKey>material</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>unit</TargetFieldKey>
                      <SourceFieldKey>unit</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>qty</TargetFieldKey>
                      <SourceFieldKey>lossqty</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>unit2nd</TargetFieldKey>
                      <SourceFieldKey>unit2nd</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>baseunit</TargetFieldKey>
                      <SourceFieldKey>baseunit</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>qtyunit2nd</TargetFieldKey>
                      <SourceFieldKey>lossqty2nd</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>baseqty</TargetFieldKey>
                      <SourceFieldKey>baselossqty</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>warehouse</TargetFieldKey>
                      <SourceFieldKey>warehouse</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>location</TargetFieldKey>
                      <SourceFieldKey>location</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>invstatus</TargetFieldKey>
                      <SourceFieldKey>invstatus</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>lot</TargetFieldKey>
                      <SourceFieldKey>lot</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>producedate</TargetFieldKey>
                      <SourceFieldKey>producedate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>expirydate</TargetFieldKey>
                      <SourceFieldKey>expirydate</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>lotnumber</TargetFieldKey>
                      <SourceFieldKey>lotnumber</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>auxpty</TargetFieldKey>
                      <SourceFieldKey>auxpty</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>project</TargetFieldKey>
                      <SourceFieldKey>project</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>srcbillnumber</TargetFieldKey>
                      <SourceFieldKey>billno</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>outinvstatus</TargetFieldKey>
                      <SourceFieldKey>invstatus</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>outinvtype</TargetFieldKey>
                      <SourceFieldKey>invtype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>outownertype</TargetFieldKey>
                      <SourceFieldKey>ownertype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>outowner</TargetFieldKey>
                      <SourceFieldKey>owner</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>outkeepertype</TargetFieldKey>
                      <SourceFieldKey>keepertype</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>outkeeper</TargetFieldKey>
                      <SourceFieldKey>keeper</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>tracknumber</TargetFieldKey>
                      <SourceFieldKey>tracknumber</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>configuredcode</TargetFieldKey>
                      <SourceFieldKey>configuredcode</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <Constant>
                        <CRFormula>
                          <Expression>1194150915045641216</Expression>
                          <Description/>
                          <ExprTran>物资</ExprTran>
                        </CRFormula>
                      </Constant>
                      <ConvertType>CONSTANT</ConvertType>
                      <TargetFieldKey>linetype</TargetFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                    <FieldMapItem>
                      <ConvertType>SourceField</ConvertType>
                      <TargetFieldKey>materialname</TargetFieldKey>
                      <SourceFieldKey>material.masterid.name</SourceFieldKey>
                      <SumType>First</SumType>
                    </FieldMapItem>
                  </FieldMaps>
                </FieldMapPolicy>
              </FieldMapPolicy>
              <PlugInPolicy>
                <PlugInPolicy>
                  <Plugins>
                    <CRPlugin>
                      <ClassName>kd.scmc.im.formplugin.botp.InvCountBillBotpPlugin</ClassName>
                      <Seq>1</Seq>
                    </CRPlugin>
                    <CRPlugin>
                      <ClassName>kd.scmc.im.formplugin.botp.InvAfterBotpPlugin</ClassName>
                      <Seq>2</Seq>
                    </CRPlugin>
                  </Plugins>
                </PlugInPolicy>
              </PlugInPolicy>
              <FilterPolicy>
                <FilterPolicy>
                  <Condition>
                    <CRCondition>
                      <FilterString>{"filterRow":[{"id":"08T64SVBJJYL","leftBracket":"(","compareType":"21","fieldName":"lossqty","rightBracket":"","logic":"1","value":[{"id":"08T64SVBJJ9B","value":"0"}],"baseDataIds":[]},{"id":"08T64SVBJJYM","leftBracket":"","compareType":"21","fieldName":"lossqty2nd","rightBracket":")","logic":"0","value":[{"id":"08T64SVBJJ9C","value":"0"}],"baseDataIds":[]}],"forList":false}</FilterString>
                      <FilterCondition>
                        <FilterCondition>
                          <FilterRow>
                            <SimpleFilterRow>
                              <CompareType>21</CompareType>
                              <FieldName>lossqty</FieldName>
                              <RightBracket/>
                              <Id>08T64SVBJJYL</Id>
                              <LeftBracket>(</LeftBracket>
                              <Logic>1</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>08T64SVBJJ9B</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                            <SimpleFilterRow>
                              <CompareType>21</CompareType>
                              <FieldName>lossqty2nd</FieldName>
                              <RightBracket>)</RightBracket>
                              <Id>08T64SVBJJYM</Id>
                              <LeftBracket/>
                              <Logic>0</Logic>
                              <Value>
                                <FilterValue>
                                  <Id>08T64SVBJJ9C</Id>
                                  <Value>0</Value>
                                </FilterValue>
                              </Value>
                            </SimpleFilterRow>
                          </FilterRow>
                        </FilterCondition>
                      </FilterCondition>
                      <Description>盘亏数量必须大于0或者盘亏数量（辅助单位）&gt;0</Description>
                      <ExprTran/>
                    </CRCondition>
                  </Condition>
                </FilterPolicy>
              </FilterPolicy>
              <LinkEntityPolicy>
                <LinkEntityPolicy>
                  <SourceSubEntryKey/>
                  <TargetEntryKey>billentry</TargetEntryKey>
                  <TargetSubEntryKey/>
                  <SourceEntryKey>billentry</SourceEntryKey>
                  <LinkType>Link</LinkType>
                </LinkEntityPolicy>
              </LinkEntityPolicy>
              <efRule>false</efRule>
              <OptionPolicy>
                <OptionPolicy>
                  <MergeIntoLinkRow>true</MergeIntoLinkRow>
                  <OnlyReadBillTable>false</OnlyReadBillTable>
                </OptionPolicy>
              </OptionPolicy>
              <TargetEntityNumber>im_otheroutbill</TargetEntityNumber>
              <GroupByPolicy>
                <GroupByPolicy>
                  <GroupByField/>
                  <GroupMode3>OneToOne</GroupMode3>
                  <GroupMode2>OneToOne</GroupMode2>
                  <GroupByField2/>
                  <GroupByField3/>
                  <GroupMode>OneToOne</GroupMode>
                </GroupByPolicy>
              </GroupByPolicy>
              <Name>盘点表_其他出库单_转换规则</Name>
              <SourceEntityNumber>im_invcountbill</SourceEntityNumber>
              <Id>723062602233558016</Id>
            </ConvertRuleElement>
          </RuleElement>
          <Id>723062602233558016</Id>
          <CreateDate>1587870621000</CreateDate>
          <ParentId/>
          <MasterId/>
          <BizappId>=9Q86DR2P+Q</BizappId>
          <InheritPath/>
        </ConvertRuleMetadata>
      </DataXml>
      <ModifierId>1178896627121968128</ModifierId>
      <ModelType>ConvertRuleModel</ModelType>
      <Isv>kingdee</Isv>
      <Version>1645428305935</Version>
      <ParentId></ParentId>
      <MasterId></MasterId>
      <BizappId>=9Q86DR2P+Q</BizappId>
      <TargetEntityNumber>im_otheroutbill</TargetEntityNumber>
      <SourceEntityNumber>im_invcountbill</SourceEntityNumber>
      <Id>723062602233558016</Id>
      <InheritPath></InheritPath>
      <CreateDate>1587870621000</CreateDate>
    </DesignConvertRuleMeta>
  </DesignMetas>
  <BOSVersion>1.0</BOSVersion>
</DeployMetadata>
