Description
Initialize a new record in class table tAPMatchingCIAPM.
Parameters
ic_ParentRowid | input | character | = tAPMatchingCIAPM.tc_ParentRowid |
BCInvoiceAPMatching | output | dataset | class dataset, containing only the newly initialized record |
oiReturnStatus | output | integer | error status |
program code (program/bcinvoiceapmatching.p)
assign oiReturnStatus = -98.
empty temp-table t_sAPMatchingCIAPM.
empty temp-table t_sAPMatchingCostCIAPM.
empty temp-table t_sAPMatchingCostSafCIAPM.
empty temp-table t_sAPMatchingLcChargeCIAPM.
empty temp-table t_sCInvoiceCIAPM.
empty temp-table t_sCustomTable0.
empty temp-table t_sCustomTable1.
empty temp-table t_sCustomTable2.
create tAPMatchingCIAPM.
assign tAPMatchingCIAPM.tc_Rowid = dynamic-function("GetNumberForNew":U in {&TARGETPROCEDURE})
tAPMatchingCIAPM.tc_Status = "N":U.
assign tAPMatchingCIAPM.tc_ParentRowid = ic_ParentRowid.
{ includes/bfcrun.i
&procedure = "InitialValues"
¶meters = "input 'APMatchingCIAPM':U,
output oiReturnStatus" }
create t_sAPMatchingCIAPM.
raw-transfer tAPMatchingCIAPM to t_sAPMatchingCIAPM.