- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
The reason your table is not traveling with the form is because your schema is a bit off.
You have StockNo, descriptionArticlesServices, quantity, unit of issue, estimated unit price, amount, amount, and propcode.
Your table is set up to repeat for each data element, which is correct, but you need to reflect this in your schema. So you'd essentially want something like this:
<xs:element name="TableInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="TableRow" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="stockNo" type="xs:string" />
<xs:element name="descriptionArticlesServices" type="xs:string" />
<xs:element name="quantity" type="xs:int" />
<xs:element name="unitofIssue" type="xs:string" />
<xs:element name="estimatedUnitPrice" type="xs:decimal" />
<xs:element name="amount" type="xs:decimal" />
<xs:element name="propCode" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
You can then bind the stockNo text field to the $record.P1.TableInfo.TableRow[*].stockNo
In summary, your schema is currently only showing a single item (no repeating data nodes), so you will only ever have 1 data item to input into the table.
Hope that helps! If so, please mark it as helpful or correct!
Alex
Views
Replies
Total Likes