I have TBO for a Custom Type billing_doc extending dm_document, with some attributes, Some of the attributes like date_submitted and ACLs, I wanted populate using TBO.So I did the doSave and doCheckin, I posted the code below
Now the problem is when I create new object as new document of billing_doc, the custom attributes are set as expected.BUT when I import a document and select the type as billing_doc, none of the attributes are set, It looks like the TBO is not firing for the imports.
Once the object is imported and yu modify the any property the TBO updates the attribute. Question, Am i missing overriding any other method for the imports to work correctly ?
public void doSave(boolean saveLock, String versionLabel, Object[] extendedArgs) throws DfException { setDateSubmitted(); setNewACLs(); super.doSave(saveLock, versionLabel, extendedArgs);}// end doSave()public IDfId doCheckin(boolean fRetainLock, String versionLabels, String oldCompoundArchValue, String oldSpecialAppValue, String newCompoundArchValue, String newSpecialAppValue, Object[] extendedArgs) throws DfException { setDateSubmitted(); setNewACLs(); return super.doCheckin(fRetainLock, versionLabels, oldCompoundArchValue, oldSpecialAppValue, newCompoundArchValue, newSpecialAppValue, extendedArgs);}