This routine sends a set of pending delivery authorizations related to the partnership contract. This document is automatically sent by using the solution of TOTVS Collaboration.

The Delivery Schedule functionality is responsible for sending pending delivery authorizations in XML format to TOTVS Collaboration electronically.

Remember that delivery authorizations can be automatically generated as estimated due to a production order need. In this case, when a production order has its status changed from Estimated to Firm through the routines Estimated Pos in Firm and Estimated DAs in Firm, the delivery authorization document must be automatically sent to TOTVS Collaboration.


Help_buttonImportant:

The new routine is only available when the parameter MV_TPOPDOC is enabled. You can view it through the menu Miscellaneous/TOTVS Collaboration/Delivery Schedule.



Procedures


Requirements:


  1. Add products to be in the partnership contract;
  2. Add a partnership contract with the products registered;
  3. Based on the contract above, add a partial delivery authorization with the items of the contract registered;
  4. After adding the delivery authorization, access the new functionality though the menu Miscellaneous/TOTVS Collaboration/Delivery Authorization;
  5. After opening the screen, click Questions to fill out the fields Supplier Code and Delivery Date;
  6. Click Information and then Run to send the delivery schedule message to TOTVS Collaboration;
  7. Through SC7 table, check the fields C7_TPCOLAB and C7_IDTSS, both must be filled out (the fields are only filled out after sending the delivery schedule message to TOTVS Collaborations);
  8. Query information from SPED061 table of TSS to check if the delivery schedule message was saved properly;

Second phase of tests of delivery schedule message - TOTVS Collaboration:

  1. Add a product structure for PA product;
  2. Add a production order of quantity 100 of estimated type;

     When quitting the production order screen, check the generation of Intermediate Pos and PRs;

3. Access the delivery schedule routine via Purchases module through the menu Miscellaneous\TOTVS Collaboration\Delivery Schedule;

4. Click the option to run the routine and check the Type field - it must be saved as PEP – Estimated Delivery Schedule;

5. Access Inventory/Costs module though the menu Production Mvts/Estimated DAs, select the 3 production order items, and click Run Firm DAs (if you click Firm DAs before running the delivery schedule routine, the Purchase Order message is sent instead of the Delivery Authorization. Besides, the status PC - Purchase Order is saved in the field C7_TPCOLAB);

6. Check the content of the Type field - it must be filled out with PEF – Firm Delivery Schedule.