Skip to Content
avatar image
Former Member

SAP B1 Approval Process validation is ignored when editing document

Hi all,

I may have found a bug or a flaw in the logic.

I have set up two approval templates;

     1 - Purchase Orders Total Value between 1000 and 10000 runs one approval template (PO-01000)

     2 - Purchase Order Total Value greater that 10000 runs the second approval template (PO-10000)

If you create a Purchase Order both approvals work as expected when you try to add the document.

If you create the Purchase Order with items that add up to a Total Value LESS than 1000 then no approval process is triggered, again as expected.

However, if you edit the Purchase Order that was created (i.e. under the threshold of the approval templates), and then amend the order so that the Total Order Value is over 1000, the approval process isn't triggered.

Is this a bug or is this supposed to happen?

Thanks in advance,

Neil.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 29, 2015 at 03:11 PM

    Hello, Neil.

    Approval process works just before for to create documents...

    To prevent that your business rules are broken when you edit PO, you should to create a restriction with TransactionNotification.

    Regads,

    JC.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi JC,

      I understand.

      My thought is that maybe Business One needs to have the option to reapply the approval processes if a document is edited as well as be created.

      Regards,

      Neil.