Topic Options
#44854 - 03/09/15 07:06 AM Gridview
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
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

Top
#44855 - 03/09/15 07:22 AM Re: Gridview [Re: SusanTennier]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
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

Top
#44856 - 03/09/15 08:03 AM Re: Gridview [Re: Retired_Guy]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
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

Top
#44857 - 03/09/15 08:14 AM Re: Gridview [Re: SusanTennier]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
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

Top
#44859 - 03/09/15 09:01 AM Re: Gridview [Re: Retired_Guy]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
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

Top
#44861 - 03/09/15 09:34 AM Re: Gridview [Re: SusanTennier]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
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

Top
#44863 - 03/09/15 09:35 AM Re: Gridview [Re: Retired_Guy]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
Thanks Andrew,

What am I doing wrong on this filter:

TRIM({Costed Status}) = "True"

Evaluation failed.
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top
#44865 - 03/09/15 09:47 AM Re: Gridview [Re: SusanTennier]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
"Costed Status" is a Boolean and therefore equal to TRUE() or FALSE(). This means that you can say:
Code:
IF({Costed Status},"Dayend has been done","Dayend has NOT been done")

or, if you find that hard to read:
Code:
IF({Costed Status}=TRUE(),"Dayend has been done","Dayend has NOT been done")

or
Code:
IF(NOT({Costed Status}),"Dayend has NOT been done","Dayend has been done")
_________________________
Andrew Bates

Top
#44866 - 03/09/15 09:52 AM Re: Gridview [Re: Retired_Guy]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
Thanks! 8-)
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (Samuel Kopstick), 56 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14467 Topics
70661 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
Su M Tu W Th F Sa
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