Hi Narayan
Good day
kinldy find the following
1-this application has to consider all aircraft types
2-regarding hold, compartment and numbering scheme
E75 and E95
we have 2 holds 
fwd hold    and  aft hold
compartment and numbering scheme are the same
cpt 1  and cpt 4
A319
3 holds
fwd            aft          bulk
cpt1           cpt4       cpt4
11,12         41,42      51
A320
3holds
fwd                   aft                    bulk
cpt1               cpt3     cpt 4            cpt5
11,12,13         31,32   41,42           51
A321
3 holds
fwd                       aft                      bulk
cpt1     cpt2            cpt3        cpt4            cpt5
11,12   21,22,23     32,33       41,42           51
A330
3 holds
fwd                                                                           
cpt1                                                                        cpt2
11l,11r,12l,12r,13l,13r,14l,14r (ake,akh,pkc)           21l,21r,22l,22r,23l,23r
11,12,13,14  (ALF,PLA)                                          21,22,23
12p,13p  (PMC,PAG,PAJ)                                        21P,22P
aft
cpt3                                               cpt4
31l,31r,32l,32r,33l,33r                   41l,41r,42l,42r,43l,43r
31,32,33                                       41,42,43
31p,32p                                        41p,42p
bulk hold
51
A340
3 holds
fwd                                                                           
cpt1                                                                 cpt2
11l,11r,12l,12r,13l,13r (ake,akh,pkc)           21l,21r,22l,22r,23l,23r,24l,24r
11,12,13  (ALF,PLA)                                      21,22,23,24
11p,12p  (PMC,PAG,PAJ)                              21P,22P,24p
aft
cpt3                                               cpt4
31l,31r,32l,32r,33l,33r                   41l,41r,42l,42r,43l,43r,44l
31,32,33                                       41,42,43
31p,32p                                        41p,42p
bulk hold
51
B787
3 holds
fwd                                                                           
cpt1                                                                        cpt2
11l,11r,12l,12r,13l,13r,14l,14r (ake,akh,pkc)       21l,21r,22l,22r,23l,23r,24l,24r
11,12,13,14  (ALF,PLA)                                        21,22,23,24
,11p12p,13p  (PMC,PAG,PAJ)                                21P,22P
aft
cpt3                                               cpt4
31l,31r,32l,32r,33l,33r                   41l,41r,42l,42r,43l,43r
31,32,33                                       41,42,43
31p,32p                                        41p,42p
bulk hold
51
regrading wright and volume it is covered in different part of the application 
regarding the values to be entered. it be restricted by ULD type ( e.g ake, akh  etc). for that the maximum weight can be loaded per ULD type is the following
pkc  1134
akh  1134 kg
ake  1587 kg
alf   3174
pla  3174
paj  4626
pag 4626
pmc 4626
hope this will suffice
many thanks