Previous Thread
Next Thread
Print Thread
#44854 03/09/15 12:06 PM
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
SusanTennier #44855 03/09/15 12:22 PM
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
Retired_Guy #44856 03/09/15 01:03 PM
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
SusanTennier #44857 03/09/15 01:14 PM
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
Retired_Guy #44859 03/09/15 02:01 PM
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
SusanTennier #44861 03/09/15 02:34 PM
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
Retired_Guy #44863 03/09/15 02:35 PM
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
SusanTennier #44865 03/09/15 02:47 PM
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:
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
Retired_Guy #44866 03/09/15 02:52 PM
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
Adagio Maestro
Joined: Feb 2008
Posts: 1,247
Thanks! 8-)


Susan Tennier
TDL Canada
Trenton, Ontario

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 99 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,680
Posts71,645
Members1,874
Most Online1,408
Dec 9th, 2025
November
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
Powered by UBB.threads™ PHP Forum Software 8.0.0