Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I.e. when posting a Receive order, an Delivery Note is collected as standard.

How to use it


Code Block
languagexml
// >>>> CUSTOM HEADER STEPS

// Add the order level registration configuration
// Add the <registrationCollectorConfiguration> element
MobXMLMgt.AddElement(XMLResponseData,                             // Add to this Node
                     'registrationCollectorConfiguration',        // Name
                     '',                                          // Text
                     XMLResultDoc.DocumentElement.NamespaceURI,   // NameSpace
                     XMLRegCollectorConfiguration);               // New created node

// Add the <steps> element to the <registrationCollectorConfiguration>
MobXMLMgt.AddElement(XMLRegCollectorConfiguration,'steps','',XMLResultDoc.DocumentElement.NamespaceURI,XMLSteps);
// Init collector parameters
MobConfTools.RC_Std_Parms(1,                   // ID
                          'Text1',             // Name
                          'Enter some data',   // Header
                          'Data',              // Label
                          '');                 // Help Label
MobConfTools.RC_Text_XmlNode(XMLSteps,'',20);
MobConfTools.RC_Std_Parms(2,                   // ID
                          'Text2',             // Name
                          'Enter more data',   // Header
                          'More data',         // Label
                          '');                 // Help Label
// Create collector XML-Node
MobConfTools.RC_Text_XmlNode(XMLSteps,'',20);

// <<<< CUSTOM HEADER STEPS


Image Added