User Manual

08.14.2024

MANUAL

Developer Function: Server Script: apiModel.Update

## Overview Update an existing record. ## Syntax ``` apiModel.Update() ``` ## Return Value If the record is updated, true is returned; if not, false is returned. ## Usage Example The following example gets the record information for record ID 123 and updates the "「Status Item」" to completed (900). ##### JavaScript ``` let records = items.Get(123); if (records.Length === 1) { let record = records[0]; record.Status = 900; record.Update(); } ``` ## 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.