CHANGECOMPANY

Hi,

I have a two company in navision (KARLOS and KARGUM) ı must compare Tax registration No. for two company (İn Customer Table)

How ı can compare Tax registration No. for two company?

Thanks

Well, your title says it all. Go to the C/SIDE Help in the NAV client and type CHANGECOMPANY. Or just search the forum. There are plenty of the same questions.

I know this but ı must do this.
I want to check if the tax registration no. field is the same for the same customers in the different companies at the same database?

So again, use the CHANGECOMPANY command. What code have you already tried? What errors / problems are you having?

Think about what you want to do step by step or in pseudo-code first

Get the tax registration number for this customer and store it somewhere for future use.
Get the tax registration number for the same customer, but in a different company and store it somewhere for future use.
Compare each of those tax registration numbers and take the appropriate action.

Think about those individually, write the code for each individually, and you will have a solution.

Yes,thanks for your proposal :slight_smile: