Share via


PdsCatchWeightItem::validateTemplateBuffer Method

Validates whether the buffer that is supplied from the templates can be validated and inserted.

Syntax

client server public static boolean validateTemplateBuffer(Common _buffer)

Run On

Called

Parameters

Return Value

Type: boolean
true if the buffer is of a different table than this, or if the item is catch weight and the buffer can therefore be inserted; otherwise, false.

Remarks

Note that the inventory unit is obtained from the buffer through the InventoTableModule table. Therefore, the record should exist in the database when this method is called.

See Also

Reference

PdsCatchWeightItem Table