web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

what is the default value TaxTrans field TransDate when sales invoicing ?

(0) ShareShare
ReportReport
Posted on by 596

Hello guys,

May I know when F&O insert TaxTrans table, basically when processing Sales order invoice, what will be it's default value ? is it based on the invoice date or the current system date? and where (which class) it is define ?

I got a case whereby my sales invoice created with the past date, but in TaxTrans is using system date when processing.

The invoice process I'm using is using X code like this : 

SalesFormLetter         formLetterObj;
        SalesTable      salesTableInv = SalesTable::find(MyTable.SalesId);
                        
        formLetterObj   = SalesFormLetter::construct(DocumentStatus::Invoice);
        formLetterObj.update(salesTableInv);

So in X , my code will take a look at a custom table with information of SalesId, then I'm using that command to execute posting invoice. So I know confuse why the TaxTrans table is not following what sales invoice - invoice date ?

Thanks

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    302,604 Super User 2026 Season 1 on at

    Hi Lars,

    When I look at your coding, you only provide a sales order, but I don't see any other logic to take parameters for posting the invoice from your custom table. Have you used the debugger to find out when and where the date is set or lost?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 673 Super User 2026 Season 1

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 673 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 391 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans