{
  "name": "kinkozi-dataflow-kintone-plugin",
  "version": "1",
  "key": "{\"jobs\":[{\"id\":\"fy9pr0ti2hcua9hd\",\"name\":\"店舗・年月ごとの売上実績を集計する\",\"description\":\"\",\"triggers\":[\"listButton\"],\"triggerProcessActions\":[],\"listButtonLabel\":\"店舗・年月ごとの売上実績を集計する\",\"detailButtonLabel\":\"\",\"enabled\":true,\"logAppId\":\"497\",\"showDisabledButton\":false,\"acl\":[{\"type\":\"everyone\",\"code\":\"\",\"apply\":true}],\"flows\":[{\"id\":\"lvkfzlwv2y7kofty\",\"name\":\"店舗・年月ごとの売上実績を集計する_フロー\",\"nodes\":[{\"id\":\"efij61ock8i9pfoo\",\"position\":{\"x\":176,\"y\":128},\"type\":\"AppInput\",\"setting\":{\"title\":\"店舗日報\",\"description\":\"アプリのレコードから入力データを抽出します。\",\"appId\":\"530\",\"listFilter\":{\"filterType\":\"custom\",\"customFilter\":{\"conditions\":[],\"logic\":\"and\",\"orderBy\":[{\"code\":\"レコード番号\",\"order\":\"desc\"}]}},\"eventFilter\":{\"filterType\":\"custom\"},\"fields\":[{\"code\":\"日付\",\"newCode\":\"\"},{\"code\":\"店舗\",\"newCode\":\"\"},{\"code\":\"売上\",\"newCode\":\"\"},{\"code\":\"お客様数\",\"newCode\":\"\"}]},\"zIndex\":1000},{\"id\":\"66oxli01hs3uylzk\",\"position\":{\"x\":352,\"y\":128},\"type\":\"DataTransform\",\"setting\":{\"title\":\"年月算出\",\"description\":\"固定値や空白の設定、数式による加工、または他フィールドからのコピーを行い、既存のフィールドまたは新規フィールドに保存します。\",\"editMethod\":\"formula\",\"outputDestination\":\"new\",\"searchMode\":\"all\",\"delimiter\":\"\",\"newField\":{\"label\":\"年月\",\"newCode\":\"年月\"},\"formulaSetting\":\"CONCAT(YEAR(日付), \\\"年\\\", TEXT(MONTH(日付), \\\"00\\\"), \\\"月\\\")\"},\"zIndex\":1000},{\"id\":\"enpt32v4hglzfhyu\",\"position\":{\"x\":528,\"y\":128},\"type\":\"AggregateRecords\",\"setting\":{\"title\":\"店舗・年月別合計算出\",\"description\":\"選択したフィールドのレコードをグループごとに集計します。\",\"fields\":[{\"code\":\"年月\"},{\"code\":\"店舗\"}],\"aggregations\":[{\"code\":\"売上\",\"newLabel\":\"売上合計\",\"newCode\":\"売上合計\",\"type\":\"SUM\"},{\"code\":\"お客様数\",\"newLabel\":\"お客様数合計\",\"newCode\":\"お客様数合計\",\"type\":\"SUM\"},{\"code\":\"日付\",\"newLabel\":\"営業日数\",\"newCode\":\"営業日数\",\"type\":\"COUNT\"},{\"code\":\"売上\",\"newLabel\":\"売上標準偏差\",\"newCode\":\"売上標準偏差\",\"type\":\"STDDEV_POP\"}]},\"zIndex\":1000},{\"id\":\"yiornv0onhookujw\",\"position\":{\"x\":704,\"y\":128},\"type\":\"AppOutput\",\"setting\":{\"title\":\"店舗・年月別売上集計\",\"description\":\"データフローの結果データをアプリに出力します。\",\"appMode\":\"select\",\"appId\":\"529\",\"method\":\"upsert\",\"fields\":[{\"appCode\":\"文字列__1行_\",\"dataCode\":\"年月\",\"updateKey\":true},{\"appCode\":\"文字列__1行__0\",\"dataCode\":\"店舗\",\"updateKey\":true},{\"appCode\":\"数値_1\",\"dataCode\":\"営業日数\"},{\"appCode\":\"数値\",\"dataCode\":\"売上合計\"},{\"appCode\":\"数値_0\",\"dataCode\":\"お客様数合計\"},{\"appCode\":\"数値_2\",\"dataCode\":\"売上標準偏差\"}],\"options\":{\"updateLookup\":true},\"orderBy\":[]},\"zIndex\":1000}],\"edges\":[{\"id\":\"viqrytyihz9gga8s\",\"source\":\"efij61ock8i9pfoo\",\"target\":\"66oxli01hs3uylzk\"},{\"id\":\"gkvam2bg8hnduvs7\",\"source\":\"66oxli01hs3uylzk\",\"target\":\"enpt32v4hglzfhyu\"},{\"id\":\"qcz16e78sfvh8xg9\",\"source\":\"enpt32v4hglzfhyu\",\"target\":\"yiornv0onhookujw\"}],\"enabled\":true,\"viewport\":{\"x\":0,\"y\":0,\"zoom\":1},\"validationResult\":{\"isValid\":true,\"nodeErrors\":[],\"flowErrors\":[]}}]}]}"
}