Topic Options
#59739 - 01/14/19 10:28 AM Credit Note Without Order Gridview
L10 Offline
Adagio Enthusiast

Registered: 03/22/17
Posts: 25
Loc: Ontario
I am working on a Gridview to look at our sales. I am able to pull all the information of orders, invoices and credits except for credits without an order number.

I am currently using the OE Hst Detail /w Head. Table. How can I pull this info either with this table or a separate one.

Thanks,
Lance
_________________________
Lance Tennier
TDL Canada

Top
#59740 - 01/14/19 11:42 AM Re: Credit Note Without Order Gridview [Re: L10]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4511
Loc: Wynnewood, PA
Hi Lance

That table will work. But it's not an easy table to work with. For one thing, credit notes appear as positives unless you turn them around using a formula. For another, orders are in there and you want to exclude them if it's a sales report.

What's wrong with using the OE History Header table - it doesn't have the item details but it certainly has the total sales? And if you want the details, what's wrong with using the History button, Items tab in OrderEntry itself?

You are almost definitely doing something wrong in building the GridView but figuring that out on the forum will not be easy. If you are determined to use that table, select all fields and see which one(s) result in the desired output. Then pare it down.

Steve

Top
#59741 - 01/14/19 12:01 PM Re: Credit Note Without Order Gridview [Re: L10]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
Hi Lance,

Your Filter should look like this:
Code:
OR(
  {Doc Type} = "I",
  {Doc Type} = "C"
  )

to select Invoices and Credit Notes.

I wouldn't recommend displaying all the fields in the table - there are too many of them. Just make sure that you include all the fields you are using in calculated columns or Filters, so you can make sure that the expressions are working properly. You can delete them from the View later if they are not necessary.
_________________________
Andrew Bates

Top
#59742 - 01/14/19 12:14 PM Re: Credit Note Without Order Gridview [Re: Retired_Guy]
L10 Offline
Adagio Enthusiast

Registered: 03/22/17
Posts: 25
Loc: Ontario
Thanks All,

My current filter for testing is:

Code:
AND( 
OR(
{D: Doc Type} ="C",
{D: Doc Type} ="I"),
{Date}  >= 43435,
{Date}  <= 43465,
LEFT({D: Category},2) <>"RC",
LEFT({Item #},2) <>"SH",
LEFT({Item #},2) <>"DE",
{Line Type} ="R"
)

This is showing All invoices and credit notes between Dec 1st to Dec 31st 2018, and filtering out RC item codes (Recycle Fees) and SH & DE (Shipping and Delivery). I have exported this list and compared it to our GL account for sales and it matches exactly except for two things.

AP/AR direct entries (Do not need to fix)
Credit Notes that do not have an order number.

I have changed the filter to not include anything other than

Code:
OR(
RIGHT({CN #}="59370",5),
RIGHT({CN #}="59378",5),
RIGHT({CN #}="59380",5),
RIGHT({CN #}="59409",5),
RIGHT({CN #}="59412",5),
RIGHT({CN #}="59414",5),
RIGHT({CN #}="59464",5),
RIGHT({CN #}="59472",5),
RIGHT({CN #}="59547",5),
RIGHT({CN #}="59558",5)
)


This returns no results. I have tried looking at this view without any filters and I cannot find the 10 credit notes that way either. The only common thing about these credits in OE is they all are Order Number "No Order". I believe these do not appear in this GV, no matter what I make my filter.

Thanks,
_________________________
Lance Tennier
TDL Canada

Top
#59743 - 01/14/19 12:24 PM Re: Credit Note Without Order Gridview [Re: L10]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
If these credit notes have no detail lines, then there will be no details to select them. You need to find them from the Header.
_________________________
Andrew Bates

Top
#59744 - 01/14/19 12:32 PM Re: Credit Note Without Order Gridview [Re: Retired_Guy]
L10 Offline
Adagio Enthusiast

Registered: 03/22/17
Posts: 25
Loc: Ontario
They do have detail lines, but do not reference an Invoice or Order number.
_________________________
Lance Tennier
TDL Canada

Top
#59745 - 01/14/19 12:38 PM Re: Credit Note Without Order Gridview [Re: L10]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11549
Loc: Vancouver, BC Canada
Perhaps start with a simpler filter, like just credit notes, to limit the number of records. Ensure that columns for Date, Category, Item # and Line Type are selected for the view (at least for now) since those are the other fields referenced in your filter. When that filter is selected, find one of your credit notes that was not based on an order. If you can't find any, then that would explain why your complete filter doesn't. If you can find at least one, then you can investigate the other 4 field values to see why it isn't being selected from your complete filter.
_________________________
Regards,
Softrak Tech Support

Top
#59746 - 01/14/19 12:40 PM Re: Credit Note Without Order Gridview [Re: Softrak Support]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11549
Loc: Vancouver, BC Canada
Your filter selecting specific credit notes is not syntactically correct. Each line should be:

RIGHT({CN #},5) = "59370"
_________________________
Regards,
Softrak Tech Support

Top
#59748 - 01/14/19 01:05 PM Re: Credit Note Without Order Gridview [Re: L10]
L10 Offline
Adagio Enthusiast

Registered: 03/22/17
Posts: 25
Loc: Ontario
Interesting I found them. On orders that do not reference any invoice or order the {Date} is blank but the {Inv Date} contains the date I need. I will update this.

Thanks for your help.
_________________________
Lance Tennier
TDL Canada

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 45 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14467 Topics
70660 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