|
|
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
|
|
Adagio Maestro
Joined: Feb 2008
Posts: 1,247 |
How can I make a Gridview that shows all items sold on OE Invoices today? Since we can't see the transaction history in IC until after OE day end, we need a method to see what items have come out of stock on the current day.
Susan Tennier TDL Canada Trenton, Ontario
|
|
|
|
|
Joined: Mar 1999
Posts: 10,504
Adagio Master
|
|
Adagio Master
Joined: Mar 1999
Posts: 10,504 |
Hi Susan,
Probably the fastest way it to Filter the Item list to display items where the field "shipped not costed" is not equal to 0. This can be done in GridView or a simple Item Filter in Inventory.
Andrew Bates
|
|
|
|
|
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
|
|
Adagio Maestro
Joined: Feb 2008
Posts: 1,247 |
Thanks Andrew,
I think I'm getting it using table OE Ord Detail /w Head, Head Ext and then adding related column Ship not costed from IC. I'm trying to reference the Invoice or Credit number.
Susan Tennier TDL Canada Trenton, Ontario
|
|
|
|
|
Joined: Mar 1999
Posts: 10,504
Adagio Master
|
|
Adagio Master
Joined: Mar 1999
Posts: 10,504 |
Hi Susan,
That'll work. However, it would be faster just to check the flag in the Sales Order Header that indicates whether costing has been done ("Costed Status"). It will be TRUE() if the invoice/credit note has not been run through day end.
It depends a little on the ultimate list you are trying to create. If it is just a list of items, then hitting the item master alone will be much faster than going through OrderEntry.
If you just want information of the Invoice header, then use the "Costed Status" in the sales order header.
You can validate the information you are seeing by checking the "shipped not costed" field as well, but linking across three files (order details, order header and inventory master) is fairly disk intensive.
Andrew Bates
|
|
|
|
|
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
|
|
Adagio Maestro
Joined: Feb 2008
Posts: 1,247 |
Hi Andrew,
Why would the items that have already been run through day end have a quantity in "shipped not costed"? Don't they get costed when they are run through day end?
Susan Tennier TDL Canada Trenton, Ontario
|
|
|
|
|
Joined: Mar 1999
Posts: 10,504
Adagio Master
|
|
Adagio Master
Joined: Mar 1999
Posts: 10,504 |
Because another invoice, which has not yet been run through day end, includes the item. If you are looking at the Sales Order detail lines, then you need to check the "Costed Status" for the order.
Andrew Bates
|
|
|
|
|
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
|
|
Adagio Maestro
Joined: Feb 2008
Posts: 1,247 |
Thanks Andrew,
What am I doing wrong on this filter:
TRIM({Costed Status}) = "True"
Evaluation failed.
Susan Tennier TDL Canada Trenton, Ontario
|
|
|
|
|
Joined: Mar 1999
Posts: 10,504
Adagio Master
|
|
Adagio Master
Joined: Mar 1999
Posts: 10,504 |
"Costed Status" is a Boolean and therefore equal to TRUE() or FALSE(). This means that you can say:
IF({Costed Status},"Dayend has been done","Dayend has NOT been done")or, if you find that hard to read:
IF({Costed Status}=TRUE(),"Dayend has been done","Dayend has NOT been done")or
IF(NOT({Costed Status}),"Dayend has NOT been done","Dayend has been done")
Andrew Bates
|
|
|
|
|
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
|
|
Adagio Maestro
Joined: Feb 2008
Posts: 1,247 |
Susan Tennier TDL Canada Trenton, Ontario
|
|
|
|
0 members (),
99
guests, and
3
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Forums5
Topics14,680
Posts71,645
Members1,874
| |
Most Online1,408 Dec 9th, 2025
|
|
|
S |
M |
T |
W |
T |
F |
S |
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
|
29
|
30
|
|
|
|
|
|
|
|
|