restore


Datafile Software

restore


restore="nnnnnn" — where nnnnnn is a label of some sort (any text with no spaces). This is used in conjunction with the "save” attribute (see below) when processing input XML files. The issue is that all the data from the order header must be copied to each output database record for that order, but the detail line data must be cleared for each new line. The "save” attribute, using any label you want, saves the order header stuff temporarily. A"restore” attribute, using the same label, then restores this header data into the new record before processing the detail line elements. More than one level of "save” and "restore” can be defined if more complex input XML files should ever require this.
Custom Fields

Article ID: 1833
Created On: Mon, Jul 9, 2012 at 4:25 PM
Last Updated On: Thu, Jun 22, 2023 at 4:51 PM

Online URL: https://kb.datafile.co.uk/article/restore-1833.html