I am about to configure the above mentioned lobby element. I thought the solution would be simple, i.e. exclude demand Codes like Purch Order Trans, Purch order Dir, Int Purch Trans, Int Purch Dir.
However, I observed that there could be PO lines having Demand Code = Invent order, but still conneted to a CO in ‘Supply Chain Purchase Order Analysis’. Isn’t this understanding correct? If yes, what do you think would be an appropriate way to develop this lobby element?
Best answer by Asela Munasinghe
Closing this thread because we found the following solution:
We will use the below query for the lobby element. Hope someone finds this useful.
select count(order_no) from PURCHASE_ORDER where order_code = '4' and OBJSTATE NOT IN ('Closed', 'Cancelled') and TRUNC(date_entered) < TRUNC(SYSDATE + INTERVAL '5' MINUTE) and vendor_co_no IS NULL
Here, the field ‘Supp Order No’ in Purchase Order > Misc Order Info is taken into account. We had overloooked that field earlier. Because we are looking at errornous internal PO lines [it’s an internal PO, but for some reason the CO connection isn’t there] this’ll do for now.
@astfarazt thanks for your response. Sorry I was a bit confusing the way I posted my question. The Lobby Element I need to configure is “Internal PO lines not connected to CO lines”.
Let’s say if we go with a condition like Pegged Qty = 0 and also demand codes = Int Purch Dir, Int Purch Trans, Invent Order, Project, I believe still it captures ‘non internal’ PO lines [due to capture of ‘Invent Order’ and ‘Project’. I found that there are internal order lines under both these demand codes in our IFS enviornment] So what would be an approprite way to capture this?
Can you expand a bit more on the business requirement? You mentioned ‘Internal PO lines not connected to CO lines’.
What is the organization hoping to learn or solve with this search?
@astfarazt Sure, several sites sells and buys from internal customers and suppliers. In some of those POs, we noticed that the internal CO is no longer connected. Need to identify them to investigate the error. Hence this is a requirement obviously to look at a few errornous samples in IFS
Closing this thread because we found the following solution:
We will use the below query for the lobby element. Hope someone finds this useful.
select count(order_no) from PURCHASE_ORDER where order_code = '4' and OBJSTATE NOT IN ('Closed', 'Cancelled') and TRUNC(date_entered) < TRUNC(SYSDATE + INTERVAL '5' MINUTE) and vendor_co_no IS NULL
Here, the field ‘Supp Order No’ in Purchase Order > Misc Order Info is taken into account. We had overloooked that field earlier. Because we are looking at errornous internal PO lines [it’s an internal PO, but for some reason the CO connection isn’t there] this’ll do for now.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.