project QadFinancials > class BCountry > method AdditionalUpdates
Description
This empty method allows to do additional updates on class temp-tables after records were received (and validated) from outside, using method SetPublicTables.
You can start instances of other business classes to do those updates.
Parameters
oiReturnStatus | output | integer | |
Internal usage
QadFinancials
program code (program/bcountry.p)
<ANCESTOR-CODE>
Assign viLocalReturnStatus = oiReturnStatus
oiReturnStatus = -98.
if(viBMfgCountryID = 0 or viBMfgCountryID = ?)
then do:
<I-4 {bFcStartAndOpenInstance
&ADD-TO-TRANSACTION = "true"
&CLASS = "BMfgCountry"}>
end.
else do:
<I-10 {bFcOpenInstance
&CLASS = "BMfgCountry"}>
end.
<M-5 run MaintainData (input tCountry (tCopyCountry),
output viExternalReturnStatus (oiReturnStatus)) in BMfgCountry>
<I-6 {bFcCloseInstance
&CLASS = "BMfgCountry"}>
if viExternalReturnStatus <> 0 then assign viLocalReturnStatus = viExternalReturnStatus.
if viLocalReturnStatus < 0
then do:
<M-11 run StopExternalInstances
(output viFcReturnSuper (oiReturnStatus)) in BCountry>
end.
assign oiReturnStatus = viLocalReturnStatus.