Runtime/Behavior Changes

class OfdaXMLOrderLineProxy

With the addition of the new part attribute description/notes system, OfdaXMLOrderLineProxy now exports these values during OFDA XML exports.

The following function was added to do this. It is called from xmlLineItem(..) during a Parts export. It loops through the parts attributes to generate XML tags for them. The tags replicate those used in the Spec application's OFDA XML export.

/**
 * Generate the Part Attributes.
 */
extend public void xmlGeneratePartAttributes(str prefix, Part part, XmlStreamBuf buf) {
	for (attribute in part.?getAnnotations()) {
		xmlHead(prefix # "Comment", buf) {
			xmlItem(prefix # "Type", "Line Note");

			str value = concat(attribute.note, " : ", attribute.description);
			xmlItem(prefix # "Value", value);
		}
	}
}