Is something like this possible? We use Navision 3.10.
Currently we have options to print Packing List, Sales Invoice, etc.
A few customers don't want our item numbers on those documents. They want their item number.
Currently I output the files to PDF, erase what's there, type new stuff in a similarly sized and style font, then print.
I was thinking there has to be an easier way that I can make Navision automate the process somewhat.
What do you think is my easiest route? I had two different ideas:
1 - Modify the FOB's so when it's printing it checks the "ship to" address and our item number. If ship to address equal, then print their item number, if ship to address not equal XXX then print our item number.
2 - Export the Packing List and Invoice FOB, rename them. Make them appear under the Print menu. They will say "Special Packing List" and "Special Invoice". In there it will prompt you for their item numbers and will print that. It should know how many items are on it and prompt you only for that many.
0
Comments
You can have the inv report "GET" the Cross Reference table and if a code exist for that customer & item # then ALSO or ONLY SHOW the Cross Reference # (which is their #)
http://www.BiloBeauty.com
http://www.autismspeaks.org
Open Your Report And Add Globals
CrossRef - Type Record - Item Cross Reference
CustItemNo - Type Code - 20
View sections and on the SalesInvLine, Body(1) or whichever line is printing your records
View->C/al Code (f9)
add
Now add a textbox in that section with sourceexp= CustItemNo
If a code exists for this customer and that item, their code will show in the new textbox.
If you want to get all fancy you can add a new field to the customer table called "Show Cross-Ref On Inv" type boolean
so you can turn the option on & off per customer.. Just change the code a bit.
http://www.BiloBeauty.com
http://www.autismspeaks.org
You can also take a look to the field "Reference No." in the Sales Line Table (37) to understand how to filter.
Regards
So If you do have different customer item numbers for each type of UOM then you would have to add that setrange to the code.
http://www.BiloBeauty.com
http://www.autismspeaks.org
When you create a new Sales Line this field is populated for you if there is a correct Cross Reference setup, so there is no need for large blocks of code in the reports.
If the line is not updated in any report as an example the Order Confirmation you just need to add one simple line of code:
Report 205 Order Confirmation
RoundLoop - OnAfterGetRecord() Later on in this code section you will see the standard code changes the "No. field so it is safe to update the "Sales Line" record fields without saving
Report 206 Sales Invoice
Sales Invoice Line - OnAfterGetRecord()
David
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
My problem is that for example one customer is a company that operates stores on various cruise ships.
So, in some cases for that customer, depending on the ship to address, it would need to change the item to theirs.
For example, let's say my item is 5555-1212, but for Carnival Cruise Lines they want 55-1212CCL. Yet for Princess Cruises they want our number.
But, far as I know nobody even knew about the cross-reference thing, nor used it. So, if need be I believe I'd be able to edit that as well.
The Item Cross Reference is only at the "Sell-to Customer No." level and not at the "Ship-to Code" level, you could add the "Ship-to Code" to the Item Cross Reference table and change the code on the Sales Line and the codeunits to filter on the Ship-to Code being blank or matching the Sales Header Ship-to Code, and populate the "Cross Reference No." on the Sales Line table when validating the "No." field.
But it might be better to create your own table and functions if you require a simple system, or the customers licence does not cover Item Cross References
David
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
I'm curious where you've been storing their item numbers then?
Added fields to the item table?
http://www.BiloBeauty.com
http://www.autismspeaks.org
They send us the orders via fax or in snail mail. It gets stored in a filing cabinet. Their item numbers never make it into our system.
1 - There's so many features in Navision. When they bought the software they were shown a brief demo of how to do things they needed, but at the time maybe they didn't need such feature. So, maybe they never got explained the feature or maybe they didn't know it was there. What I've found is with all the features in Navision there is a bunch of stuff we do not use. In fact, some of this stuff is the first time we're ever even trying some of these features. If there is any problem with a particular feature our Navision partner will charge us to fix it. They say you're required to test everything within XX amount of days after purchasing Navision.
I say it's impossible to test every feature.. there's just too much.
So, a lot of this stuff we're only seeing for the first time because, being the only technical one in the office, look for things that can make life easier or ways to do certain things.
2 - Another reason they probably don't use it is because there's only a handful of customers we'd only want to actually print those item numbers for.
Has any of the posts above helped you? Have you thought about changing/fixing the customer's so that they are not all bunched together using ship-to's
Perhaps a seperate customer for Princess Cruises and another for Carnival Cruises. This way no extra alterations to the Cross-reference need to be done since "like customers" are grouped together.
In the code I tested above (the 2nd more fancier) allows you to turn on the printing of cross-references per customer.
http://www.BiloBeauty.com
http://www.autismspeaks.org
I'm looking into what you said. For one new customer they only buy the same items over and over for us. They don't need to know our item numbers. So, I'm testing it out.
I do see it on Sales Line table, so I've setup my first Cross Reference.
It populated Description fine.. does not populate the Item No... am looking into that.