Webservice 'updateData' prevents settings isProcessed to true

Description

updateData method of ModelADService prevents a webservice from settin IsProcessed = Y because it reads the PO, apply the changes from DataRow and then check if the record is processed.

I believe the correct order is:

  • get PO

  • check isProcessed

  • if Y, error "Record is processed and can not be updated" as of no

  • if N, let the record be saved.

WDYT ?

Environment

None

Activity

Show:
FreePath
March 26, 2018, 4:46 PM

Uploaded diff after testing (versione 4.1)

Assignee

FreePath

Reporter

FreePath

Labels

None

Tested By

None

Components

Fix versions

Affects versions

Priority

Major
Configure