Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py	(revision 8376)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py	(revision 8377)
@@ -58,4 +58,8 @@
 
     @property
+    def container_code(self):
+        return self.__parent__.code
+
+    @property
     def translated_state(self):
         return application_states_dict[self.state]
Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py	(revision 8376)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py	(revision 8377)
@@ -71,5 +71,5 @@
 
     #: Fieldnames considered by this exporter
-    fields = tuple(sorted(IApplicantBaseData.names()))
+    fields = tuple(sorted(IApplicantBaseData.names())) + ('container_code',)
 
     #: The title under which this exporter will be displayed
Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py	(revision 8376)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py	(revision 8377)
@@ -144,10 +144,10 @@
             'history,lastname,locked,middlename,notice,password,phone,'
             'reg_number,screening_score,screening_venue,sex,state,'
-            'student_id\r\n'
+            'student_id,container_code\r\n'
             'dp2011_654321,,654321,,,,,Anna Tester,,Anna,'
             in result)
         self.assertTrue(
             'Application initialized by system\'],Tester,'
-            '0,,,,,,,,,initialized,\r\n'
+            '0,,,,,,,,,initialized,,dp2011\r\n'
             in result)
         return
@@ -168,5 +168,5 @@
             'history,lastname,locked,middlename,notice,password,phone,'
             'reg_number,screening_score,screening_venue,sex,state,'
-            'student_id\r\n'
+            'student_id,container_code\r\n'
             'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04#,'
             'Anna M. Tester,anna@sample.com,Anna,'
@@ -175,5 +175,5 @@
             'Application initialized by system\'],'
             'Tester,0,M.,"Some notice\nin lines.",any password,'
-            '+234-123-12345,123456,98,Exam Room,f,initialized,\r\n'
+            '+234-123-12345,123456,98,Exam Room,f,initialized,,dp2011\r\n'
             in result)
 
@@ -192,5 +192,5 @@
             'history,lastname,locked,middlename,notice,password,phone,'
             'reg_number,screening_score,screening_venue,sex,state,'
-            'student_id\r\n'
+            'student_id,container_code\r\n'
             'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04#,'
             'Anna M. Tester,anna@sample.com,Anna,'
@@ -199,5 +199,5 @@
             'Application initialized by system\'],'
             'Tester,0,M.,"Some notice\nin lines.",any password,'
-            '+234-123-12345,123456,98,Exam Room,f,initialized,\r\n'
-            in result)
-        return
+            '+234-123-12345,123456,98,Exam Room,f,initialized,,dp2011\r\n'
+            in result)
+        return
