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 Part
s export.
It loops through the part
s 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); } } }