logo
Zpider eShop Docs
    • Zpider eShop Documentation
    • Getting started
      • Install Zpider Fusion Service
      • Install Zpider Web
      • Setup HTTPS using Let's Encrypt
    • eShop Admin
      • Company information wizard
      • Basic information wizard
    • Themes and templates
      • Templates (HTX)
    • Plugins
      • SendMail
    • How To ...?
      • Add ld+json and graph data
      • Create a custom HTX function
      • Create event listeners
      • Fix error saving user (3)
      • Show additional data from ERP
      • Add expected delivery date to articles
      • Show additional data from ERP
      • Show subgroups in article list
    • FAQ
    • Release Notes
      • Zpider eShop v13.0
      • Zpider eShop v12.0
      • Zpider eShop v11.2
      • Zpider eShop v11.0

  • ON IT
  • Visma

        • Zpider eShop Documentation
        • Getting started
          • Install Zpider Fusion Service
          • Install Zpider Web
          • Setup HTTPS using Let's Encrypt
        • eShop Admin
          • Company information wizard
          • Basic information wizard
        • Themes and templates
          • Templates (HTX)
        • Plugins
          • SendMail
        • How To ...?
          • Add ld+json and graph data
          • Create a custom HTX function
          • Create event listeners
          • Fix error saving user (3)
          • Show additional data from ERP
          • Add expected delivery date to articles
          • Show additional data from ERP
          • Show subgroups in article list
        • FAQ
        • Release Notes
          • Zpider eShop v13.0
          • Zpider eShop v12.0
          • Zpider eShop v11.2
          • Zpider eShop v11.0

      • ON IT
      • Visma

      Add expected delivery date to articles

      Github logo Edit on GitHub

      Visma Business

      SELECT ...
      deltmb.deldt ExpectedDeliveryDate,
      deltmb.inpurc ExpectedDeliveryQuantity
      FROM Prod
      ...
      OUTER APPLY (
      SELECT TOP 1 convert(VARCHAR(max), dbo.GetDateO(deldt, 0), 105) deldt
      ,inpurc
      FROM DelTmBal d
      CROSS JOIN GetDateHelper
      WHERE d.ProdNo = prod.prodno
      AND dbo.GetDateO(DelDt, 0) > GetDateHelper.NowDate
      ORDER BY deldt ASC
      ) deltmb
      Previous
      Show additional data from ERP
      Next
      Show additional data from ERP
        CONTENTS
      • Visma Business