MCRSourceCodeSetup::validateSourceEffective Method
Validates that the source code entered on the sales header or line is within the effective dates on the offer tied to the source code. If the source code is no longer effective, issue an error.
Syntax
client server public static boolean validateSourceEffective(MCRSourceID _sourceId, [ValidFromDate _salesStartDate])
Run On
Called
Parameters
- _sourceId
Type: MCRSourceID Extended Data Type
This is a unique identifier for the source code.
- _salesStartDate
Type: ValidFromDate Extended Data Type
This is the system date.
Return Value
Type: boolean
This is a boolean value indicating the result of the validation.