I am trying to figure out what we can and cannot do with the largely undocumented assemblyitem and build transactions in server-side script.
As far as I can tell, it is not possible to modify the members of an assembly and therefore it is not possible to create an assembly. I have never understood, frankly, why assemblies and kits could not be imported. I am even more baffled, however, as to why we cannot create them using scripting - especially since we now have access to the members (BTW I would LOVE access to the attendees on events as well).
Enough griping, now to my question. Has anyone figured out how to use the build transaction type. When I try to build an assembly, I get the following error:
Function: buildAssembly Error: USER_ERROR You must enter at least one line item for this transaction. Stack Trace: buildAssembly(buildAssembly:37)
Surely the line items would source from the assembly item by default? No?I have tried adding line items using the insert method with type set to line and also with it set to member. No dice in either case.Has anyone made this work? Or am I trying to do something that is not possible?Mark