User Manual

08.14.2024

MANUAL

Developer Function: Server Script: apiModel.Delete

## Overview Delete an existing record. ## Syntax ``` apiModel.Delete() ``` ## Return Value If the record is deleted, it returns true; if not, it returns false. ## Usage Example The following example deletes the record with record ID 123. ##### JavaScript ``` let records = items.Get(123); if (records.Length === 1) { let record = records[0]; record.Delete(); } ``` ## Notes This is a method used in "[Server Script](/en/manual/table-management-server-script)". It cannot be used in "[Script](/en/manual/table-management-script)". ## Related Information ・[Table Management: Server Script](/manual/table-management-server-script) ・[Execution Timing for Each Object](/manual/server-script-conditions) ・[Items Object](/manual/server-script-items) ・[ApiModel Object](/manual/server-script-api-model)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.