Runtime value disapearing in the advanced recordset

I am trying to create a master and a detail page to get, on the detail page, more details about an exporter (from exporters table) along with the Export Products (from Products table) offered by the particular exporter. When setting up the advanced recordset I introduced a variable varexporter
Here's the recordset SQL
SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters.Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters.FactoryAddress, exporters.CommencementYear, exporters.Manufacturer_OR_Producer, exporters.EstablishmentType, exporters.SynopsisLink, products.productID, products.productName, products.image
FROM exporters, products
WHERE products.exporterID=exporters.exporterID AND exporters.exporterID=varexporter
Once I save this DW creates another variable by the name totalRows and vipes out the runtime value of varexporter. The detail page is always generated with the default value of varexporter
Please help me to write the correct sql query so that it gives the appropiate outcome for each link on the master page for exporters.
Thanks and Regards

Thank you bregent.
As I do not know php and mysql I am getting Dreamweaver to do the work. Cama a long way till I got stuck here.
Here are the codes in Full:
Firstly, Master Page (works well and opens up the detail page witrh the correct URL parameter)
<?php require_once('../Connections/ltndb.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  return $theValue;
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  return $theValue;
$currentPage = $_SERVER["PHP_SELF"];
mysql_select_db($database_ltndb, $ltndb);
$query_rs_category_apparel = "SELECT categories.`Catergory Image`, categories.categoryName FROM categories WHERE categories.categoryID=1";
$rs_category_apparel = mysql_query($query_rs_category_apparel, $ltndb) or die(mysql_error());
$row_rs_category_apparel = mysql_fetch_assoc($rs_category_apparel);
$totalRows_rs_category_apparel = mysql_num_rows($rs_category_apparel);mysql_select_db($database_ltndb, $ltndb);
$query_rs_category_apparel = "SELECT categories.`Catergory Image`, categories.categoryName FROM categories WHERE categories.categoryID=1";
$rs_category_apparel = mysql_query($query_rs_category_apparel, $ltndb) or die(mysql_error());
$row_rs_category_apparel = mysql_fetch_assoc($rs_category_apparel);
$totalRows_rs_category_apparel = mysql_num_rows($rs_category_apparel);
$maxRows_rs_details_apparel = 5;
$pageNum_rs_details_apparel = 0;
if (isset($_GET['pageNum_rs_details_apparel'])) {
  $pageNum_rs_details_apparel = $_GET['pageNum_rs_details_apparel'];
$startRow_rs_details_apparel = $pageNum_rs_details_apparel * $maxRows_rs_details_apparel;
mysql_select_db($database_ltndb, $ltndb);
$query_rs_details_apparel = "SELECT exporters.exporterLogo, exporters.exporterName, exporters.exporterPhone, exporters.exporterEmail, products.productName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterFax, exporters.exporterID, exporters.exporterZip, exporters.exporterWebsite, exporters.SynopsisLink, products.productID, products.image, exporters.Country, categories.categoryID FROM exporters, products,categories WHERE products.categoryID=1 AND exporters.exporterID=products.exporterID AND categories.categoryID=1 ORDER BY exporters.exporterName";
$query_limit_rs_details_apparel = sprintf("%s LIMIT %d, %d", $query_rs_details_apparel, $startRow_rs_details_apparel, $maxRows_rs_details_apparel);
$rs_details_apparel = mysql_query($query_limit_rs_details_apparel, $ltndb) or die(mysql_error());
$row_rs_details_apparel = mysql_fetch_assoc($rs_details_apparel);
if (isset($_GET['totalRows_rs_details_apparel'])) {
  $totalRows_rs_details_apparel = $_GET['totalRows_rs_details_apparel'];
} else {
  $all_rs_details_apparel = mysql_query($query_rs_details_apparel);
  $totalRows_rs_details_apparel = mysql_num_rows($all_rs_details_apparel);
$totalPages_rs_details_apparel = ceil($totalRows_rs_details_apparel/$maxRows_rs_details_apparel)-1;
$queryString_rs_details_apparel = "";
if (!empty($_SERVER['QUERY_STRING'])) {
  $params = explode("&", $_SERVER['QUERY_STRING']);
  $newParams = array();
  foreach ($params as $param) {
    if (stristr($param, "pageNum_rs_details_apparel") == false &&
        stristr($param, "totalRows_rs_details_apparel") == false) {
      array_push($newParams, $param);
  if (count($newParams) != 0) {
    $queryString_rs_details_apparel = "&" . htmlentities(implode("&", $newParams));
$queryString_rs_details_apparel = sprintf("&totalRows_rs_details_apparel=%d%s", $totalRows_rs_details_apparel, $queryString_rs_details_apparel);
$query_rs_category_apparel = "SELECT categories.`Catergory Image`, categories.categoryName FROM categories";
$rs_category_apparel = mysql_query($query_rs_category_apparel, $ltndb) or die(mysql_error());
$row_rs_category_apparel = mysql_fetch_assoc($rs_category_apparel);
$totalRows_rs_category_apparel = mysql_num_rows($rs_category_apparel);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Enter your description here so that you can take advantage of search engine optimization." />
<meta name="author" content="The CSS Tinderbox - http://www.csstinderbox.com" />
<link rel="stylesheet" type="text/css" href="../reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../style.css" media="screen,print" />
<title>the css tinderbox: fixed 4-column layout</title>
<!-- InstanceParam name="id" type="text" value="page104" -->
/* Googogle analytics*/
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34050000-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
</script>
/* Googogle analytics*/
</head>
<body id="page104">
<div id="mainContainer" class="clearfix">
</div>
  <!--// end #header //-->
  <div id="navHorizontal">
    <ul>
      <li id="page1"><a href="../index.html">About Us</a></li>
      <li id="page2"><a href="../our_services.html">Our Services</a></li>
      <li id="page4"><a href="../products_services.php">Products</a></li>
      <li id="page5"><a href="../suppliers.php">Suppliers</a></li>
      <li id="page6"><a href="../contact_us.html">Contact Us</a></li>
    </ul>
  </div>
  <!--// end #navHorizontal //-->
  <div id="columnOne">
    <h1> </h1>
    <h2 id="listhead">Products & Services </h2>
    <p> </p>
    <div id="navVertical">
      <ul>
        <li id="page104"><a href="apparel.php" title="Page Link">Apparel  & Garment Accessories</a></li>
        <li id="page115"><a href="body_care.php" title="Page Link">Body Care Products</a></li>
        <li id="page113"><a href="cereals.php" title="Page Link">Cereals</a></li>
        <li id="page128"><a href="chemicals_plastics.php" title="Page Link">Chemicals &Plastics</a></li>
        <li id="page103"><a href="coconut_coconutproducts.php" title="Page Link">Coconut & Coconut Products</a></li>
        <li id="page120"><a href="computers_electronics.php" title="Page Link">Computers & Electronics</a></li>
        <li id="page123"><a href="fisheries_products.php" title="Page Link">Fisheries Products</a></li>
        <li id="page108"><a href="foliage_cutflowers.php" title="Page Link">Foliage & Cut Flowers</a></li>
        <li id="page112"><a href="fruits_vegetables.php" title="Page Link">Fruits & Vegetables</a></li>
        <li id="page106"><a href="gems_jewelry.php" title="Page Link">Gems & Jewellery</a></li>
        <li id="page116"><a href="handicrafts.php" title="Page Link">Handicrafts</a></li>
        <li id="page111"><a href="handloom_textiles.php" title="Page Link">Handloom & Textiles</a></li>
        <li id="page109"><a href="leather_leatherproducts.php" title="Page Link">Leather & Leather Goods</a></li>
        <li id="page126"><a href="machinery_equipment.php" title="Page Link">Machinery & Accessories</a></li>
        <li id="page114"><a href="metal_metalproducts.php" title="Page Link">Metal & Metal Products</a></li>
        <li id="page117"><a href="mineral_products.php" title="Page Link">Mineral Products</a></li>
        <li id="page121"><a href="ornamental_fish.php" title="Page Link">Ornamental Fish</a></li>
        <li id="page110"><a href="paper_paperproducts.php" title="Page Link">Paper Products &amp; Stationery</a></li>
        <li id="page122"><a href="pharmaceuticals_medicines.php" title="Page Link">Pharmaceuticals & Medicines</a></li>
        <li id="page124"><a href="food_beverages.php" title="Page Link">Processed Foods & Beverages</a></li>
        <li id="page102"><a href="rubber_rubberproducts.php" title="Page Link">Rubber & Rubber Products</a></li>
        <li id="page118"><a href="services.php" title="Page Link">Services</a></li>
        <li id="page107"><a href="spices_essentialoils.php" title="Page Link">Spices & Essential Oils</a></li>
       <li id="page101"><a href="tea.php" title="Page Link">Tea</a></li>
        <li id="page125"><a href="tissue_culture.php" title="Page Link">Tissue Culture</a></li>
        <li id="page105"><a href="tourism.php" title="Page Link">Tourism</a></li>
        <li id="page127"><a href="toys_games_sports_products.php" title="Page Link">Toys, Games & Sports Goods</a></li>
        <li id="page119"><a href="wooden_products.php" title="Page Link">Wooden Products</a></li>
      </ul>
    </div>
    <!--// end #navVertical //--> </div>
  <!--// end #columnOne //--><!-- InstanceBeginEditable name="col2" -->
  <div id="columnTwo">
  <h1> </h1>
  <h2>Column 2</h2>
  <table width="336" border="1" cellspacing="2" cellpadding="2">
    <tr>
      <th width="324" scope="row"><?php echo $row_rs_category_apparel['Catergory Image']; ?></th>
    </tr>
    <tr>
      <th scope="row"><?php echo $row_rs_category_apparel['categoryName']; ?></th>
    </tr>
  </table>
  <p> </p>
  <p>Lorem ipsum dolor sit amet, <strong>consectetuer adipiscing elit</strong>. Pellentesque hendrerit tellus mollis dolor. </p>
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. Aenean in nisi nec dui pretium bibendum. Praesent a sapien at dolor feugiat volutpat.</p>
  <h2>heading h2</h2>
<p> </p>
  <p>Lorem ipsum dolor sit amet, <em>consectetuer adipiscing elit</em>. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. </p>
<h3>heading h3</h3>
  <p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing elit</a>. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. </p>
  <h4>heading h4</h4>
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. </p>
  <ul>
    <li>Bullet List Item</li>
    <li>Bullet List Item</li>
    <li>Bullet List Item
      <ul>
        <li>Bullet List Item</li>
        <li>Bullet List Item</li>
      </ul>
    </li>
  </ul>
  <ol>
    <li>Numbered List Item</li>
    <li>Numbered List Item</li>
    <li>Numbered List Item
      <ol>
        <li>Numbered List Item</li>
        <li>Numbered List Item</li>
      </ol>
    </li>
  </ol>
  </div>
  <!-- InstanceEndEditable --><!--// end #columnTwo //--><!-- InstanceBeginEditable name="col3" -->
  <div id="columnThree">
    <h1> </h1>
    <h2>Column 3</h2>
    <?php do { ?>
      <table width="335" border="1" cellpadding="2" cellspacing="2">
        <tr>
          <th scope="row"> </th>
        </tr>
        <tr>
          <th width="324" scope="row"><?php echo $row_rs_details_apparel['exporterLogo']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['productName']; ?></th>
        </tr>
        <tr>
          <th scope="row"><a href="../exporter_profile.php?exporterID=<?php echo $row_rs_details_apparel['exporterID']; ?>"><?php echo $row_rs_details_apparel['exporterName']; ?></a></th>
        </tr>
        <tr>
          <th height="19" scope="row"><?php echo $row_rs_details_apparel['exporterStreet']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['exporterCity']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['exporterContact']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['exporterDesignation']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['exporterPhone']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['exporterFax']; ?></th>
        </tr>
        <tr>
          <th scope="row"><?php echo $row_rs_details_apparel['exporterEmail']; ?></th>
        </tr>
        <tr>
          <th height="25" scope="row"> </th>
        </tr>
      </table>
      <?php } while ($row_rs_details_apparel = mysql_fetch_assoc($rs_details_apparel)); ?>
<p> </p>
    <p>
      <?php if ($pageNum_rs_details_apparel > 0) { // Show if not first page ?>
  <a href="<?php printf("%s?pageNum_rs_details_apparel=%d%s", $currentPage, max(0, $pageNum_rs_details_apparel - 1), $queryString_rs_details_apparel); ?>">Previous</a>
  <?php } // Show if not first page ?>
      <?php if ($pageNum_rs_details_apparel < $totalPages_rs_details_apparel) { // Show if not last page ?>
        <a href="<?php printf("%s?pageNum_rs_details_apparel=%d%s", $currentPage, min($totalPages_rs_details_apparel, $pageNum_rs_details_apparel + 1), $queryString_rs_details_apparel); ?>"> Next </a>
        <?php } // Show if not last page ?>
    </p>
</div>
  <!-- InstanceEndEditable --><!--// end #columnThree //--><!-- InstanceBeginEditable name="col4" -->
  <div id="columnFour">
    <h2>Column 4</h2>
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
    <ul>
      <li>Bullet List Item</li>
      <li>Bullet List Item</li>
      <li>Bullet List Item
        <ul>
          <li>Bullet List Item</li>
          <li>Bullet List Item</li>
        </ul>
      </li>
    </ul>
  </div>
  <!-- InstanceEndEditable --><!--// end #columnFour //--><!-- InstanceBeginEditable name="edibanner" -->
  <div align="center" id="banner" >
    <p>Banner ads</p>
  </div>
  <!-- InstanceEndEditable -->
  <div align="center" id="footer">
    <ul id="bot">
      <li id="bot1" ><a  href="../index.html" >About Us</a></li>
      <li id="bot2"><a  href="../our_services.html" >Our Services</a></li>
      <li id="bot4"><a href="../products_services.php" >Products</a></li>
      <li id="bot5"><a  href="../suppliers.php" >Suppliers</a></li>
      <li id="bot6"><a  href="../contact_us.html" >Contact Us</a></li>
    </ul>
  <!--// end #footer //-->
</div>
<!--// end #mainContainer //-->
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($rs_category_apparel);
?>
Secondly the detal page.
<?php require_once('Connections/ltndb.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  return $theValue;
mysql_select_db($database_ltndb, $ltndb);
$query_rs_exporterprofile = "SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters.Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters.FactoryAddress, exporters.CommencementYear, exporters.Manufacturer_OR_Producer, exporters.EstablishmentType, exporters.SynopsisLink, products.productID, products.productName, products.image FROM exporters, products WHERE products.exporterID = exporters.exporterID";
$rs_exporterprofile = mysql_query($query_rs_exporterprofile, $ltndb) or die(mysql_error());
$row_rs_exporterprofile = mysql_fetch_assoc($rs_exporterprofile);
$totalRows_rs_exporterprofile = mysql_num_rows($rs_exporterprofile);$varexporter_rs_exporterprofile = "1";
if (isset($_GET['exporterID'])) {
  $varexporter_rs_exporterprofile = $_GET['exporterID'];
mysql_select_db($database_ltndb, $ltndb);
$query_rs_exporterprofile = sprintf("SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters.Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters.FactoryAddress, exporters.CommencementYear, exporters.Manufacturer_OR_Producer, exporters.EstablishmentType, exporters.SynopsisLink, products.productID, products.productName, products.image FROM exporters, products WHERE products.exporterID=exporters.exporterID AND exporters.exporterID=%s", GetSQLValueString($varexporter_rs_exporterprofile, "int"));
$rs_exporterprofile = mysql_query($query_rs_exporterprofile, $ltndb) or die(mysql_error());
$row_rs_exporterprofile = mysql_fetch_assoc($rs_exporterprofile);
$totalRows_rs_exporterprofile = mysql_num_rows($rs_exporterprofile);
$query_rs_exporterprofile = "SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters.Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters.FactoryAddress, exporters.CommencementYear, exporters.Manufacturer_OR_Producer, exporters.EstablishmentType, exporters.SynopsisLink, products.productID, products.productName, products.image, products.exporterID FROM exporters, products ";
$rs_exporterprofile = mysql_query($query_rs_exporterprofile, $ltndb) or die(mysql_error());
$row_rs_exporterprofile = mysql_fetch_assoc($rs_exporterprofile);
$totalRows_rs_exporterprofile = mysql_num_rows($rs_exporterprofile);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Enter your description here so that you can take advantage of search engine optimization." />
<meta name="author" content="The CSS Tinderbox - http://www.csstinderbox.com" />
<link rel="stylesheet" type="text/css" href="reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen,print" />
<title>the css tinderbox: fixed 4-column layout</title>
<!-- InstanceParam name="id" type="text" value="pageX" -->
/* Googogle analytics*/
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34050000-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
</script>
/* Googogle analytics*/
</head>
<body id="pageX">
<div id="mainContainer" class="clearfix">
  <div class="clearfix" id="header">
  </div>
  <!--// end #header //-->
  <div id="navHorizontal">
    <ul>
      <li id="page1"><a href="index.html">About Us</a></li>
      <li id="page2"><a href="our_services.html">Our Services</a></li>
      <li id="page4"><a href="products_services.php">Products</a></li>
      <li id="page5"><a href="suppliers.php">Suppliers</a></li>
      <li id="page6"><a href="contact_us.html">Contact Us</a></li>
    </ul>
  </div>
  <!--// end #navHorizontal //-->
  <div id="columnOne">
    <h1> </h1>
    <h2 id="listhead">Products & Services </h2>
    <p> </p>
    <div id="navVertical">
      <ul>
        <li id="page104"><a href="products/apparel.php" title="Page Link">Apparel  & Garment Accessories</a></li>
        <li id="page115"><a href="products/body_care.php" title="Page Link">Body Care Products</a></li>
        <li id="page113"><a href="products/cereals.php" title="Page Link">Cereals</a></li>
        <li id="page128"><a href="products/chemicals_plastics.php" title="Page Link">Chemicals &Plastics</a></li>
        <li id="page103"><a href="products/coconut_coconutproducts.php" title="Page Link">Coconut & Coconut Products</a></li>
        <li id="page120"><a href="products/computers_electronics.php" title="Page Link">Computers & Electronics</a></li>
        <li id="page123"><a href="products/fisheries_products.php" title="Page Link">Fisheries Products</a></li>
        <li id="page108"><a href="products/foliage_cutflowers.php" title="Page Link">Foliage & Cut Flowers</a></li>
        <li id="page112"><a href="products/fruits_vegetables.php" title="Page Link">Fruits & Vegetables</a></li>
        <li id="page106"><a href="products/gems_jewelry.php" title="Page Link">Gems & Jewellery</a></li>
        <li id="page116"><a href="products/handicrafts.php" title="Page Link">Handicrafts</a></li>
        <li id="page111"><a href="products/handloom_textiles.php" title="Page Link">Handloom & Textiles</a></li>
        <li id="page109"><a href="products/leather_leatherproducts.php" title="Page Link">Leather & Leather Goods</a></li>
        <li id="page126"><a href="products/machinery_equipment.php" title="Page Link">Machinery & Accessories</a></li>
        <li id="page114"><a href="products/metal_metalproducts.php" title="Page Link">Metal & Metal Products</a></li>
        <li id="page117"><a href="products/mineral_products.php" title="Page Link">Mineral Products</a></li>
        <li id="page121"><a href="products/ornamental_fish.php" title="Page Link">Ornamental Fish</a></li>
        <li id="page110"><a href="products/paper_paperproducts.php" title="Page Link">Paper Products &amp; Stationery</a></li>
        <li id="page122"><a href="products/pharmaceuticals_medicines.php" title="Page Link">Pharmaceuticals & Medicines</a></li>
        <li id="page124"><a href="products/food_beverages.php" title="Page Link">Processed Foods & Beverages</a></li>
        <li id="page102"><a href="products/rubber_rubberproducts.php" title="Page Link">Rubber & Rubber Products</a></li>
        <li id="page118"><a href="products/services.php" title="Page Link">Services</a></li>
        <li id="page107"><a href="products/spices_essentialoils.php" title="Page Link">Spices & Essential Oils</a></li>
       <li id="page101"><a href="products/tea.php" title="Page Link">Tea</a></li>
        <li id="page125"><a href="products/tissue_culture.php" title="Page Link">Tissue Culture</a></li>
        <li id="page105"><a href="products/tourism.php" title="Page Link">Tourism</a></li>
        <li id="page127"><a href="products/toys_games_sports_products.php" title="Page Link">Toys, Games & Sports Goods</a></li>
        <li id="page119"><a href="products/wooden_products.php" title="Page Link">Wooden Products</a></li>
      </ul>
    </div>
    <!--// end #navVertical //--> </div>
  <!--// end #columnOne //--><!-- InstanceBeginEditable name="col2" -->
  <div id="columnTwo">
    <h1> </h1>
    <h2>Column 2</h2>
    <p>Company Logo:</p>
    <table width="300" border="1" cellspacing="2" cellpadding="2">
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterLogo']; ?></th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
    </table>
    <p> </p>
    <p>Company Name:</p>
    <table width="300" border="1" cellpadding="2" cellspacing="2">
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterName']; ?></th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
    </table>
    <p> </p>
<p>Brief description:</p>
<table width="300" border="1" cellpadding="2" cellspacing="2">
  <tr>
    <th scope="row"><?php echo $row_rs_exporterprofile['SynopsisLink']; ?></th>
  </tr>
  <tr>
    <th scope="row"> </th>
  </tr>
</table>
<p> </p>
    <p>Lorem ipsum dolor sit amet, <strong>consectetuer adipiscing elit</strong>. Pellentesque hendrerit tellumollis dolor. </p>
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. Aenean in nisi nec dui pretium bibendum. Praesent a sapien at dolor feugiat volutpat.</p>
    <h2>heading h2</h2>
    <p>Lorem ipsum dolor sit amet, <em>consectetuer adipiscing elit</em>. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. </p>
    <h3>heading h3</h3>
    <p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing elit</a>. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. </p>
    <h4>heading h4</h4>
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque hendrerit tellus mollis dolor. Cras urna. Sed tellus. </p>
    <ul>
      <li>Bullet List Item</li>
      <li>Bullet List Item</li>
      <li>Bullet List Item
        <ul>
          <li>Bullet List Item</li>
          <li>Bullet List Item</li>
        </ul>
      </li>
    </ul>
    <ol>
      <li>Numbered List Item</li>
      <li>Numbered List Item</li>
      <li>Numbered List Item
        <ol>
          <li>Numbered List Item</li>
          <li>Numbered List Item</li>
        </ol>
      </li>
    </ol>
  </div>
  <!-- InstanceEndEditable --><!--// end #columnTwo //--><!-- InstanceBeginEditable name="col3" -->
  <div id="columnThree">
    <h1> </h1>
    <h2>Column 3</h2>
    <p>Company Address:</p>
    <table width="300" border="1" cellspacing="2" cellpadding="2">
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterName']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterStreet']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterCity']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterZip']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['Country']; ?></th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
    </table>
    <p> </p>
    <p>Contact Details:</p>
    <table width="300" border="1" cellspacing="2" cellpadding="2">
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterContact']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterDesignation']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterPhone']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterFax']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterEmail']; ?></th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
    </table>
    <p> </p>
    <p>Company Website:</p>
    <table width="300" border="1" cellpadding="2" cellspacing="2">
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['exporterWebsite']; ?></th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
    </table>
    <p> </p>
    <p>Exports:</p>
    <table width="300" border="1" cellspacing="2" cellpadding="2">
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['image']; ?></th>
      </tr>
      <tr>
        <th scope="row"><?php echo $row_rs_exporterprofile['productName']; ?></th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
      <tr>
        <th scope="row"> </th>
      </tr>
    </table>
    <p> </p>
    <p> </p>
    <ul>
      <li>Bullet List Item
        <ul>
          <li>Bullet List Item</li>
          <li>Bullet List Item</li>
        </ul>
      </li>
    </ul>
  </div>
  <!-- InstanceEndEditable --><!--// end #columnThree //--><!-- InstanceBeginEditable name="col4" -->
  <div id="columnFour">
    <h2>Column 4</h2>
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
    <ul>
      <li>Bullet List Item</li>
      <li>Bullet List Item</li>
      <li>Bullet List Item
        <ul>
          <li>Bullet List Item</li>
          <li>Bullet List Item</li>
        </ul>
      </li>
    </ul>
  </div>
  <!-- InstanceEndEditable --><!--// end #columnFour //--><!-- InstanceBeginEditable name="edibanner" -->
  <div align="center" id="banner" >
    <p>Banner ads</p>
  </div>
  <!-- InstanceEndEditable -->
  <div align="center" id="footer">
    <ul id="bot">
      <li id="bot1" ><a  href="index.html" >About Us</a></li>
      <li id="bot2"><a  href="our_services.html" >Our Services</a></li>
      <li id="bot4"><a href="products_services.php" >Products</a></li>
      <li id="bot5"><a  href="suppliers.php" >Suppliers</a></li>
      <li id="bot6"><a  href="contact_us.html" >Contact Us</a></li>
    </ul>
  <!--// end #footer //-->
</div>
<!--// end #mainContainer //-->
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($rs_exporterprofile);
?>
Thanks a lot in advance for your assistance in overcoming this hurdle.
Rgds

Similar Messages

  • Test value in advanced recordset

    HI
    In the binding recordset I have a filter looking for a date
    matching the URL parameter. In the simple panel, a valid test value
    returns normal data.
    Unfortunately, testing my web page does not returns any data.
    In the advanced panel of the recordset, testing the same
    query does not return any data. This is matching the result I have
    in the web page.
    1) Why the advanced test panel does not require a testing
    value.
    2) Why the 2 testings does not return the same results.
    Thanks

    I just ran into this problem too. Am running DW8 with CF8 on
    Mac.

  • Increase the runtime value of report

    Dear All,
            My few reports are giving short dumps in the foreground as well in the background. Please guide me how to increase the runtime of these reports.
    Please give me the whole process
    Regrads,
    Vikas Madaan

    Hi Vikas,
    You have not mentioned what is the short dump error .
    Is it time out or something else..
    In background there is no time limit for a program to run . It can run for days together provided system is up and running. In foreground the maximum time is limited by rdisp/max_wprun_time . On our system it is 20 minutes.
    Can you be more specific about the dump error. And what do you mean by increase runtime value ??
    Cheers
    Cheers

  • Advanced recordset and variables problem

    Can anyone help!!!
    Im trying to build an advanced recordset for a seach query...
    Im using CS6, and I want to add 3 variables, now I write my query and  when I press ok on advanced recordset panel, some error pops up telling me they dont exist.
    What AM I DOING WRONG!!
    this is my query :
    SELECT Contrats.Client, Contrats.de, Contrats.a, Contrats.quantite,  Contrats.format, Contrats.etablissement, Etablissements.Nom,  Etablissements.Contact, Etablissements.Adresse, Etablissements.Ville,  Etablissements.telephone, Etablissements.Courriel
    FROM Contrats, Etablissements
    WHERE Etablissements.Nom=Contrats.etablissement AND etablissement1  AND Contrats.de BETWEEN De1 AND a1  AND Contrats.a BETWEEN De1 AND  a1
    My variables are ;
    varetablissement1 : type : text  -  Default value : -1 - Run-time value : $_GET('etablissement1')
    varDe1 : type : text  -  Default value : -1 - Run-time value : $_GET('De1')
    vara1 : type : text  -  Default value : -1 - Run-time value : $_GET('a1')
    Also after ok is pressed a new variable appears called totalRows and takes  over data from another variables, and making that data disapear from the original ...
    Everything works fine until this part :
    AND Contrats.de BETWEEN De1 AND a1  AND Contrats.a BETWEEN De1 AND a1
    Thanks for helping, Ive searched far and wide for any answers on this.

    Datatype for Etablissements.Nom is text, for Contrats.a and Contrats.de is date. Nom is capitalised for no particular reason, that's how I typed it at the time in php admin.
    Table structure for table Etablissements
    Column
    Type
    Null
    Default
    ID
    int(50)
    No
    Nom
    varchar(250)
    No
    Statut
    varchar(250)
    No
    Contact
    varchar(250)
    No
    Adresse
    varchar(250)
    No
    Secteur
    varchar(250)
    No
    Ville
    varchar(250)
    No
    Province
    varchar(250)
    No
    CodePostal
    varchar(250)
    No
    telephone
    varchar(250)
    No
    Courriel
    varchar(250)
    No
    Ristournes
    varchar(250)
    No
    Montant
    varchar(250)
    No
    Renouvellement
    date
    No
    Circuit
    varchar(250)
    No
    Age
    varchar(250)
    No
    Age2
    varchar(250)
    No
    Pourcent1
    varchar(250)
    No
    Pourcent2
    varchar(250)
    No
    maxexpress1
    varchar(250)
    Yes
    aucun
    maxdigital1
    varchar(250)
    Yes
    aucun
    megamax1
    varchar(250)
    Yes
    aucun
    maxexpress2
    varchar(250)
    Yes
    0
    Hommes
    varchar(250)
    Yes
    0
    Femmes
    varchar(250)
    Yes
    0
    Neutres
    varchar(250)
    Yes
    0
    Handicapes
    varchar(250)
    Yes
    0
    Maxdigital2
    varchar(250)
    Yes
    0
    Megamax2
    varchar(250)
    Yes
    0
    MDhommes
    varchar(250)
    Yes
    NULL
    MDfemmes
    varchar(250)
    Yes
    NULL
    MDneutres
    varchar(250)
    Yes
    NULL
    Table structure for table Contrats
    Column
    Type
    Null
    Default
    Id
    int(250)
    No
    ContratID
    varchar(250)
    No
    Client
    varchar(250)
    No
    de
    date
    No
    a
    date
    No
    quantite
    varchar(250)
    No
    format
    varchar(250)
    No
    rayon
    varchar(250)
    No
    etablissement
    varchar(250)
    No
    Hommes
    varchar(250)
    Yes
    NULL
    Femmes
    varchar(250)
    Yes
    NULL
    Neutre
    varchar(250)
    Yes
    NULL
    Handicape
    varchar(250)
    Yes
    NULL
    Notes
    varchar(10000)
    No
    annule
    varchar(250)
    No
    As for the examples of the variables passed in the querystring, do you mean what is passed from my search form?

  • Login runtime value from login server behavior?

    How do I set up a recordset that will point to the login users' record in PHP once they login from the login server behavior?
    In ASP I used the value for the variable actname:       MM_Username.
    I just want to link to the username's record.  I thought the "mm_Username" value was something that was created in the login server behavior that came with Dreamweaver and it would work for php as well as asp.
    In PHP I am using the following runtime value language :
    $_GET['MM_Username']
    Is it different in PHP?  It won't point to the record of the login user in the user's account.
    How do I set up a recordset so that it will point to the record of the login user if none of this makes sense in php.
    Thanks in advance,
    Bob Jean

    Found the Answer.  The runtime value in the recordset is as follows:
    $_SESSION['MM_Username']

  • Referencing runtime values of user parameters

    Hi folks,
    i have a report that displays data for a period between 2 date values that are specified at runtime via 2 date user parameters created in the report.
    i want to reference the runtime values of the 2 user parameters in boilerplate text as follows
    Between <date_param1> And <date_param2>
    Since they are not fields, i cannot reference them in boilerplate text as described in the help notes.
    Can anyone help out.
    thanks in advance.

    In addition to fields, you can also reference column or parameter values directly from within boilerplate. So you should be able to do: "&<date_param1> And &<date_param2>"
    Alternatively, create a field - "F_1", mark it as hidden and set its source to "date_param1". You can then reference the field as defined within the help notes.

  • bi:QUERY value= dynamic in the WAD.    How to do it ?

    Hello,
    I need to define the query name somehow when the WAD is executed.
    We have one common web template for all of our queries and that is why I need to dinamicaly say in the WAD code that if the query tech is ZTEST then the real value should be ZTEST_DOC, which is a separate query where we have to store the documents.
    How to do this ?

    During runtime you can get the query ID using text elemets, then using java script you can generate the query document format by appending ther required text to the query ID.

  • Not able to get the handle of picklist which exists in the advanced table

    Hi all,
    I have a pick list called usageName in the advanced table when i am trying handle that picklst it is not giving me the correct value.
    The valuess in the pick are
    1)MFP Scan
    2)MFP B&W,Copy,Scan
    3)MFP B&W and Colour
    4)Fixed
    5)MFP B&W, Colour, Scan and Copy
    6)Mono Printing - Per Catridge/Toner
    7)Mono Printing - Per Page
    to handle the pick list i am using the code as
    OAMessageChoiceBean usagenameevent =(OAMessageChoiceBean)webBean.findChildRecursive("UsageName");
    usagenameevent.setFireActionForSubmit("xxReasonEvent",null,null,true,true);
    pageContext.writeDiagnostics("IN XxwepServiceContractSearchCO Process Request ","usagenameevent:"+usagenameevent ,1);
    String usnmae = pageContext.getParameter("UsageName");
    pageContext.writeDiagnostics("IN XxwepServiceContractSearchCO Process Request ","usnmae:"+usnmae ,1);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if("xxReasonEvent".equalsIgnoreCase(pageContext.getParameter("event"))||pageContext.getParameter("UsageName")!= null)
    OAViewObject vo = (OAViewObject)am.findViewObject("XxwepUsageNameVO");
    // usagenameevent.get
    // OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //OAViewObject vo = (OAViewObject)am.findViewObject("XxwepUsageNameVO");
    if(vo != null )
    //XxwepUsageNameVORowImpl vo1=(XxwepUsageNameVORowImpl)am.findViewObject("XxwepUsageNameVO");
    String usagename = null;
    Row row = vo.getCurrentRow();
    if( row != null )
    usagename = (String)row.getAttribute("UsageName");
    if(usagename!=null)
    pageContext.putSessionValue("UsagenameParam",usagename);
    pageContext.writeDiagnostics("IN XxwepServiceContractSearchCO Process Form Request ","usagenamein event:"+usagename ,1);
    pageContext.writeDiagnostics("IN XxwepServiceContractSearchCO Process Form Request ","row:"+row ,1);
    pageContext.writeDiagnostics("IN XxwepServiceContractSearchCO Process Form Request ","vo:"+vo ,1);
    If i choose any value from the picklist out of those 7 items
    Row row = vo.getCurrentRow(); is giving me the last value only
    for ex i have choosed
    2)MFP B&W,Copy,Scan
    but the vo.getCurrent Row is giving me the value as
    7)Mono Printing - Per Page
    could please let me know what the mistake could be helpful
    Thanks
    Ajay

    Hi,
    As stated above if you need to check the message or message properties then you would need to enable tracking, depending on where you want it to be and what you want to track, below are two articles which should help you understand more:
    BizTalk Server: Tracking Data Using BizTalk Admin Console
    BizTalk Server: Checking Tracked Data Using Admin Console
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    Server: Multiple XML files to Single FlatFile Using File Adapter

  • How can I get a LOV to work in the advanced search area

    I am using JHeadstart 10.1.3.3.
    We are doing a LOV lookup on User-id. When the user selects a user-id or just starts keying in a user-id I have my Jheadstart code to pull in the full-name whenever the client selects a new user-id or starts keying a userid.
    Under UserId we have the following definition
    PersonIdentitiesLOV
    UserId <= UserId
    FullName <= CombinedName
    We set up PersonIdentitiesLOV so that "Use LOV for validation" is set to true.
    When I tested my code, in the advanced search this is what happened:
    1) When the client selects a user-id the FullName field gets populated
    2) When the client just keys in the user-id then the FullName DOES NOT get populated.
    Someone told me that there is a bug in JHeadstart in 10.1.3.3 where if you turn on the "Use LOV for validation" then it does not get executed in the Advanced Search.
    How do I get around this problem.
    If this does not work then how would it be best to display the full name whenever someone keys in a user-id. We are using this full name display for auditing purposes at the cashiers wicket whenever someone keys in a userid and does not recognize the person. We want the full name displayed along with userid for verification purposes.
    Any idea on how to get this working?

    This is not a bug, it is intended behavior.
    In search fields you might want to search for parts of the name, using a wildcard, that's why the auto-complete is not working there.
    If an end user wants to search the complete name, he can use the LOV to pick a value.
    Steven Davelaar,
    JHeadstart Team.

  • Pass values dynamically to the WHERE clause in SFAPI

    Hi there
    We have a requirement to pass values dynamically (in the run-time of the interface) to the WHERE condition to our SFAPI query.
    Eg -
    SELECT person, personal_information, address_information, phone_information, email_information, employment_information, job_information, compensation_information, paycompensation_recurring, paycompensation_non_recurring, job_relation, accompanying_dependent,         global_assignment_information, direct_deposit, national_id_card, person_relation
              FROM CompoundEmployee
              WHERE last_modified_on &gt;= to_date('LAST_RUN_DATE')  AND
                           last_modified_on &lt;= to_date('CURRENT_RUN_TIME') 
    LAST_RUN_DATE is stored in a custom entity for which we execute another OData query. The custom entity is updated with the CURRENT_RUN_TIME once the interface has been executed successfully. So the next time the interface is run it picks up the LAST_RUN_DATE from the custom OData entity.
    SAP PO has the functionality to run a dynamic query for OData adapters. Refer to Note 2051137 - PI Successfactors adapter : Dynamic odata query and single synchronous sfapi query
    Eg - select fields from position (this is what you state in OData query path in the comms channel; this is static); and you have an advanced tab in comms channel where you mention dynamicquery and set it to true (this points to a XSD which has the keyword TOP, SKIP & FILTER in it).
    This gets the filter values passed from the BPM from another query (from a OData cust_table).
    So the whole query is - select fields from position filter field a = x field b = y etc. Field a field b are fields in position that are you passing values x and y in run time of the interface.
    SAP PO also has the advanced tab feature for SFAPI for dynamic query.
    Question is -
    how to use it?
    has anyone implemented this before?
    What does XSD will look like?
    How do we pass values to the fields to the Where clause for SFAPI.
    Any ideas are welcome!
    Regards
    Arijit Das

    After you have added a new where clause on the detail VO, try re-executing VO's query by DetailVO.executeQuery()
    If it doesn't work try re-executing the MasterVO's query after you have added the where clause on the detail

  • To split the payment document value as per the line items of the P O

    To split the payment document value as per the line items of the purchase order in the period of payment, so that the payment  amounts are measured against the Capex order assigned as account assignment in the purchase order.(Account assignment tab for the individual line item in the PO.
    Example:
    Inputs:
    Purchase Order 3100012345, line item 10 value 6000 line item 20 value 4000
    VAT @10% , account assignment for PO line item 10(Internal Order no 10001) & line item 20  Internal  Order 10002) G/ R no 5105105101 for Rs10,000.
    The I/R doc 501501501 appears as follows: (MIRO)
    Line 10: Value       Rs   6,000
            20: Value      Rs   4,000
    VAT                         Rs      600
                           Rs      400
    Total                       Rs11, 000
    Withholding Tax Rs 1,100
    The accounting entry for MIRO happens as follows: doc 2102102101
    GR/IR Dr      Rs 10,000
    VAT      Dr     Rs   1.000
    Vendor    Cr           Rs9, 900
    TDS due   Cr          Rs1, 100
    The business expects the payment report as follows:payment  doc 2001200101
    PO     Line item       Internal Order MIRO         Invoice                       Payment       Payment period  Amount
                                                                                    A/c doc number        doc number          
    3400012345     10     10001           5605605601  2102102101           2001200101       001/2009           5940
    3400012345     20     10002     5605605601     2102102101           2001200101        001/2009          3960
    Currently we are able to show the amounts as Rs 6000 for line item 10 & Rs 4000 for line item 20.
    The problems faced.
    1.     The VAT line items are auto created, hence the reference of purchase order number and line item are not available. So the VAT portion which is part of payment liability does not get reflected against the PO.(not able to show the VAT portion , when we try to show the payment amount per PO line item.)
    2.     The withholding tax is also a problem; WHT is not calculated and assigned per line item. It is calculated on the total amount of basic and VAT. Because of these reasons, the payment could not be shown properly according to the line item of the purchase order.
    3.     When part payment is made, against invoices, there is no provision to assign a payment amount against a particular line item. Further, when final payment is made in different period, the clearing document will get generated. That adds to the complexity of differentiating full payments and part payments final clearing.
    4.     When residual payment is made, a new line item is created. Here assignment of Purchase order line item against payment for residual items become a problem.
    5.     Many a times advance payments are made. Later the invoice is created and balance payment is made. In those situations, the clearing document creates one more line item and makes payment for the balance item. This adds complexity in bringing balance payment alone and to split as per the purchase order line item. The clearing document number system is multi dimensional. It creates two line items for the same item (one at the time of advance and another the time of clearing.)
    6.     When full payment is made, the payment document number and clearing document numbers are same. In cases of subsequent or partial or residual payment, the document numbers are different. Because of this, the part payment amounts are shown in the period, where the final payment and clearing are made.
    Please suggest a way to split the payment amount in the exact posting period with all the considerations given above.
    Regards
    Sundararajan
    Edited by: Sundarajan Venkatachari on Sep 30, 2009 11:04 AM

    Hi,
    See Note 301077 - User exits for the interface to accounting, although I think that there isn't this kind of option. Note 429117 - Collective note advice note SD-FI interface will be useful too.
    I think that SAP Note 1085921 - Document split perhaps will help you
    Regards
    Eduardo

  • I am using a T61 ThinkPad with an external hard drive and my itunes library keeps disapearing but remains on the external drive. Any idea how to fix this so my music doesn't disapear all the time? It's a real drag pulling music back into iTunes each week.

    I am using a T61 ThinkPad with an external hard drive and my itunes library keeps disapearing but remains on the external drive. Any idea how to fix this so my music doesn't disapear all the time? It's a real drag pulling music back into iTunes each week

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • How to Control Cheque value not exceed the PO Value

    Dear All,
    My client requirement of the how to control cheque make above the PO Value. My client make the PO before MIRO puchase dept. make the Advance payment request and send to Accounts Dept., Accounts dept. make the payment against the Down payment request. After that MIRO has been done full value open item show in vendor line itme. Account people clear the payment against the invoice. They run the APP & clear all payment.  But after that Purchase dept. make the advance payment request against same PO and send to accounts dept., Accounts dept again make the payment against down payment request. This is request to how to control that.
    Thanks in Advance
    (CSB)

    hi,
    here in this case you should change the Business Process to have better control over the system.
    Make the PO then make the Down Payment Request and make the payment.
    check is there any user exit available while making the down payment request which should not be made more than the po value.

  • Compare two columns and match ALL recurring values, not just the first instance

    Hi everybody...
    I was looking for a way to compare values in two columns, identifying every duplicate value instance on a third column.
    Searching around the forums, I found a solution, albeit a partial one; I am using this formula: =IFERROR("Duplicate in row "&MATCH($A,$B,0),"") along column C, to compare values between columns A and B. When applied, the formula will render the first instance where there is a duplicate; unfortunately MATCH will only register the first instance of the duplicated values.
    For example:
    The first value on column A is 'Apple'. On column B there are three instances for the value 'Apple', the formula identifies the first of these values, but not the remaining two.
    I am not an advanced Numbers or Excel user, and the answer to this problem eludes me. I am attempting to compare columns that have no less than 1000 rows each, so you can imagine how, finding a solution to my problem would be really great.
    Thanks in advance,
    Pablo

    Unfortunately I can't see your screenshot, but supposing you have a table like this:
    Col1
    Col2
    1
    3
    Dupe
    2
    4
    Dupe
    3
    5
    Dupe
    4
    6
    5
    7
    Then here is one way to flag the duplicates.
    The formula in C2, copied down, is:
    =IF(COUNTIF($A,$B2)≥1,"Dupe","")
    Then filter on column C for 'Dupe', and copy the values in column B to wherever you need them.
    SG

  • How to monitor the values transferred to the jump query in a debug mode?

    Dear experts,
    There is a problem in the interface of two qeuries. In the first query, the infoobject is defined as a global filter with a constant. I added this infoobject in the interface via RSBBS.
    Nevertheless, if i run the jump query, the value in this InfoObject is not taken into account by the jump query.
    Does anybody know whether there is a method to debug (monitor) the values tranferred to the jump query? For example, in the transaction RSRT or others.
    Thanks in advance!

    in RSRT- EXECUTE+DEBUG => breakpoint in RRI transpormations
    also see the note 1053310
    Regards, Ragz

Maybe you are looking for