Returns True when the Transaction is in Update mode. Otherwise, it returns False.
Boolean (True or False)
In the iSeries environment, when an error rule for a certain mode is defined, the corresponding code to support this mode is not generated.
We have a system that manages documents in a publishing company, where certain attributes must be filled in with information only at insert time, but must never be modified once entered. For example, the document creation date and author name. To state this situation, we can include the following two rules in the corresponding transaction to make sure these attributes will only be accepted at insert time:
NoAccept(CreationDate) If Update;
NoAccept(AuthorName) If Update;
Objects Procedure object, Transaction object, Web Panel object