INSERT INTO VCLIB.T_OBJECT_MODIFICATION_ACTION (
    ObjectModificationActionID,
    Entities,
    Position,
    type_,
    Active,
    Name,
    Instruction,
    InstructionType
)
VALUES (
    '13E88163-1C09-4566-A915-7EBDE69BAFB3',
    (SELECT EntityID FROM vclib.t_entities WHERE EntName = 'LLO_ELECTRONIC_CERTIFICATE_APPLICATION' LIMIT 1),
    1,
    (SELECT EntityID FROM vclib.t_entities WHERE EntName = 'SINGLE_MODIFICATION_ACTION' LIMIT 1),
    true,
    'AKUZ.sp_RDS_LloElectronicCertificate',
    'AKUZ.sp_RDS_LloElectronicCertificate',
    0
);

INSERT INTO vclib.t_single_modification_action (
    ObjectModificationActionID,
    InsertFilter,
    UpdateFilter,
    DeleteFilter,
    EditType
)
VALUES (
    '13E88163-1C09-4566-A915-7EBDE69BAFB3',
    '<lx:Criterion not="1" type="=" xmlns:lx="lexem">
        <lx:Path OwnerQueryLevel="0">
            <lx:StepString name="SignaData" />
        </lx:Path>
        <lx:Null />
    </lx:Criterion>',
    NULL,
    NULL,
    2
);

INSERT INTO vclib.T_OBJECT_MODIFICATION_ACTION_PARAM (
    ObjectModificationActionParamID,
    ObjectModificationAction,
    ParamValue,
    Name
)
VALUES (
    'C1B13C7D-DDB3-474E-8683-CF6D902C4308',
    '13E88163-1C09-4566-A915-7EBDE69BAFB3',
    '<lx:Path OwnerQueryLevel="0" xmlns:lx="lexem">
        <lx:StepString name="LloElectronicCertificateApplicationID" />
    </lx:Path>',
    'ID'
);
