poly item add column

Hi I create ItemType  Implementation Type chouse Poly Item and Poly Sources add  two ItemType A ,B. I want add property "notes" but this property not in A and B. This property for user when add A or B can wirte notes something. But I add property notes  show error message -->The property notes must be common to all sources or the property notes has inappropriate date type .    
  • yes properties need to be existing on each polysource. here is a sample method I have used when working with polyitems. It allows you to automaticaly push a new property from the polyitem to the polysource (also I realize I'm looping on an apply(), this could be enhanced)
    // Get innovator ref
    Innovator inn = this.getInnovator();
    
    // retrieve the Poly-itemtype
    Item polyItemType = inn.getItemById("ItemType", this.getProperty("source_id"));
    
    // retrieve the added property name
    String newPropertyName = this.getProperty("name");
    
    // test if the itemtype is a polyitemtype
    if (polyItemType.getProperty("implementation_type") == "polymorphic"){
        
        // get polysources
        polyItemType.fetchRelationships("Morphae");
        Item Morphaes = polyItemType.getRelationships("Morphae");
        
        // for each source - check if the property exists 
        for (int i = 0; i < Morphaes.getItemCount(); i++)
        {
            // get the morphae
            Item Morphae = Morphaes.getItemByIndex(i).getRelatedItem();
            Morphae.fetchRelationships("Property");
            
            // test if it has the added property (check just by name)
            if (Morphae.getRelationships("Property").getItemsByXPath("//Item[name='"+newPropertyName+"']").getItemCount() < 1){
                
                // Clone the property
                Item distributedProperty = this.clone(false);
                
                // Add the Property
                distributedProperty.setProperty("source_id",Morphae.getID());
                
                // Perform the query.
                Item results = distributedProperty.apply();
            }
            
        }
    
    }
    
    return this;