Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PO Entry Form Issue - Prev and Next buttons are disabled
12-07-2017, 05:21 PM (This post was last modified: 12-07-2017 09:06 PM by Confucius.)
Post: #1
PO Entry Form Issue - Prev and Next buttons are disabled
WebERP version 4.14.1.

The Previous and next buttons are disabled all the time. The rows set to 25 for user and system prefs.

Any help and direction will be appreciated.

Thanks
Confucius
Find all posts by this user
Quote this message in a reply
12-07-2017, 06:55 PM
Post: #2
RE: PO Entry Form Issue - Prev and Next buttons are disabled
I suspect what is actually happening is caused by the "Only items defined as from this Supplier" being reset to on whenever you press the next button, and this is causing the list to become less than 25 records.

In PO_Items.php insert the following code at line 1152:

if (isset($_POST['SupplierItemsOnly'])) {
$Checked = 'checked';
} else {
$Checked = '';
}

and then make the echo statement that follows it:

echo '</select></td>
<td>' . _('Enter text extracts in the description') . ':</td>
<td><input type="text" name="Keywords" size="20" maxlength="25" value="' . $_POST['Keywords'] . '" /></td></tr>
<tr><td>' . _('Only items defined as from this Supplier') . ' <input type="checkbox" ', $Checked, ' name="SupplierItemsOnly" ';

This should work,
Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
12-07-2017, 07:37 PM (This post was last modified: 12-07-2017 09:09 PM by Confucius.)
Post: #3
RE: PO Entry Form Issue - Prev and Next buttons are disabled
Hi Tim,

Thanks a stack. The navigation works great. However it does not add items with order quantities to the order items. Is that possible?

Thanks in advance.
Find all posts by this user
Quote this message in a reply
12-07-2017, 09:22 PM
Post: #4
RE: PO Entry Form Issue - Prev and Next buttons are disabled
Assuming you have it enabled in the system parameters then it will create a second line for the new quantity, it won't add the quantity to the previous line. This is by design as it may well be you want the same item delivered on different days.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
12-07-2017, 09:48 PM
Post: #5
RE: PO Entry Form Issue - Prev and Next buttons are disabled
Tim,

Maybe I am not understanding the form logic. The point that I wanted to make was that the items that I chose on the first page by adding the quantities was not disgarded when I pressed the Next button. I wanted to know, if it was possible to page through the 180 items and add items to the current po by entering the order qnty and add the lines to the po on the last page. Currently items with order qnty's are disgarded, only the last page items are added to the order.
Find all posts by this user
Quote this message in a reply
12-07-2017, 10:09 PM
Post: #6
RE: PO Entry Form Issue - Prev and Next buttons are disabled
Ah I see your point, sorry I misunderstood. The answer however is that it isn't possible to do that currently, any quantities you enter on the first page will be lost when you move onto the next page unless you specifically add them to the order.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-07-2017, 10:27 PM
Post: #7
RE: PO Entry Form Issue - Prev and Next buttons are disabled
Tim thanks for the explanation. I will make sure that I add them before I move to the next page.

Thanks again.
Confucius
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)