Skip to main content

Notifications

Business Central forum
Answered

Service Order Posting Date - how to default to None?

Posted on by 13
Hi,
 
We are implementing the service order module for a customer for the first time and have run into a problem.
 
When a service order is created, the Posting Date field is set to the working date. We do not want that, we want that the Posting Date field is left blank.
 
How can we achieve this?
 
Thanks
 
Jim
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 60,859 Super User on at
    Service Order Posting Date - how to default to None?
    Hi, this is a standard feature in Sales and Purchase. It is recommended to submit this idea to Microsoft.
    Missing a feature? Post or vote for ideas on: aka.ms/BCIdeas
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 10,187 User Group Leader on at
    Service Order Posting Date - how to default to None?
    Hi,
     
    Your developer can subscribe to event - OnAfterInitRecord from Service Header Table.
     
    This event will allow them to reset fields like posting date when new Service Documents are created.
     
     
     
    Regards,
    Saurav Dhyani
  • Netjacker2097 Profile Picture
    Netjacker2097 138 on at
    Service Order Posting Date - how to default to None?
    Hi,
     
    you can extend your page and add this code:
     
        trigger OnAfterGetRecord()
        begin
     
            begin
                rec."Posting Date" := WorkDate;
                CurrPage.Update;
            end;
        end;
     
        trigger OnClosePage()
        begin
            begin
                Commit();
            end;
        end;
  • Jim Oskarsson Profile Picture
    Jim Oskarsson 13 on at
    Service Order Posting Date - how to default to None?
    Thanks Valentin,
     
    Much appreciated 👍.
     
    Jim
  • Verified answer
    Valentin Castravet Profile Picture
    Valentin Castravet 4,486 Super User on at
    Service Order Posting Date - how to default to None?
    It's not possible out of the box. The system always defaults the posting date as the working date. You can either get a developer to change the service order so it doesn't auto populate the posting date, or make it a requirement for the user populating the service order to enter the correct date.
     

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,377 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans