Buy One (or more) get one free

  • Buy One (or more) get one free

    Posted by Lewis Rosenberg on April 9, 2021 at 10:16 am
    • Lewis Rosenberg

      Member

      April 9, 2021 at 10:16 AM

      Hello D365UGBC/NAVUG Community,

      Just wondering, how do you handle Buy One Get One Free or Buy x Get one free situations for sales orders?

      ——————————
      Lewis Rosenberg
      IT Manager
      Mars Fishcare
      Chalfont PA
      http://www.apifishcare.com
      ————————————————————————
      D365UG-BC/NAVUG All-Star
      D365UG-BC/NAVUG Board of Advisors, Chairperson Emeritus
      D365UG-BC/NAVUG Programming Committee

      Twitter: @RosenbergL
      LinkedIn: https://www.linkedin.com/in/rosenbergl
      ————————————————————————
      ——————————

    • Steven Chinsky

      Member

      April 12, 2021 at 4:13 PM

      Lewis,

      Out of the box is not possible. I know LS Retail has the ability but you need there ISV/APP. Here is the code someone once wrote to make this work:

      "Quantity Disc. %" := 0;
      IF Type = Type::Item THEN BEGIN
      IF (Quantity = "Quantity Invoiced") AND (CurrFieldNo <> 0) THEN
      CheckItemChargeAssgnt;
      GetSalesHeader;
      IF SalesHeader."Allow Quantity Disc." AND "Allow Quantity Disc." THEN BEGIN
      ItemSalesQtyDisc.SETRANGE(Code,"Quantity Disc. Code");
      ItemSalesQtyDisc.SETRANGE("Minimum Quantity",0,ABS("Quantity (Base)"));
      IF ItemSalesQtyDisc.FIND('+') THEN
      "Quantity Disc. %" := ItemSalesQtyDisc."Discount %";
      END;
      END;
      VALIDATE("Quantity Disc. %");

      Hope this helps.
      Thanks,
      Steve

      ——————————
      Steven Chinsky
      Manager
      Wipfli
      Mansfield MA
      NAVUG/BC Programming Committee Member
      NAVUG All-Star, Granite Award Recipient, MCP, DCMP
      ——————————
      ——————————————-

    • Lewis Rosenberg

      Member

      April 12, 2021 at 7:47 PM

      Thanks Steve,

      One thought I had was to create a new item AA which was item A sold as a pair with a cost of a single A.Ā Ā 
      An alternative is to manually manipulate the cost upon order entry or manually add a line with a 100% discount, but he idea is to avoid any manual entries.

      ——————————
      Lewis Rosenberg
      IT Manager
      Mars Fishcare
      Chalfont PA
      http://www.apifishcare.com
      ————————————————————————
      D365UG-BC/NAVUG All-Star
      D365UG-BC/NAVUG Board of Advisors, Chairperson Emeritus
      D365UG-BC/NAVUG Programming Committee

      Twitter: @RosenbergL
      LinkedIn: https://www.linkedin.com/in/rosenbergl
      ————————————————————————
      ——————————
      ——————————————-

    Lewis Rosenberg replied 4 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Buy One (or more) get one free’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!