Lewati ke isi

Shipping Sales

Average Cost

  • Jika fitur shipping sales aktif dan dokumen sale terdapat proses shipping maka ketika proses register closure ada proses kalkulasi cogs dan consignment cogs dari kolom average cost di shipping sale line.
  • Jika nilai di kolom average cost shipping sales sama dengan 0 maka akan mengambil nilai average cost di stock history.

Tips

Untuk user platform admin agar dapat melihat nilai average cost yang tersimpan di dokumen sale dapat mengikuti langkah sebagai berikut :

  • Install extensi Json View pada browser Chrome.
  • Aktifkan settingan Is Developer pada settingan user di tab Platform Admin. Untuk settingan ini tidak dapat di ubah sendiri di akun Live.
  • Akses halaman dokumen sale dengan menambahkan .json. Contoh :
https://sandbox.turboly.com/sales/1.json

Daftar Skenario

Persiapan Data

  • Supplier A
    • Sales Tax = PPN
    • Allow Direct Delivery = Aktif
  • Supplier B
    • Sales Tax = PPN
    • Allow Direct Delivery = Aktif
    • Penjual Produk Konsinyasi = Aktif
  • Store A
    • Register A-1, A-2, A-3, A-4
      • Allow Shipping = Aktif
      • Tampilkan Stok Kosong = Aktif
  • Warehouse A
  • Product Track Inventory (Credit)
    • Product A
      • Harga Beli Company dan Toko -> 11.000
    • Product B
      • Harga Beli Company dan Toko -> 22.000
  • Product Track Inventory (Consignment)
    • Product C
      • Harga Beli Company dan Toko -> 33.000
      • Mapping Supplier -> Supplier B
    • Product D
      • Harga Beli Company dan Toko -> 44.000
      • Mapping Supplier -> Supplier B
  • Product Non-Track Inventory
    • Product E
      • Harga Jual -> 50.000

Skenario 1 - Nilai Average Cost Dari Stock History

Skenario ketika proses shipping sale line tidak menyimpan nilai average cost di dokumen lama. Ketika proses register closure mendeteksi dokumen sales terdapat proses Shipping maka akan mengkalkulasi cogs dan consignment cogs dari kolom average cost di Stock History.

  • Menambahkan stok di Store A
    • Supplier A (Inc Tax)
      • Product A = 100 Qty
    • Supplier B (Inc Tax)
      • Product C = 100 Qty
  • Menambahkan stok di Warehouse A
    • Supplier B (Inc Tax)
      • Product B = 100 Qty
      • Product D = 100 Qty
  • Pilih Store A
  • Pilih Register A-1
  • Input Shipping Address Di Form Sale
  • Proses Shipping - Delivery By Driver

Sales

  • Sale 1

    • Product A
      • Quantity = 2 Pcs
      • Carried Away = Aktif
    • Product C
      • Quantity = 3 Pcs
      • Carried Away = Aktif
    • Lanjutkan proses sampai sale Completed.
    • Nilai Average Cost
      • Sale Line
        • Product A Average Cost = 10.000 (20.000)
        • Product C Average Cost = 30.000 (90.000)
      • Stock History
        • Product A Average Cost = 10.000 (20.000)
        • Product C Average Cost = 30.000 (90.000)
  • Sale 2

    • Product A
      • Quantity = 1 Pcs
      • Carried Away = Aktif
    • Product B
      • Quantity = 1 Pcs
      • Carried Away = Tidak Aktif
    • Product D
      • Quantity = 2 Pcs
      • Carried Away = Tidak Aktif
    • Product E

      • Quantity = 1 Pcs
      • Carried Away = Tidak Aktif
    • Product A mengambil stok dari Store A.

    • Pengiriman Product B & Product D mengambil stok dari Warehouse A otomatis membuat dokumen Stock Order.
    • Lanjutkan proses Product B & Product D sampai Shipping Sale Delivered.
    • Average Cost
      • Sale Line
        • Product A Average Cost = 10.000 (10.000)
        • Product B Average Cost = 0
        • Product D Average Cost = 0
      • Shipping Sale Line
        • Product B Average Cost = 0
        • Product D Average Cost = 0
      • Stock History
        • Product A Average Cost = 10.000 (10.000)
        • Product B Average Cost = 20.000 (20.000)
        • Product D Average Cost = 40.000 (80.000)

