public int handlePutRawRecordData(Rec record)
    {
        int iErrorCode = Constant.NORMAL_RETURN;
        int iRecordCount = this.getRecordCount(record);
        
        Rec recTargetRecord = this.setDataIndex(RESET_INDEX, record);   // Reset index if multiple
        
        for (int index = 1; index <= iRecordCount; index++)
        {
            Rec recNext = this.setDataIndex(index, recTargetRecord);
            if (recNext == null)
                break;
            
            iErrorCode = super.handlePutRawRecordData(recNext);

            if (iErrorCode != Constant.NORMAL_RETURN)
                break;
        }
        this.setDataIndex(END_OF_NODES, recTargetRecord);
        return iErrorCode;
    }
public int handlePutRawRecordData ( Rec record ) { int iErrorCode = Constant . NORMAL_RETURN ; int iRecordCount = this . getRecordCount ( record ) ; Rec recTargetRecord = this . setDataIndex ( RESET_INDEX , record ) ; for ( int index = 1 ; index <= iRecordCount ; index ++ ) { Rec recNext = this . setDataIndex ( index , recTargetRecord ) ; if ( recNext == null ) break ; iErrorCode = super . handlePutRawRecordData ( recNext ) ; if ( iErrorCode != Constant . NORMAL_RETURN ) break ; } this . setDataIndex ( END_OF_NODES , recTargetRecord ) ; return iErrorCode ; }
Move the correct fields from ALL the detail records to the map.
Typically, you override this and loop through the records in the table.
If this method is used, is must be overidden to move the correct fields.
@param record The record to get the data from.