SuiteScript - Entry Point

Schedule Script

  • execute

Map/Reduce Script

  • getInputData(inputContext):Marks the beginning of the map/reduce script execution. Invokes the input stage. This function is invoked one time in the execution of the script.

  • map(mapContext): Optional, but if this entry point is skipped, the reduce(reduceContext) entry point is required. Invokes the map stage. If this entry point is used, the map function is invoked one time for each key/value pair provided by the getInputData(inputContext) function.

reduce: Optional, but if this entry point is skipped, the map(mapContext) entry point is required. Invokes the reduce stage. If this entry point is used, the reduce function is invoked one time for each key and list of values provided. Data is provided either by the map stage or, if the map stage is not used, by the getInputData stage.

summarize(summaryContext): Invokes the summarize stage. If the summarize entry point is used, the summarize function is invoked one time in the execution of the script.


<<:  【把玩Azure DevOps】Day18 CI/CD从这里:Pipeline设定Yaml以外的Trigger方式

>>:  [Day30] BERT(三)

Hook 概观( Day15 )

如果想快速使用 Hook ,其实就参考 Hook 概观分的五个面向,包含一定会用也最常用的 Stat...

使用者输入验证

允许使用者输入几乎是每个系统都需要的功能,为了确保资料内容或格式的正确性,通常会加上一些资料验证规则...

Day 13. slate × Interfaces × Positioning

紧接着这一篇要来探讨 slate 是如何实现『定位』这件事的。 在开发以 text 文字资料模型为...

Day-28 手把手的手写辨识模型 0x3:CNN is the end?模型大哉问

快到结尾了,再让笔者水一篇 XDD,今天我们来聊聊 CNN 会不会是深度学习领域的最後呢? CNN...

Python 练习

今天要来给大家练习,今天要来练习的是比较实用的内容,主要是练习for回圈和if。那我们就开始吧! 题...