project QadFinancials > class BBudget > method Calculate

Description

This method will fill some calculated field in the BudgetWBS based on the actual and commitments;
fill some calculated field in the BudgetCompany based on the COmpany_ID; fill some calculated field in the BudgetVersionFigures based on the link to the BudgetWBS.


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bbudget.p)

<ANCESTOR-CODE>
    
    /* ========================================================================================= */
    /* Fill some calculated field in the BudgetWBS based on the actual and commitments           */
    /* ========================================================================================= */
    <M-3 run CalculateBudgetWBS (output viFcReturnSuper (oiReturnStatus)) in BBudget>
    
    /* ========================================================================================= */
    /* Fill some calculated field in the BudgetCompany based on the COmpany_ID                   */
    /* ========================================================================================= */
    <M-4 run CalculateBudgetCompany (output viFcReturnSuper (oiReturnStatus)) in BBudget>
    
    /* ========================================================================================= */
    /* Fill some calculated field in the BudgetVersionFigures based on the link to the BudgetWBS */
    /* ========================================================================================= */
    <M-2 run CalculateBudgetVersion (output viFcReturnSuper (oiReturnStatus)) in BBudget>