Register Closure

  • Data
    • Store A
    • Register A-1
  • Hasil
    • Register Closure
      • COGS = 50.000
      • Consignment COGS = 170.000
    • Journal Sales
      • COGS = 50.000
      • Inventory Sales = 50.000

Skenario 2 - Nilai Average Cost Dari Shipping Sale Line

Skenario ketika proses shipping sale line sudah menyimpan nilai average cost di dokumen. Ketika proses register closure mendeteksi dokumen sales terdapat proses Shipping maka akan mengkalkulasi cogs dan consignment cogs dari kolom average cost di Shipping Sale Line.

Details

  • Menambahkan stok di Store A dengan proses SODD :

    • Supplier A (Inc Tax)
      • Product B
        • Quantity = 100
    • Supplier B (Inc Tax)
      • Product D
        • Quantity - 100
  • Pilih Store A

  • Pilih Register A-2
  • Input Shipping Address Di Form Sale
  • Proses Shipping - Delivery By Driver

Sales

  • Sale 1

    • Product B
      • Quantity = 5 Pcs
      • Carried Away = Tidak Aktif
    • Product C
      • Quantity = 5 Pcs
      • Carried Away = Tidak Aktif
    • Product D

      • Quantity = 5 Pcs
      • Carried Away = Aktif
    • Pengiriman Product B & C mengambil stok dari Store A.

    • Lanjutkan proses Product B & C sampai Shipping Sale Delivered.
    • Nilai Average Cost :
      • Sale Line
        • Product B Average Cost = 20.000 (100.000)
        • Product C Average Cost = 30.000 (150.000)
        • Product D Average Cost = 40.000 (200.000)
      • Shipping Sale Line
        • Product B Average Cost = 20.000 (100.000)
        • Product C Average Cost = 30.000 (150.000)
      • Stock History
        • Product B Average Cost = 20.000 (100.000)
        • Product C Average Cost = 30.000 (150.000)
        • Product D Average Cost = 40.000 (200.000)
  • Sale 2

    • Product A
      • Quantity = 3 Pcs
      • Carried Away = Aktif
    • Product D
      • Quantity = 5 Pcs
      • Carried Away = Aktif
    • Product E

      • Quantity = 2 Pcs
      • Carried Away = Tidak Aktif
    • Lanjutkan Product E proses sampai Shipping Sale Delivered.

    • Average Cost :
      • Sale Line
        • Product A Average Cost = 10.000 (30.000)
        • Product D Average Cost = 40.000 (200.000)
      • Stock History
        • Product A Average Cost = 10.000 (30.000)
        • Product D Average Cost = 40.000 (200.000)

Register Closure

  • Data
    • Store A
    • Register A-2
  • Hasil
    • Register Closure
      • COGS = 130.000
      • Consignment COGS = 550.000
    • Journal Sales
      • COGS = 130.000
      • Inventory Sales = 130.000

Skenario 3 - Nilai Average Cost Sale Line Tidak Sama Dengan Shipping Sale Line

Skenario ketika nilai average cost di Sale Line berbeda dengan yang ada di Shipping Sale Line karena adanya perubahan average cost sebelum dokumen Shipping Sale dibuat. Ketika proses register closure mendeteksi dokumen sales terdapat proses Shipping maka akan mengkalkulasi cogs dan consignment cogs dari kolom average cost di Shipping Sale Line.

Details

  • Store A
  • Register A-3
  • Input Shipping Address Di Form Sale
  • Proses Shipping - Delivery By Driver

Sales

  • Sale 1

    • Product A
      • Quantity = 2 Pcs
      • Carried Away = Tidak Aktif
    • Product B
      • Quantity = 2 Pcs
      • Carried Away = Aktif
    • Product C
      • Quantity = 2 Pcs
      • Carried Away = Tidak Aktif
    • Product D
      • Quantity = 2 Pcs
      • Carried Away = Aktif
    • Product E

      • Quantity = 2 Pcs
      • Carried Away = Aktif
    • Menambahkan stok di Store A dengan proses SODD setelah terbentuk dokumen Sale Completed :

      • Supplier A (Inc Tax)
        • Product A
          • Quantity = 50
          • Supply Price = 16.500
      • Supplier B (Inc Tax)
        • Product C
          • Quantity = 50
          • Supply Price = 38.500
    • Lanjutkan proses Product A & C sampai Shipping Sale Delivered setelah proses SODD received.

    • Nilai Average Cost :
      • Sale Line
        • Product A Average Cost = 10.000 (20.000)
        • Product B Average Cost = 20.000 (40.000)
        • Product C Average Cost = 30.000 (60.000)
        • Product D Average Cost = 40.000 (80.000)
      • Shipping Sale Line
        • Product A Average Cost = 11.736,11 (23.472,22)
        • Product C Average Cost = 31.760,56 (63.521,12)
      • Stock History
        • Product A Average Cost = 11.736,11 (23.472,22)
        • Product B Average Cost = 20.000 (40.000)
        • Product C Average Cost = 31.760,56 (63.521,12)
        • Product D Average Cost = 40.000 (80.000)

