Index: main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/export.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/export.py	(revision 9261)
+++ main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/export.py	(revision 9262)
@@ -33,8 +33,16 @@
 
     #: Fieldnames considered by this exporter
-    fields = tuple(sorted(iface_names(IAccessCodeBatch)))
+    fields = tuple(sorted(iface_names(IAccessCodeBatch))) + ('batch_id',)
 
     #: The title under which this exporter will be displayed
     title = _(u'AccessCodeBatches')
+
+    def mangle_value(self, value, name, context=None):
+        if name == 'batch_id' and context is not None:
+            value = u'%s-%s' % (getattr(context, 'prefix', None),
+                getattr(context, 'num', None))
+        return super(
+            AccessCodeBatchExporter, self).mangle_value(
+            value, name, context=context)
 
     def export_all(self, site, filepath=None):
Index: main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_export.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_export.py	(revision 9261)
+++ main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_export.py	(revision 9262)
@@ -70,6 +70,6 @@
             result,
              'cost,creation_date,creator,disabled_num,entry_num,num,'
-             'prefix,used_num\r\n6.6,now,manfred,0,0,1,APP,0\r\n6.6,'
-             'now,manfred,0,0,0,SFE,0\r\n'
+             'prefix,used_num,batch_id\r\n6.6,now,manfred,0,0,1,APP,0,APP-1\r\n'
+             '6.6,now,manfred,0,0,0,SFE,0,SFE-0\r\n'
             )
         return
