"Lock" option for a newly added Status Value (Approved) in Quotes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ali.ahmed@bios.pk
    Junior Member
    • Mar 2024
    • 25

    "Lock" option for a newly added Status Value (Approved) in Quotes

    Hello,

    I wanted to ask if anyone can help me for the following case:

    I have added a new option for the Status Field: "Submitted" and I want to have the "Lock" record option for this status value as well. Just as we do originally for Statuses "Approved" or "Canceled".

    Can anyone help to guide me on how i can activate the same option for the new Status option that i have added?

    Best regards,
  • yuri
    Member
    • Mar 2014
    • 8556

    #2
    Hi,

    You would need to indicate that your status means that a Quote is complete. No other way.

    Administration > Entity Manager > Quotes > Edit > Done statuses. Add your status there.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • ali.ahmed@bios.pk
      Junior Member
      • Mar 2024
      • 25

      #3
      Hi Yuri,

      Thanks once again for your prompt response. I had already tried doing it but it did not have any change.

      Attaching screenshot for your reference.

      Click image for larger version

Name:	image.png
Views:	243
Size:	325.3 KB
ID:	103602

      Comment

      • yuri
        Member
        • Mar 2014
        • 8556

        #4
        Might be only applied for saved records, when status is changed, an internal field is updated. Try changing the status back and forth.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • ali.ahmed@bios.pk
          Junior Member
          • Mar 2024
          • 25

          #5
          Dear Yuri,

          You are absolutely right. Thank you so much for your prompt response and helping me out, it is okay now!

          Comment

          • ali.ahmed@bios.pk
            Junior Member
            • Mar 2024
            • 25

            #6
            However, it is not locking the fields even when the record is "Locked". Do i need to some additional steps or checking too?

            Comment

            • ali.ahmed@bios.pk
              Junior Member
              • Mar 2024
              • 25

              #7
              Here is the screenshot for your kind reference.
              Attached Files

              Comment

              • yuri
                Member
                • Mar 2014
                • 8556

                #8
                It's not supposed to. Only items and status are locked. You can utilize dynamic logic to make certain fields read-only if a record is locked.

                From docs:

                Click image for larger version

Name:	image.png
Views:	130
Size:	25.0 KB
ID:	103614
                Last edited by yuri; 03-11-2024, 12:27 PM.
                If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                Comment

                • ali.ahmed@bios.pk
                  Junior Member
                  • Mar 2024
                  • 25

                  #9
                  Got it! Thanks a lot once again! Ill use dynamic logic to lock other fields!

                  Comment

                  Working...