Register Closure

  • Data
    • Store A
    • Register A-3
  • Hasil
    • Register Closure
      • COGS = 63.472,22
      • Consignment COGS = 143.521,13
    • Journal Sales
      • COGS = 63.472,22
      • Inventory Sales = 63.472,22

Skenario 4 - Satu Sale Line Di Proses Partial Shipping Sale Line Dengan Average Cost Berbeda

Skenario ketika Sale Line di proses lebih dari satu proses Shipping (Partial) sehingga terbentuk dua atau lebih dokumen Shipping Sale. Ketika proses register closure mendeteksi dokumen sales terdapat proses Shipping maka akan mengkalkulasi cogs dan consignment cogs dari kolom average cost di Shipping Sale Line. Jika dalam 1 Sale Line terdapat 2 Shipping Sale Line dengan average cost berbeda maka contoh rumusnya sebagai berikut :

average\ cost = \frac{(2x10.000) + (3x12.000)}{(2+3)} = \frac{56.000}{5} = 11.200

Details

  • Store A
  • Register A-4
  • Input Shipping Address Di Form Sale
  • Proses Shipping - Delivery By Driver

Sales

  • Sale 1

    • Product A
      • Quantity = 10 Pcs
      • Carried Away = Aktif
    • Product B
      • Quantity = 10 Pcs
      • Carried Away = Tidak Aktif
    • Product C
      • Quantity = 10 Pcs
      • Carried Away = Aktif
    • Product D

      • Quantity = 10 Pcs
      • Carried Away = Tidak Aktif
    • Buatlah dokumen Shipping Sale 1 dengan detail sebagai berikut :

      • Product B = 5 Pcs
      • Product D = 5 Pcs
    • Lanjutkan proses sampai Shipping Sale 1 berstatus Delivered.
    • Menambahkan stok di Store A dengan proses SODD sebelum membuat dokumen Shipping Sale 2 untuk sisa yang belum dikirim :
    • Supplier A (Inc Tax)
      • Product B
        • Quantity = 50
        • Supply Price = 27.500
    • Supplier B (Inc Tax)
      • Product D
        • Quantity = 50
        • Supply Price = 49.500
    • Buatlah dokumen Shipping Sale 2 setelah SODD Received dengan detail sebagai berikut :
      • Product B = 5 Pcs
      • Product D = 5 Pcs
    • Lanjutkan proses sampai Shipping Sale 2 berstatus Delivered.
    • Nilai Average Cost :
      • Sale Line
        • Product A Average Cost = 11.736,11 (117.361,1)
        • Product B Average Cost = 20.000 (200.000)
        • Product C Average Cost = 31.760,56 (317.605,6)
        • Product D Average Cost = 40.000 (400.000)
      • Shipping Sale Line 1
        • Product B Average Cost = 20.000 (100.000)
        • Product D Average Cost = 40.000 (200.000)
      • Stock History 1
        • Product A Average Cost = 11.736,11 (117.361,1)
        • Product B Average Cost = 20.000 (100.000)
        • Product C Average Cost = 31.760,56 (317.605,6)
        • Product D Average Cost = 40.000 (200.000)
      • Shipping Sale Line 2
        • Product B Average Cost = 21.811,59 (109.057,95)
        • Product D Average Cost = 41.879,70 (209.398,5)
      • Stock History 2
        • Product B Average Cost = 21.811,59 (109.057,95)
        • Product D Average Cost = 41.879,70 (209.398,5)

Register Closure

  • Data
    • Store A
    • Register A-4
  • Hasil
    • Register Closure
      • COGS = 326.419,08
      • Consignment COGS = 727.004,13
    • Journal Sales
      • COGS = 326.419,08
      • Inventory Sales = 326.419,08