cancel
Showing results for 
Search instead for 
Did you mean: 

How to add line items

jenskock
Champ in-the-making
Champ in-the-making
Hi everybody,

Is there a way to export line items to alfresco? I have an invoice scanning application that recognizes line items, and i would like to export these to alfresco. i have an aspect called lineitem and that should be applied to a content type. so, for instance, if an invoice has 4 lineitems, than the content should have 4 lineitem aspects applied to it.

I think this isn't the way to go about it, but i'm not sure to go ahead. Is there a way to add 'n' aspects to a content type, where 'n' could be anywhere between 1 and 1000?

Thanks in advance!

jens
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
Each node can only have a specific aspect applied once. But that aspect definition can have several multi-value properties or maybe model a 1..many association. If you use an association then you can model each line item as a type and associate to that.

Thanks,

Kevin

luisalves00
Champ in-the-making
Champ in-the-making
Hello,

I have the same problem. Modeling the line item with the <multiple> doesn't work, because <multiple> only supports one field, but the rendered UI is the correct one.

Modeling with the <association> would be the correct way to do, but the rendered UI is incorrect. I expect something like this (Master Detail):
Note: the line item isn't a document. It should be a group of properties (meta data of the document)

http://imagebin.org/index.php?mode=image&id=112254


Something like this is possible and how hard is to implement it?

regards