Giter Site home page Giter Site logo

fmbot's Introduction

fmbot

ポイント加算

多数の会員にポイント加算する方法

npm run points -- create < file.csv
CSVファイルフォーマット
# CSV項目名
1 会員番号 2700006439979
2 店舗コード 001
3 加算ポイント 10

棚卸更新

メインメニュー⇨在庫・棚卸⇨棚卸⇨棚卸更新⇨実行

コマンド

.bin\inventory-apply-with-retry.cmd

オプション

短いオプション 長いオプション 説明
-z --zero-fill 実棚にないSKU在庫数量を0にする
-d <date> --stocktaking-date <date> 棚卸日
-s <codes> --store-codes <codes> 「,」区切りの店舗コード
commaSeparatedList

使用例

.bin\inventory-apply-with-retry.cmd -d 2000-01-01 -s 001 -z

ヘルパー

棚卸更新Gen.js.bat

棚卸更新コマンドをキーボード入力することはない。なぜなら、店舗の数だけ棚卸更新コマンドを実行する必要があるため。この作業を軽減するためのスクリプト。

使用方法

棚卸更新Gen.js.bat < DataSource.tsv > run.bat

TSVファイルフォーマット
# 項目名
1 棚卸日 2020-11-30
2 店舗コード 001

ヘッダ行なしでTSVを作成する。

取引先エクスポート

メインメニュー⇨マスター⇨各種マスター⇨仕入先マスター⇨照会

コマンド

npm run supplier -- export

オプション

短いオプション 長いオプション 説明
-o <file> --output <file> 標準出力ではなく<file>に出力します。

使用例

npm run supplier -- export -o "C:\suppliers.txt"

fmbot's People

Contributors

gangduo avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

fmbot's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.