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
- _buffer
Type: Common Table
The buffer to validate.
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.