cancel
Showing results for 
Search instead for 
Did you mean: 

SAP B1 Approval Process validation is ignored when editing document

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Answers (0)