How to add line items
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:24 AM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:42 PM
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
Thanks,
Kevin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 07:04 AM
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
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
