project QadFinancials > class BBudget > method CreateCustomTable2
Description
Initialize a new record in class table tCustomTable2.
Parameters
ic_ParentRowid | input | character | = tCustomTable2.tc_ParentRowid |
BBudget | output | dataset | class dataset, containing only the newly initialized record |
oiReturnStatus | output | integer | error status |
program code (program/bbudget.p)
assign oiReturnStatus = -98.
empty temp-table t_sBudget.
empty temp-table t_sBudgetCompany.
empty temp-table t_sBudgetFDS.
empty temp-table t_sBudgetPeriod.
empty temp-table t_sBudgetVersion.
empty temp-table t_sBudgetVersionFig.
empty temp-table t_sBudgetVersionGLFig.
empty temp-table t_sBudgetWBS.
empty temp-table t_sBudgetWBSBusComponent.
empty temp-table t_sBudgetWBSRoster.
empty temp-table t_sTransString.
empty temp-table t_sCustomTable0.
empty temp-table t_sCustomTable1.
empty temp-table t_sCustomTable2.
create tCustomTable2.
assign tCustomTable2.tc_Rowid = dynamic-function("GetNumberForNew":U in {&TARGETPROCEDURE})
tCustomTable2.tc_Status = "N":U.
assign tCustomTable2.tc_ParentRowid = ic_ParentRowid.
{ includes/bfcrun.i
&procedure = "InitialValues"
¶meters = "input 'CustomTable2':U,
output oiReturnStatus" }
create t_sCustomTable2.
raw-transfer tCustomTable2 to t_sCustomTable2.