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?
This is OrderPOCreate.java
// Drop Ship
po.setIsDropShip(so.isDropShip());// IFSalesOrder is DropShp then PO is DropShp
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.
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?
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 =(
As you have learned, the Drop Ship capability in Compiere has not been fully completed. That's why certain columns are hidden.
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);
if (C_Order_ID == 0)
IF not DocSub --> TypeSO_StandardsetIsDropShip(false)
// No Drop Ship other than Standard
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.
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.
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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.