update VCLib.T_SINGLE_MODIFICATION_ACTION 
set DeleteFilter = '<lx:Criteria type="Or" xmlns:lx="lexem"><lx:Criterion type="="><lx:Path OwnerQueryLevel="0"><lx:StepString name="UsedIn" /></lx:Path><lx:ChoiceOperand Entity="PHARM.C_MNN" AttributeName="UsedIn" type="Int32" PrimaryKey="1" /></lx:Criterion><lx:Criterion type="="><lx:Path OwnerQueryLevel="0"><lx:StepString name="UsedIn" /></lx:Path><lx:ChoiceOperand Entity="PHARM.C_MNN" AttributeName="UsedIn" type="Int32" PrimaryKey="3" /></lx:Criterion></lx:Criteria>', 
UpdateFilter = '<lx:Criteria type="Or" xmlns:lx="lexem"><lx:Criterion type="="><lx:Path OwnerQueryLevel="0"><lx:StepString name="UsedIn" /></lx:Path><lx:ChoiceOperand Entity="PHARM.C_MNN" AttributeName="UsedIn" type="Int32" PrimaryKey="1" /></lx:Criterion><lx:Criterion type="="><lx:Path OwnerQueryLevel="0"><lx:StepString name="UsedIn" /></lx:Path><lx:ChoiceOperand Entity="PHARM.C_MNN" AttributeName="UsedIn" type="Int32" PrimaryKey="3" /></lx:Criterion></lx:Criteria>', 
InsertFilter = '<lx:Criteria type="Or" xmlns:lx="lexem"><lx:Criterion type="="><lx:Path OwnerQueryLevel="0"><lx:StepString name="UsedIn" /></lx:Path><lx:ChoiceOperand Entity="PHARM.C_MNN" AttributeName="UsedIn" type="Int32" PrimaryKey="1" /></lx:Criterion><lx:Criterion type="="><lx:Path OwnerQueryLevel="0"><lx:StepString name="UsedIn" /></lx:Path><lx:ChoiceOperand Entity="PHARM.C_MNN" AttributeName="UsedIn" type="Int32" PrimaryKey="3" /></lx:Criterion></lx:Criteria>' 
where ObjectModificationActionID = (select ObjectModificationActionID from VCLib.T_OBJECT_MODIFICATION_ACTION where Name = 'sp_GetSetCmnn');




