* Callback method called by the Form panel when the Form is set to INSERT mode.
* The method can pre-set some v.o. attributes, so that some input controls will have a predefined value associated.
* @param persistentObject new value object
*/
public void createPersistentObject(ValueObject persistentObject) throws Exception {
DetailPurchaseDocRowVO vo = (DetailPurchaseDocRowVO)persistentObject;
DetailPurchaseDocVO parentVO = panel.getParentVO();
Calendar cal = Calendar.getInstance();
vo.setCompanyCodeSys01DOC07(parentVO.getCompanyCodeSys01DOC06());
vo.setDocYearDOC07(parentVO.getDocYearDOC06());
vo.setDocTypeDOC07(parentVO.getDocTypeDOC06());
vo.setDocNumberDOC07(parentVO.getDocNumberDOC06());
vo.setDeliveryDateDOC07(new java.sql.Date(System.currentTimeMillis()));
vo.setCurrencyCodeReg03DOC06(panel.getParentVO().getCurrencyCodeReg03DOC06());
vo.setVariantCodeItm11DOC07("*");
vo.setVariantCodeItm12DOC07("*");
vo.setVariantCodeItm13DOC07("*");
vo.setVariantCodeItm14DOC07("*");
vo.setVariantCodeItm15DOC07("*");
vo.setVariantTypeItm06DOC07("*");
vo.setVariantTypeItm07DOC07("*");
vo.setVariantTypeItm08DOC07("*");
vo.setVariantTypeItm09DOC07("*");
vo.setVariantTypeItm10DOC07("*");
}