Delete Operation in PartnerManager

You can delete one or all trees of one or more element types from the Odette FTP Partner Profile in the Sterling B2B Integrator database.

The command line syntax for the deletecommand is:

PartnerManager –delete all | <selection>

For example, the command –delete lpc=”*” deletes all Logical Partner Contracts with their corresponding Physical Partners. Similarly, the command –delete clid=”*” deletes all CLID information.

You can delete a particular element e from the deletelist L (all elements enumerated in <elementlist>) only if the element can be deleted. An element can be deleted if one of the following conditions is fulfilled:
  • If an Odette FTP Partner Profile has no tree with t as its child directly or indirectly.
  • If there is a tree (t2) in Odette FTP Partner Profile that has t as its child, t2 must belong to the deletelist L.

To illustrate the use of the conditions, from the maximal tree type diagram here, trying to delete only lp_orig using -delete lp=lp_orig command would violate the first condition because lp_orig is a child from tree lpc_3. The first selection criteria lp=lp_orig in command –delete lp=lp_orig,lpc=lpc_3 though violates the first condition, complies with the second condition. lpc_3 cannot be referenced by another element, therefore it complies with the first condition:

The –delete all command deletes the complete Odette FTP Partner Profile without any conditions.

CAUTION:
This command cannot be undone. Ensure a backup of the Odette FTP Partner Profile database configuration (using PartnerManager’s export command) exists before deleting parts of the partner configuration.