I am new to Qdabra and I am testing out the SQL mapping functionality. I am using the Expense Report form sample. I have two SQL tables; the parent table and then a details table (for the itemized expenses). When I just map the parent SQL table in Qdabra I have no problems with the data posting to my table; however after I add the details table mappings and click Reshred All Documents I get an error message. I'm not sure what I'm doing wrong. The error states "Problem resolving XPath: on ExpenseReportsItems object. Expression must evaluate a node-set"
My parent table has fields: id(key field, Identity is set to No), purpose and name. My details table has fields: docid (which is the link to the parent table), itemid(key field, Identity = Yes), itemamt, itemcategory, itemdate, itemdesc.
Mappings are as follows:
Parent table:
id mapped to DBXL::DocId and Key checked, name mapped to my:employee/my:name, purpose mapped to my:purpose
Child (details table):
docid mapped to parent id, itemamt mapped to my:expenseReport/my:items/my:item/my:amount, itemcategory mapped to my:expenseReport/my:items/my:item/my:category, itemdate mapped to my:expenseReport/my:items/my:item/my:date, itemdesc mapped to my:expenseReport/my:items/my:item/my:description
Is there something I'm missing?