Use Case ImplementationPermanent link for this heading

The object classes Bulk Job (Component Object) and Bulk Job can be extended by solution specific bulk processes. The infrastructure of these object classes can be used to implement specific bulk operations using the base functionality provided by the software component FSCBULK.

Specific bulk implementations are available via the context menu “More Actions”.

Ein Bild, das Screenshot enthält.  Automatisch generierte Beschreibung

The only thing to do is to implement an action using the prototype BulkActionPrototype on the object classes Bulk Job (Component Object) and/or Bulk Job. The multinlingual name of this action is used as menu entry text.

Example

usecase ChangeOwner(parameters as BulkActionPrototype) {
  mlname = { }
  variant BulkOperation, BulkOperationBasicObject {
    impl = expression {
      obj.ObjectLock(true, true);
      User newowner = cooobj.newobjowner;
      Group newownergroup = cooobj.newobjgroup;
      if (newowner && newowner.active) {
        obj.objowner = newowner;  
      }
      if (newownergroup && newownergroup.active) {
        obj.objowngroup = newownergroup;  
      }
    }
  }
}

Additionaly it is possible to provide an action specific GUI when starting the bulk job. Therefore add a solution specific form for the action implemented above.

Example

extend class BulkOperation {
  forms {
    ChangeOwner {
      FormSetOwners;
    }
  }
}