Share via


CatDistinctProductReference::validatePricingSetup Method

Validates the quantity in the given line against the given item.

Syntax

client server public static container validatePricingSetup(InventTable _inventTable, CatCartLine _catCartLine)

Run On

Called

Parameters

  • _inventTable
    Type: InventTable Table
    The item procurement quantity setup against which to validate.
  • _catCartLine
    Type: CatCartLine Table
    The line in which the quantity will be validated.

Return Value

Type: container
A container that contains the CatCartLineInvalidityReason reason code that indicates whether the quantity is valid and a detailed message when the quantity is invalid.

Remarks

The given item should match the given line.

See Also

Reference

CatDistinctProductReference Table