project QadFinancials > class BPaymentFormat > method InitialValues

Description

Add code here to initialize the calculated fields of a 'new' record (= a record that must be created in the application database) in a class temp-table.


Parameters


icTableNameinputcharacterName of the database table of which a record is created in the class temp-table.
oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bpaymentformat.p)

<ANCESTOR-CODE>

if icTableName = "PayFormatType":U
then assign tPayFormatType.PayFormatTypeIsActive = true
            tPayFormatType.PayFormatTypeIsSEPA   = false.

if icTableName = "PayFormatGroup":U
then assign tPayFormatGroup.PayFormatGroupIsActive = true.

if icTableName = "PayFormatCode":U
then assign tPayFormatCode.PayFormatCodeIsActive = true.