Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Stok ve transfer

MongoDB

Miktarın kartı Prisma WarehouseProduct.stock alanındadır. Bu sayfa hareket belgeleridir.

Eski stok girişi (warehouseProductStockIn)

AlanAnlamı
createdByİşlemi yapan kopya
warehouse, warehouseProductDepo ve kart kopyası
codeBelge kodu
hksRawHKS ham künye
typeWarehouseProductStockInType
stockQuantity, stockUnitAmountMiktar
unitPrice, invoiceUnitPriceBirim fiyat / fatura birim
totalPrice, invoiceTotalPriceToplamlar
sellerSatıcı kopyası
comments, stars, imageUrlsKalite ve görsel
invoiceIdBağlı fatura
remainingAmountKalan
fallbackUsagesYedek tüketim

Tipler: DRAFT, PURCHASE, SELL_RETURN, SELL_CANCEL, CANCEL_DRAFT. Taslak değilse Prisma stok artar.

Eski stok çıkışı (warehouseProductStockOut)

Tip: SELL_ONLINE, SELL_OFFLINE, OUTAGE, ADJUSTMENT. Neden: hasar, SKT, kayıp, iade, operasyon, diğer. Sipariş referansı, maliyet, kâr, stok-in referansları.

FIFO giriş (stockEntries)

AlanAnlamı
statusPRE_DECLARED, DECLARED, CONFIRMED, CANCELLED
unitBirim kopyası
declaredAmount / UnitPrice / TotalPriceBeyan
confirmedAmount / UnitPriceOnay
remainingAmountLotta kalan
isPaid, dueDateÖdeme
seller, imageUrls, commentTedarikçi ve not
confirmedAtOnay zamanı

FIFO çıkış (stockExits)

type: SALE, FIRE, ADJUSTMENT. reason: hasar, SKT, kayıp, operasyon, diğer, sayım eksiği. stockEntryReferences hangi lottan ne kadar düşüldüğü. Sipariş satışı buyerOrder bağlar.

Kurye teslimatı (buyerOrderTransfers)

AlanAnlamı
code, numberKod
statusTransferStatus
buyer, origin, destinationKim, nereden, nereye
pickerOfficer, deliveryOfficerToplayan / teslim eden
minDeliveryDate, maxDeliveryDatePencere
buyerOrder, warehouseSipariş ve depo
warehouseVehicle, warehouseVehicleTransferAraç ve sefer
collectedPaymentBu transferde tahsilat
priority, comments, imagesOperasyon
previousDeliveryImagesÖnceki teslim görselleri

Durumlar: PENDING, SHIPPING, DELIVERED, CANCELLED, RETURNED.

Araç seferi (warehouseVehicleTransfers)

name, status, invoiceStatus (PENDING / PROCESSING / COMPLETED / PARTIAL), şoför, araç, GPS dizisi, mesafe, süre, başlangıç-bitiş, collectedPayments[] (yöntem, tutar, isPaid).

GPS (warehouseVehicleLocations)

latitude, longitude, recordedAt.

Tedarik talebi (procurementRequests)

Satıcı kopyası, isteğe bağlı yetkili, content, images[], ilçe kopyası, status (PENDING, APPROVED, IN_PROGRESS, COMPLETED, CANCELLED).