--- date created: 2022-11-04 Fri date updated: 2022-11-09 14:17 Wed --- #📑docs # 财务科编号 | **account_id** | 注释 | | -------------- | ---------- | | 0 | 营业收入 | | 1 | 成本 - 佣金 | | 2 | 成本 - 供应商报价 | | 3 | 成本 - 保险 | | 4 | 应收帐款 | | 5 | 应付帐款 | | 6 | 现金 | | 7 | 利润 | # 计算公式 %% $profit\_margin=profit / web\_settlement$ $web\_settlement = transaction\_amount- commission$ %% ``` profit_margin = profit / web_settlement web_settlement = transaction_amount - commission ``` # 团号生成 - 团号的条件: 来源, 销售, 客人UID, 供应商, 店铺, 预定日期 - 同步的时候项目没有匹配到就没有团号, 手动选了之后, 重新点一下同步就行 - 团号生成只在执行同步的时候 # 订单项目匹配 `product_package`表:商品编码`sku_code`