Wonach suchst Du?
What are you looking for?

IT FRESH-351

IT FRESH-351

Error when sales order is automatically created as counter doc from a purchase order with packagings

Testcase to check if sales orders are correctly created as counter documents for purchase orders including packaging.

Set Up

  1. Log in as Admin, for Org I (you should be able to make changes for both Org I & II as Admin!)

  2. Make sure that G000I = Org I, and has IsVendor=Y set in bpartner

  3. Also make sure that the vendor pricelist VP is used for G000I as vendor

  4. Make sure that G00II = Org II, and has IsCustomer=Y set in bpartner

  5. Also make sure that the customer pricelist CP is used for G00II as customer

  6. Open Document Type, select type Bestellung (Purchase Order)

  7. Open type Standardauftrag (Sales Order)

  8. Open Counter Document

  9. Open Product, search for P0002, and create a CU-TU Allocation (M_HU_PI_Item_Product) in the 2nd tab:

  10. In tab Business Partner, create a new entry:

  11. In 1st tab, press Gear, create a product mapping (M_Product_Create_Mappings_Process):

  12. In Product, search for TU B, press Gear, create a product mapping (M_Product_Create_Mappings_Process):

  13. In pricelist VP, make sure you have

  14. Open Product, search for P0001, and create a CU-TU Allocation (M_HU_PI_Item_Product) in the 2nd tab:

  15. In tab Business Partner, create a new entry:

  16. Check tab Allocated Product

  17. In pricelist CP, make sure you have

Test

  1. Log in with Org II, a role != Admin (e.g. Handel)

  2. Open Bestellung, select G000I as vendor

  3. In Product, select P0002

  4. Set a qty for TU, enter, and complete the Bestellung

  5. Log in with Org I, e.g. as Admin

  6. Check window Auftrag, search for newly created ones


View source file on GitHub.com