project QadFinancials > class BDInvoice > method GetDeductionCatCodeInfo


Parameters


icDeductionCodeinputcharacter
ocDeductionCatTypeoutputcharacter
ocDeductionCatDescoutputcharacter
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program1/bdinvoice.p)

assign
    ocDeductionCatType = "".
    ocDeductionCatDesc = "".

<Q-85 run GetDeductionCatCodeInfo (first) (Read) (NoCache)
       (input icDeductionCode, (DeductionCatCode)
        output dataset tqGetDeductionCatCodeInfo) in BDeductionCat>

for first tqGetDeductionCatCodeInfo:
    assign ocDeductionCatType = tqGetDeductionCatCodeInfo.tcDeductionCatType
           ocDeductionCatDesc = tqGetDeductionCatCodeInfo.tcDeductionCatDescription.

end.