Skip to main content
Microsoft Dynamics AX forum
Unanswered

Wrong VAT Group assigned in every purchase line (regardless of Vendor's default VAT Group)

editSubscribe (0) ShareShare
ReportReport
Posted on by 508
Hello everyone,
 
I have an issue in one of our legal entities in AX2012.
 
Every single time a purchase order is created; any subsequent purchase line is automatically being assigned the same VAT group /PLVAT/ regardless of the Vendors' default VAT GROUP.
 
To fix that I need to automatically go to Line details->setup-> change VAT group manually to the Header'/Vendor's VAT group.
 
The funny part is when a new purchase line is created the VAT Group is correct (same as Header/Vendor). Once the item is selected it switches back to PLVAT
 
Is there any parameters or class affecting this?
 
(no default VAT group on any vendor)
 
  • BillurSamdancioglu Profile Picture
    BillurSamdancioglu 13,021 Super User on at
    Wrong VAT Group assigned in every purchase line (regardless of Vendor's default VAT Group)
    This is not the ;OOB; reaction unless it is smthg with country spesific. Which localizations are applie dor are there any customization?
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 282,978 Super User on at
    Wrong VAT Group assigned in every purchase line (regardless of Vendor's default VAT Group)
    Hi CBNestor,
     
    I have not seen this behavior before. It might be due to some localization where the tax groups are initialized differently. A developer would be able to debug the code to check what exact method is being called with what values. Then you can find the culprit.
  • CBNestor Profile Picture
    CBNestor 508 on at
    Wrong VAT Group assigned in every purchase line (regardless of Vendor's default VAT Group)
    Hi Mohamed,
     
    No, the other legal entities are working properly.
     
    Do you know the method/class that triggers that action?
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 3,437 UG Leader on at
    Wrong VAT Group assigned in every purchase line (regardless of Vendor's default VAT Group)
    Hi @CBNestor,
     
    you've made changes to the standard code ?
     
    Best regards,
    Mohamed Amine MAHMOUDI

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 282,978 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans