#403 Callout error when opening Shipment window
Testcase to check if dropship callouts work fine
Dropship callouts
-
go to sales order and create a new one
-
add bpartner G000X and all mandatory data, save
- set isDropShip on Y
- => new fields appear for dropship bpartner, location and address
- => those fields are already set with bpartner G000X name, location and address
- change the dropship bpartner to G000Y
- => location gets empty, you have to set it manually
- => address didn’t change yet
-
set a dropship location
* => address updated accordingly (before save)
-
go to sales inout
-
create a new one, manually
-
add bpartner G000X and all mandatroy data, save
- set isdropship on Y
- => new fields appear for dropship bpartner, location and contact user
- => the fields are empty
- set dropship bpartner to G000Y
- => location and contact user are still empty but you can set them manually
Dropship propagation
-
create a new sales order, bpartner G000X
-
go to product window, select product P0001, go to product bpartner subtab
-
create 2 new entries: one G000Z, used for vendor, current vendor and one for G000Y used for customer, isDropShip, set C_BPartner_Vendor_ID on G000Z
-
go back to your sales order and set dropship bpartner to G000Y, set location, save
-
add products P0001, and P0002 (this one does not have bpartner product with G000Z)
- complete order and zoom in to shipment schedule
- => both are made for bpartner G000Y
- => one with P0001 has isDropShip on Y, vendor bpartner G000Z
- => one with P0002 has isDropShip on N, vendor bpartner field is hidden
- gear, create inout
- => inout created with bpartner G000Y
- => isDropShip is on N (dropship related fields are hidden)
View source file on GitHub.com