Does anyone know the detail of the createBatchForAssociation function the only documentation I can find is the following MendixObjects - Reference Guide I am trying to establish whether the Attribute to be used with setMemberValue("Attribute1", "Value") is the reference attribute or the attribute of the refrenced object i.e. is it Invoice_ItemLine or just the actual ItemLine attribute.
This in the Java doc
- Add child batch for the given association
- All elements created in this child batch will be added to the association of the current active object of this batch.
- addBatchForAssociation will be called on the child batch.