Thank You, Steven. That worked.
As you pointed out correctly, it was company issue which I was able to figure out after turning on the SQL logging. A new company type was added in the system but reorder process was looking for default company type (V, M, or C). There was a missing configuration in the company type domain to internally convert the new company type to one of the default types -> V, M, or C. The reorder process worked after fixing the configuration.
Thank You!!
------------------------------
Devendra Verma
SenecaGlobal
------------------------------
Original Message:
Sent: 08-15-2023 14:25
From: Steven Shull
Subject: Reorder Cron task not generating Purchase Requisitions
I think your issue is pulling a company record based on the lines involved. I would set SQL logging to INFO before it runs to confirm and see if you can identify what company is being queried. Or if that's not possible, try to do something like:
select * from invvendor where vendor is not null and not exists(select 1 from companies where invvendor.vendor=companies.company and invvendor.orgid=companies.orgid);
That should show you invalid INVVENDOR records that could be impacting your reorder.
------------------------------
Steven Shull
IBM
------------------------------