Skip to main content

Vânzătorul vinde marfa

Cand Vanzatorul întregistrează o linie de vânzare în interfața nouă și prețul din Moqui este diferit, Sistemul adaugă diferența de preț ca și o linie nouă de discount.

Cand Vanzatorul întregistrează o linie de vânzare în interfața nouă și închide bonul și furnizorul principal al produsului este Dunca și stocul intră în negativ, Sistemul trimite comandă la furnizor pentru produsul respectiv.

Data statements

A POS sale is an OrderHeader with salesChannelEnumId = POS and Customer = _NA_ and CarrierShipmentMethod.shipmentMethodEnumId = ShMthPickUp. The POS payment is represented by an Invoice of type InvoiceSimplified with an attached payment of type PtInvoicePayment and paymentInstrumentEnumId = PiDebitCard OR PiCash.

Scenario A: Customer pays an invoice using store credit  
  paymentTypeEnumId    = PtInvoicePayment  
  paymentInstrumentEnumId = PiFinancialAccount  
  paymentMethodId      → PaymentMethod (PmtFinancialAccount)  
                              └─ finAccountId → FinancialAccount (CustomerCredit)  
  Payment.finAccountId → same FinancialAccount  
  finAccountAuthId     → FinancialAccountAuth (holds the funds)  
  finAccountTransId    → FinancialAccountTrans (the debit from the account)  
  
Scenario B: Loading money onto a gift card (funding the FinancialAccount)  
  paymentTypeEnumId    = PtFinancialAccount  
  paymentInstrumentEnumId = PiCreditCard  (how the customer pays to load it)  
  paymentMethodId      → PaymentMethod (PmtCreditCard)  
  Payment.finAccountId → FinancialAccount (GiftCard) being loaded