232 |
try: |
try: |
233 |
commitState= 0 |
commitState= 0 |
234 |
if ownBranchBlock.getCurrentRecord().isInserted(): |
if ownBranchBlock.getCurrentRecord().isInserted(): |
|
#ownBranchBlock.entityIdEntry.autofillBySequence('entity_id_seq') |
|
|
#ownStorehouseBlock.storehouseEntityIdEntry.autofillBySequence('entity_id_seq') |
|
235 |
ownStorehouseBlock.nameEntry = 'storehowse' |
ownStorehouseBlock.nameEntry = 'storehowse' |
236 |
print str(ownBranchBlock.entityIdEntry) |
print str(ownBranchBlock.entityIdEntry) |
237 |
ownBranchBlock.postChanges() |
ownBranchBlock.postChanges() |
239 |
commitState= 2 |
commitState= 2 |
240 |
commitState= 3 |
commitState= 3 |
241 |
#cargo la relación own_storehowse_of_own_branch |
#cargo la relación own_storehowse_of_own_branch |
|
entityRelationBlock.entityRelationIdEntry.autofillBySequence('entity_relation_id_seq') |
|
242 |
#cargo la parte de la relacion correspondiente a own_branch |
#cargo la parte de la relacion correspondiente a own_branch |
243 |
entityRelationBlock.entityRelationFromEntry = str(ownBranchBlock.entityIdEntry) |
entityRelationBlock.entityRelationFromEntry = str(ownBranchBlock.entityIdEntry) |
244 |
#cargo la parte de la relacion correspondiente a own_storehowse |
#cargo la parte de la relacion correspondiente a own_storehowse |