Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SupplierInquiry View Payment Issue
05-26-2015, 04:15 PM,
#1
SupplierInquiry View Payment Issue
Hi,

After created a PO successfully, when we check Supplier -> Supplier Account Inquiry, Under More Info when we select, it seem that the passing is wrong that it is showing SupplierInquiry.php & PaymentAllocations.php as shown below.

weberp/SupplierInquiry.php/PaymentAllocations.php?SuppID=20&InvID=2


Can anyone advise what can I do?

Thanks and Regards
Reply
05-26-2015, 05:35 PM,
#2
RE: SupplierInquiry View Payment Issue
I have changed $_SERVER['PHP_SELF'] to $RootPath and the link is now :
/weberp/PaymentAllocations.php?SuppID=20&InvID=2

Anyone can advise if this is ok?
Reply
05-26-2015, 07:10 PM, (This post was last modified: 05-26-2015, 07:51 PM by weemccalvin.)
#3
RE: SupplierInquiry View Payment Issue
If I refer to the demo version under : http://www.weberp.org/weberp/SupplierInq...rID=WHYNOT
I am seeing Payment and GL Entries in the More Info column.

But using the downloaded version (4.12.2 & 4.12.3), I am having these which seem wrong in line 315-318 :
<td class="noprint"><a href="' . htmlspecialchars($RootPath, ENT_QUOTES,'UTF-8') . '/PaymentAllocations.php?SuppID=' .
$myrow['type'] . '&amp;InvID=' . $myrow['transno'] . '">' . _('View Payments') . '</a></td>
<td class="noprint"><a href="' . $HoldValue . '?HoldType=' . $_POST['TransAfterDate'] . '&amp;HoldTrans=' . $HoldValue . '&amp;HoldStatus=' .$RootPath . '&amp;FromDate='. $myrow['supplierno'] . '">' . $myrow['suppreference'] . '</a></td></tr>';

Instead of getting the GL Entries, I get the below which there is no PHP linkage.
weberp/Hold?HoldType=26/05/2014&HoldTrans=Hold&HoldStatus=/weberp&FromDate=SUP-101

Please help.

I replaced these lines with these (from older version) that I am not sure if it is correct.
<td class="noprint"><a href="' . htmlspecialchars($RootPath, ENT_QUOTES,'UTF-8') . '/PaymentAllocations.php?SuppID=' .
$myrow['supplierno'].'&amp;InvID=' .$myrow['suppreference'] . '">' . _('View Payments') . '</a></td>
<td class="noprint"><a href="' . $RootPath .'/GLTransInquiry.php?TypeID=' .
$myrow['type'] .'&amp;TransNo=' . $myrow['transno'] .'">'. _('View GL Postings') . '</a></td></tr>';
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)