[ 1922677 ] Export of field doesn't export related reference.
This commit is contained in:
parent
f26eacc50c
commit
8fb5a00608
|
@ -192,10 +192,22 @@ public class FieldElementHandler extends AbstractElementHandler {
|
|||
|
||||
PackOut packOut = (PackOut)ctx.get("PackOutProcess");
|
||||
|
||||
if(m_Field.getAD_FieldGroup_ID() != 0){
|
||||
if(m_Field.getAD_FieldGroup_ID() > 0){
|
||||
packOut.createFieldGroupElement(m_Field.getAD_FieldGroup_ID(), document);
|
||||
}
|
||||
|
||||
if(m_Field.getAD_Reference_ID() > 0) {
|
||||
packOut.createReference(m_Field.getAD_Reference_ID(), document);
|
||||
}
|
||||
|
||||
if (m_Field.getAD_Reference_Value_ID() > 0) {
|
||||
packOut.createReference(m_Field.getAD_Reference_Value_ID(), document);
|
||||
}
|
||||
|
||||
if (m_Field.getAD_Val_Rule_ID() > 0) {
|
||||
packOut.createDynamicRuleValidation(m_Field.getAD_Val_Rule_ID(), document);
|
||||
}
|
||||
|
||||
document.startElement("", "", "field", atts);
|
||||
document.endElement("", "", "field");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue