public void syncHeaderToMain()
    {
        // Don't call super.
        this.syncContactTypeToMain();
        ReferenceField fldMain = (ReferenceField)this.getMainRecord().getField(MessageDetail.PERSON_ID);
        this.syncRecordToMainField(fldMain, null, DBParams.HEADER_OBJECT_ID);
    }
public void syncHeaderToMain ( ) { this . syncContactTypeToMain ( ) ; ReferenceField fldMain = ( ReferenceField ) this . getMainRecord ( ) . getField ( MessageDetail . PERSON_ID ) ; this . syncRecordToMainField ( fldMain , null , DBParams . HEADER_OBJECT_ID ) ; }
Read the current file in the header record given the current detail record.