PdsApprovedVendorList::existValid Method
Indicates whether a record in the date range for item and vendor combination exists.
Syntax
client server public static boolean existValid(
ItemId _itemId,
PdsApprovedVendor _vendor,
ValidFromDate _startDate,
[ValidToDate _endDate,
boolean _allowOverlapCheck])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The item ID to check.
- _vendor
Type: PdsApprovedVendor Extended Data Type
The vendor ID to check.
- _startDate
Type: ValidFromDate Extended Data Type
The start date for the validation check.
- _endDate
Type: ValidToDate Extended Data Type
The end date for the validation check.
- _allowOverlapCheck
Type: boolean
A Boolean value that indicates whether overlapping dates are allowed.
Return Value
Type: boolean
true if he record exists for the item and vendor combination in the specified date range; otherwise, false.