Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Verifies whether delivery dates are OK upon a record being inserted or updated.
Syntax
public boolean validateWritePrompt(
Common _record,
[boolean _showDialog,
boolean _forceValidate,
boolean _showWarning,
boolean _recalculateShippingDate])
Run On
Called
Parameters
- _record
Type: Common Table
The record upon which delivery dates are checked.
- _showDialog
Type: boolean
A Boolean value that specifies whether to show a dialog box to the user for irresolvable conflicts.
- _forceValidate
Type: boolean
A Boolean value that indicates whether validation is enforced regardless of what has been changed on the record being saved.
- _showWarning
Type: boolean
A Boolean value that specifies whether warning messages are shown in the Infolog.
- _recalculateShippingDate
Type: boolean
A Boolean value that specifies whether recalculation of the shipping date on a record is forced regardless of circumstances.
Return Value
Type: boolean
true if there are no conflicts with delivery dates and record can be saved; otherwise, false.