Module trase.tools.pcs.supply_chains.flows.attributes.delete

Functions

def delete_flow_inds(ind_id, ref_id, autocommit=True, cnx=None, cur=None)

This function deletes all embedded values of ind flows with given ref_id.

ind_id – 'inds.id' in core database ref_id – 'refs.ref_id' in core database, refs of flows to embed with.

cnx – Core database connection object cur – Core database cursor object

def delete_flow_quals(qual_id, ref_id, autocommit=True, cnx=None, cur=None)

This function deletes all embedded values of qual flows with given ref_id.

qual_id – 'quals.id' in core database ref_id – 'refs.ref_id' in core database, refs of flows to embed with.

cnx – Core database connection object cur – Core database cursor object

def delete_flow_quants(quant_id, ref_id, autocommit=True, cnx=None, cur=None)

This function deletes all embedded values of quant flows with given ref_id.

quant_id – 'quants.id' in core database ref_id – 'refs.ref_id' in core database, refs of flows to embed with.

cnx – Core database connection object cur – Core database cursor object