Reorganize purchase orders, purchase order documents, and purchase order confirmations

Topic overview

The application Reorganize purch. orders, purch. order documents, and purch. order confirmations is used to reorganize purchase orders and all associated purchase order documents and order confirmations. Below you will find, among other things, descriptions of how to use the reorganization application and its parameters. You will also be informed about the effects of the reorganization.

The reorganization applications are executed by the Reorganization jobs application. The description of this application can be found in the Reorganization jobs article. It also contains a procedure on how to run the reorganization application.

Various reorganization applications are added to a list in the Reorganization jobs application in order to execute them one after the other with a reorganization job. In order for reorganization to actually take place, a certain sequence within the list must often be adhered to. Only in this way usages can be resolved. This sequence can be found in the the Reorganization sequence article.

Definitions of terms

Batch application

A batch application is an application that is run without interaction with a user. In Comarch ERP Enterprise, a batch application can be opened either by a batch job, by a CORBA call-up, or by another application.

Reorganization

Reorganizing data results in its physical deletion from the database. Deletion requires a set of checks to be satisfied. With reorganization, any business objects that are dependent on the data to be deleted are also deleted.

Reorganization application

Reorganization applications are batch applications with the special “reorganization” use. Reorganization applications are used to reorganize master and transaction data according to certain criteria.

Reorganization job

A reorganization job describes the reorganization of business objects in a defined sequence. For this purpose, several reorganization applications are called up one after the other in a reorganization job. This allows sequence dependencies to be taken into account.

Application description

The application Reorganize purch. orders, purch. order documents, and purch. order confirmations is used to reorganize purchase orders and all associated purchase order documents and order confirmations. Purchase orders that have been marked for deletion are included. Whether the respective purchase order is actually reorganized depends on the following preconditions.

Note
The reorganization application is executed via the Reorganization jobs application. Further information on this application can be found in the Reorganization jobs article.

Preconditions

The precondition for the reorganization of a purchase order is that it has a deletion marker. Only then will it be taken into account for the reorganization. The following requirements must also be met:

  • The purchase order must have the status Completed
  • The purchase order must not be used as an order template for a supplier
  • Intrastat declaration propositions have been calculated for all existing supplier invoices for the purchase order
  • No receipts of goods may exist for the purchase order
  • No supplier invoices may exist for the purchase order that have the status Released
  • No vouchers may be linked to the purchase order that correspond to the following voucher categories:
    • Picking order
    • Delivery order
    • Receipt of goods

Effects

If the requirements for the reorganization are met, the purchase order is reorganized. The following data of the purchase order to be reorganized is physically deleted:

  • Purchase order header
  • All purchase order line items
  • All business objects belonging to the purchase order that are used for handling base discounts, multi-item discounts, and order value discounts
  • All business objects belonging to the purchase order that are used for handling allocated quantities
  • All purchase order documents created for the purchase order
  • All purchase order document line items created for the purchase order
  • All confirmations entered for the purchase order
  • All confirmation line items entered for the purchase order
  • All entries associated with the purchase order, created for authorizations in the business entities

The supplier and customer invoices associated with the reorganized purchase order are marked. This means that this special status of the missing purchase order is recognized in these vouchers.

The identification (type and number) of the reorganized purchase order, the associated purchase order documents, and purchase order confirmations are each stored together with the GUID in the Voucher reorganization data business entity.

Parameters

The reorganization application has the following parameters:

  • Maximum run time – the maximum run time of a reorganization application is the maximum period of time after which the reorganization application is terminated. The default value is thirty minutes.
  • Export mode – the export mode determines whether and what data is exported for archiving. The following export modes can be selected:
    • Do not export
    • Export all attributes
    • Export with filter – this mode is only available if the export is available in the Export data application

The export mode is only available if the reorganization application allows the data to be archived.

  • Export filter – for the Export with filter export mode, you can use this field to specify an export filter used for archiving the purchase order. The export filter can be created in the Export data application.
    This field is only available if the export of the business objects to be reorganized is possible via the Export data application.
  • Purchase order document export filter – for the Export with filter export mode, you can use this field to specify an export filter used for archiving the purchase order documents. The export filter can be created in the Export data application.
    This field is only available if the export of the business objects to be reorganized is possible via the Export data application.
  • Confirmation export filter – for the Export with filter export mode, you can use this field to specify an export filter used for archiving the purchase order confirmations. The export filter can be created in the Export data application.
    This field is only available if the export of the business objects to be reorganized is possible via the Export data application

Affected business objects

The following business objects are affected by the reorganization:

Reorganized business objects

  • Description: Purchase orders

com.cisag.app.purchasing.obj.PurchaseOrder

  • Description: Purchase order line items

com.cisag.app.purchasing.obj.PurchaseOrderDetail

  • Description: Purchasing line item – cost data allocation

com.cisag.app.purchasing.obj.PurchaseDetailCostingData

  • Description: Purchase order documents

com.cisag.app.purchasing.obj.PurchaseOrderCorrespondence

  • Description: Purchase order document line items

com.cisag.app.purchasing.obj.PurchaseOrderCorrespondenceDetail

  • Description: Purchase order confirmation

com.cisag.app.purchasing.obj.SupplierConfirmation

  • Description: Purchase order confirmation line items

com.cisag.app.purchasing.obj.SupplierConfirmationDetail

  • Description: Document discount information (purchasing)

com.cisag.app.purchasing.obj.PurchaseDocumentDiscount

  • Description: Allocated order quantities

com.cisag.app.general.obj.OrderDetailRelease

  • Description: Document organization authorization

com.cisag.app.multiorg.obj.DocumentOrganizationAuthorization

  • Description: Change in availability

com.cisag.app.inventory.obj.AvailabilityDetail

  • Description: Reservation

com.cisag.app.inventory.reservation.obj.FixedReservation

  • Description: Demand to be reserved

com.cisag.app.inventory.reservation.obj.DemandOrigin

  • Description: Demand line item to be reserved

com.cisag.app.inventory.reservation.obj.DemandOriginDetail

  • Description: Reservation-capable demand coverage

com.cisag.app.inventory.reservation.obj.DemandCoverage

  • Description: Reservation-capable demand coverage line item

com.cisag.app.inventory.reservation.obj.DemandCoverageDetail

Updated business objects

  • Description: Customer invoices

com.cisag.app.sales.obj.CustomerInvoice

  • Description: Supplier invoices

com.cisag.app.purchasing.obj.SupplierInvoice

New business objects

  • Description: Voucher reorganization data

com.cisag.app.general.obj.DocumentReorganizationData

  • Description: Voucher line item reorganization data

com.cisag.app.general.obj.DocumentDetailReorganizationData

Czy ten artykuł był pomocny?