The Book-keepers Forum (BKF)

Post Info TOPIC: Showing Order No in Sage customer reports


Member

Status: Offline
Posts: 7
Date:
Showing Order No in Sage customer reports
Permalink Closed


Hi there

Could someone help me please?  I have very limited knowledge of Sage Report Designer (although I have managed to follow directions posted on here before with success), but I am sure that this is easy as pie for many of you.

We have order books with consecutive numbers, which I duly enter when raising sales invoices.  However I really need these order numbers to show up on the customer statements.  Could anyone tell me how to add this field please?

In addition, I would like to be able to run a report which could show me if I have any gaps in my consecutive order numbers, but I can't work out how to add this column to e.g. the invoice list.  Could anyone help please?

 

Many many thanks in advance

Birdie



__________________


Senior Member

Status: Offline
Posts: 141
Date:
Permalink Closed

There are several methods.

The easiest is to use the "Update using Order number" however, you don't then have the invoice number and you have issues in the transition.

You can link in the invoice header table to the audit header table linking the inv_ref field in the Audit Header to the invoice_number field in the invoice header.

There is an issue with one being text and the other being a number and so at some point they added INV_REF_NUMERIC which is the field you need to link to INVOICE_NUMBER of course if the invoice has been deleted, or the ref refers to something that doesn't exist it is possible that transactions would be missed off the statement, so I suggest you user a "parent outer join" so that if there is no matching record the rest of the record will still be returned and the item printed albeit without a sales order number from the invoice table.


__________________

For just about anything Sage :- switch to renting, pay-as-you-go sage support, sagecover, upgrades, application integration, reports, layouts, analysis or any other help making life with sage easier/less time consuming Contact me.

Image



Member

Status: Offline
Posts: 7
Date:
Permalink Closed

Thanks so much for the prompt reply.  I might have over-stated my knowledge of Sage Report Designer, I have literally only ever followed "step by step" instructions, other than that it's all very bewildering.

I definitely need to see both order number AND invoice number, but I could use just the numerics from the order number if this makes things easier.

Would you be able to lead me through the method please, or perhaps suggest how I could go about learning Sage Report Designer myself?

Many thanks again
Birdie



__________________


Senior Member

Status: Offline
Posts: 141
Date:
Permalink Closed


In the designer you will find

report > joins this is the join editor

This shows how all the tables of data are linked to each other.
It allows you to define what tables you can see and how those tables relate to each other.

Open the join editor
You need to add the Invoice header table to this
You do it by dragging it INVOICE from the list of tables onto the work area.
Then you need to link it
You do this by finding the fields that link in each table and then dragging one field and dropping it onto the other field
I would move the tables so they are close to each other first
You should now see a line linking the 2 tables to each other
if you click on the line you should see its properties here it explicitly states which field is linked to which.
change the join property to a parent outer join
Change the join properties by selecting parent outer in the drop down box
When you link tables together, you normally exclude data that does not link, so records that have no matching data are excluded
the parent outer join is a non standard join which says give me the parent data even if there is nothing in this child table.
So if there is no data in the invoicing module relating to this entry eg if it is a previous payment on account that has not been allocated then it still gives you the parent record but with nothing in the child table.
You can now close the join editor and go back to the main report designer.
In here you can now see the invoice header table INVOICE
and in there is the Sales Order Number field ORDER_NUMBER
Drag this field INVOICE.ORDER_NUMBER and drop it on your report where you want it to appear.






-- Edited by BruceDenney on Tuesday 13th of January 2015 11:59:47 AM

__________________

For just about anything Sage :- switch to renting, pay-as-you-go sage support, sagecover, upgrades, application integration, reports, layouts, analysis or any other help making life with sage easier/less time consuming Contact me.

Image



Member

Status: Offline
Posts: 7
Date:
Permalink Closed

Hi Bruce

Thanks so much for the in depth instructions!

I have I believe followed them to the letter, but I am not finding INVOICE.ORDER_NUMBER in the invoice header table.  (NB: I have gone into Customer Statement > Edit to get to the Report Designer.)

Was I right to link INV_REF in Audit Header to INVOICE_NUMBER in Invoice Header per your first post?  Or should one of these be Order number?

Thanks again

Birdie



__________________


Senior Member

Status: Offline
Posts: 141
Date:
Permalink Closed

Sorry

I used the full name of the field including the tablename TABLE_NAME.FIELD_NAME

the field you are looking for is ORDER_NUMBER

__________________

For just about anything Sage :- switch to renting, pay-as-you-go sage support, sagecover, upgrades, application integration, reports, layouts, analysis or any other help making life with sage easier/less time consuming Contact me.

Image



Member

Status: Offline
Posts: 7
Date:
Permalink Closed

It worked! I had been using INV_REF instead of INV_REF_NUMERIC which is why it wasn't showing up. Thank you so much!
Best regards
Birdie

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us
Members Login
Username 
 
Password 
    Remember Me  
©2007-2024 The Book-keepers Forum (BKF). All Rights Reserved. The Book-keepers Forum (BKF) is a trading division of Bookcert Ltd. Registered in England Company Number 05782923. 2 Laurel House, 1 Station Rd, Worle, Weston-super-Mare, North Somerset, BS22 6AR, United Kingdom. The Book-keepers Forum and BKF are trademarks of Bookcert Ltd. This forum is a discussion forum only. There will usually be more than one opinion to any question and any posting should not be viewed as a definitive solution. No responsibility for loss occasioned to any person acting or refraining from action as a result of any posting on this site is accepted by the contributors or The Book-keepers Forum. In all cases, appropriate professional advice should be sought before making a decision. We reserve the right to remove any postings which are offensive, libellous, self-promoting or engaged in covert marketing. We will not notify users of removals. The views expressed in the forum posts are those of the individual and do not necessary reflect or agree with those of The Book-keepers Forum. Any offensive or unsuitable posts will be removed by the moderators. Any reader of this forum can request for a post to be looked into by sending an email to: bookcertltd@gmail.com.

Privacy & Cookie Policy  About