Menu

when I can set "drop shipment" checkbox to Y?

lavino
2009-06-21
2013-05-02
  • lavino

    lavino - 2009-06-21

    I created a SO then called Generate PO from SO.  Set the Drop Shipment to "Y".  Purchase Order's drop shipment checkbox is still blank.  No sign of this became a drop shipment   What did I miss out in the configuration?
    What are the specific things you much setup in order get the drop shipment flag working?

     
    • albert

      albert - 2009-06-21

      This is OrderPOCreate.java
      When        
      //    Drop Ship
              po.setIsDropShip(so.isDropShip());// IFSalesOrder is DropShp then PO is DropShp
              if (so.isDropShip())
              {
                  po.setShip_BPartner_ID(so.getC_BPartner_ID());
                  po.setShip_Location_ID(so.getC_BPartner_Location_ID());
                  po.setShip_User_ID(so.getAD_User_ID());
              }

      But your step not define the <<so.isDropShip()>> before GenPO >>  SaleOrder --> POCreate,,

      (1)  I created a SO then called Generate PO from SO.
      (2)  Set the Drop Shipment to "Y".
      (3)  Purchase Order's drop shipment checkbox is still blank.

      Skype: Adempiere/Compiere
      MSN: albert_a_chen@yahoo.com

       
      • lavino

        lavino - 2009-06-21

        Thanks for the info but how do I set an order to isDropShip()?

        I triple checked the sales order form and selected different sales order type.  None of the field I can trigger the sales order to save the order as a drop ship order.  I also checked the order line there is nothing inside to set an item or so line as drop ship order as well.  So, how does one set a SO as drop ship so that isDropShip for the SO is true?

         
        • lavino

          lavino - 2009-06-21

          thanks for the clarification in the code part.  I can see that if it is not a Standard order it cannot be a drop ship.  I created a Standard order with 1 product, completed it and then run the generate PO from SO.  Made sure I set the Drop ship drop down list to Yes.  After it generated a PO it still didn't set the PO to drop shipment.  

          When running Swing client what do I need to do set drop ship for the order to yes so that it will generate a drop ship PO?    I try to search for an example for setting up drop ship order like tutorial form so far no luck =(

           
          • Anonymous

            Anonymous - 2009-06-23

            As you have learned, the Drop Ship capability in Compiere has not been fully completed.  That's why certain columns are hidden. 

             
    • albert

      albert - 2009-06-21

      This is MOrder.java

      When a new Sales Order create default is setIsDropShip(false)......

          public MOrder(Ctx ctx, int C_Order_ID, String trxName)
          {
              super (ctx, C_Order_ID, trxName);
              //  New
              if (C_Order_ID == 0)
              {
                  setDocStatus(DOCSTATUS_Drafted);
                  setDocAction (DOCACTION_Prepare);
                  //
      .....
      .....
                  setIsSOTrx (true);
                  setIsDropShip(false);
      =============================
      IF not DocSub --> TypeSO_StandardsetIsDropShip(false) 
      =============================
                      //    No Drop Ship other than Standard
                      if (!DocSubTypeSO.equals(DocSubTypeSO_Standard))
                          setIsDropShip(false);

      World wide free on-site support( Your Site or Our Site) ,,

      Only on-camp study is really stduy.

      Or everything On the Air,,

      We support enterprise.

      We don't  direct support to student , but we support University.

      Skype: Adempiere/Compiere
      MSN: albert_a_chen@yahoo.com

       
      • lavino

        lavino - 2009-06-21

        Ok, my coworker pointed out the answer to question actually.  In Sales Order form, the drop shipment checkbox is hidden by default.  Why?  We don't know.  So that's why I couldn't set these drop shipment to YES in the first place.  I post it up here so that ppl will know about it.    And hopefully ppl will read this before asking the same question again.

         
    • albert

      albert - 2009-06-21

      Thanks , finally you know why, and know how to do.

      But and other way is set a DocType name DropShip,

      and Set IsDropShip default is Yes,

      We never hope the DocType all meet our company requirement,

      But we must know the window is how to figure out.

       

Log in to post a comment.