webERP Forum

Full Version: issue when changing vendor during invoice entry
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
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
It worked :-)

thanks Tim!
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
Reference URL's