Transferring Batch Ownership

A procedure called TRANSFER_BATCH_OWNERSHIP is available in Configuration Schema to transfer the batch ownership of specific batches in an information domain or across information domains.
To execute the procedure:
  1. Login to Configuration Schema.
  2. Execute the procedure TRANSFER_BATCH_OWNERSHIP by entering following command:
    begin
    AAI_TRANSFER_BATCH_OWNER.TRANSFER_BATCH_OWNERSHIP
    ('<fromuser>','<touser>','<batchid>','<infodom>');
    end;
    • <fromuser> - Specify the ID of the user whose batch ownership you want to transfer.
    • <touser> - Specify the ID of the user to whom the ownership has to be transferred.
    • <batchid> - This is an optional parameter. Specify the ID of the batch whose ownership you want to transfer. If <batchid> is not specified, all batches owned by the <fromuser> will be transferred to the <touser>.
    • <infodom> - This is an optional parameter. Specify the information domain name if ownership of all batches in that information domain needs to be transferred to the <touser>. If <infodom> is not specified, ownership of batches across all information domains will be transferred.
    For example:
    To transfer a single batch ownership, execute the following command:
    begin
    AAI_TRANSFER_BATCH_OWNER.TRANSFER_BATCH_OWNERSHIP
    ('<fromuser>','<touser>','<batchid>');
    end;
    To transfer all batch ownerships across infodoms, execute the following command:
    begin
    AAI_TRANSFER_BATCH_OWNER.TRANSFER_BATCH_OWNERSHIP ('<fromuser>','<touser>');
    end;
    To transfer all batches in a specific infodom, execute the following command:
    begin
    AAI_TRANSFER_BATCH_OWNER.TRANSFER_BATCH_OWNERSHIP
    ('<fromuser>','<touser>','','<infodom>');
    end;