Example Effective Date Related Record Query II

   <Context>
              <Variable name="EFFECTIVEDATE">2010-01-01 00:00:00.000</Variable>
            </Context>
         <Transaction>
            <Command type="Query">
               <MasterCatalogRecord etype="Entity">
                  <ExternalKeys>
                     <Key name="MASTERCATALOGNAME">SELF9</Key>
                     <Key name="PRODUCTID">fed1</Key>
                     <Key name="EFFECTIVEDATE">2013-01-01 00:00:00.000
																					</Key>                     
                     <!--Key name="FUTURE_DATED_RECORD">I</Key-->
                  </ExternalKeys>
																  <Return>
                     <RelationshipData>
                     <Relationship>                       
																					<RelationType>CUSTOMERADDRESS</RelationType>
                     </Relationship>
                     </RelationshipData>
                  </Return>
               </MasterCatalogRecord>
            </Command>
         </Transaction>