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

Return Value

Type: boolean
This is a boolean value indicating the result of the validation.

See Also

Reference

MCRSourceCodeSetup Table