Continue the checking of the data if the offsite location has been included in the generated sales file, as per checking, it is not. Modified the web application to get the stores in the table for the sales to be extracted, and add a condition using the other fields that if the declared store field is true, the store to be used in the XML is the declared store code, if false the store code will be used.