project QadFinancials > class BAllocationBatchExecute > method GetProposedAllocations


Parameters


icAllocationBatchCodeinputcharacter
iiFromAllocationBatchLineSeqinputinteger
iiSourcePeriodYearinputinteger
iiSourcePeriodPeriodinputinteger
iiTargetPeriodYearinputinteger
iiTargetPeriodPeriodinputinteger
itPostingDateinputdateInput parameter: posting date to be used.
t_sProposedAllocationsRefinput-outputtemp-table
olIsLockedByDaemonoutputlogical
oiCountOfGroupsTotaloutputinteger
oiCountOfGroupsToBeProcessedoutputinteger
oiCountOfGroupsProcessedoutputinteger
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program3/ballocationbatchexecute.p)

/* split due to transactional activity */
<I-2 {bFcStartAndOpenInstance
            &ADD-TO-TRANSACTION = "false"
            &CLASS              = "BAllocationBatch"}>
                              
<M-1 run GetProposedAllocations
   (input  icAllocationBatchCode (icAllocationBatchCode), 
    input  iiFromAllocationBatchLineSeq (iiFromAllocationBatchLineSeq), 
    input  iiSourcePeriodYear (iiSourcePeriodYear), 
    input  iiSourcePeriodPeriod (iiSourcePeriodPeriod), 
    input  itPostingDate (itPostingDate), 
    input-output t_sProposedAllocationsRef (t_sProposedAllocations), 
    output olIsLockedByDaemon (olIsLockedByDaemon), 
    output oiCountOfGroupsTotal (oiCountOfGroupsTotal), 
    output oiCountOfGroupsToBeProcessed (oiCountOfGroupsToBeProcessed), 
    output oiCountOfGroupsProcessed (oiCountOfGroupsProcessed), 
    output viFcReturnSuper (oiReturnStatus)) in BAllocationBatch>
assign oiReturnStatus = viFcReturnSuper.         

<I-3 {bFcCloseAndStopInstance
            &CLASS           = "BAllocationBatch"}>