Abstract: A method and apparatus of a supply module having a business object module to least one schema to describe the supply chain data, a XML-based language module to process the at least one schema and a SQL code generator module to sequence of SQL instructions to perform a query of a user where the user the query in the XML-based language.