Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
issue when changing vendor during invoice entry
07-22-2019, 09:47 AM
Post: #1
issue when changing vendor during invoice entry
Hi Folk

Could you please confirm you can recreate the following issue:

select a Vendor_A

Vendor > Enter Partial Name or Code :: Search Now

then "Enter a Vendor Invoice"

on top of page you should see:

Enter Supplier Invoice: Vendor_A CODE_VENDOR_A

Vendor Currency Terms Tax Authority
CODE_VENDOR_A - Vendor_A EUR Net 20 Default


then do it again for another vendor_B:
Vendor > Enter Partial Name or Code :: Search Now

then "Enter a Vendor Invoice"

You will see

Enter Supplier Invoice: Vendor_A CODE_VENDOR_A

Vendor Currency Terms Tax Authority
CODE_VENDOR_B - Vendor_B EUR Net 20 Default

then when you click on "purchase orders", the GRNs do not belong to the desired vendor



Thank you for you input!
Find all posts by this user
Quote this message in a reply
07-22-2019, 07:48 PM
Post: #2
RE: issue when changing vendor during invoice entry
This is because bizarrely we use the $identifier to separate out different PO session variables but not the SuppTrans variables.

Swapping every instance of $_SESSION['SuppTrans'] for $_SESSION['SuppTrans' . $identifier] in SupplierInvoice.php should do the trick but I haven't got the time to try this out right now, so don't do it on a live system.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
07-23-2019, 12:25 AM (This post was last modified: 07-23-2019 12:30 AM by HDeriauFF.)
Post: #3
RE: issue when changing vendor during invoice entry
It worked :-)

thanks Tim!
Find all posts by this user
Quote this message in a reply
07-23-2019, 02:48 AM
Post: #4
RE: issue when changing vendor during invoice entry
now the issue is when you click on "purchase orders" to lans on SuppInvGRNs.php, the list of items to choose from is no longer retrieved and we get:

INFORMATION Message : To enter a supplier transactions the supplier must first be selected from the supplier selection screen, then the link to enter a supplier invoice must be clicked on.

I tried to replace instances of $_SESSION['SuppTrans'] in SuppInvGRNs.php, no success...

Thank you for your input!

Hugues
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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