Class s.d.f.FiscalBookEntry(Domain):

Part of stoqlib.domain.fiscal View In Hierarchy

No class docstring
Class Method has_entry_by_payment_group Undocumented
Class Method get_entry_by_payment_group Undocumented
Class Method _create_fiscal_entry Undocumented
Class Method create_product_entry Creates a new product entry in the fiscal book
Class Method create_service_entry Creates a new service entry in the fiscal book
Method reverse_entry Undocumented

Inherited from Domain:

Method __init__ Undocumented
Method _create Undocumented
Method user Undocumented
Class Method iselect Like select, but search on the adapter implementing the interface iface
Class Method iselectBy Like selectBy, but search on the adapter implementing the interface iface
Class Method iselectOne Like selectOne, but search on the adapter implementing the interface iface
Class Method iselectOneBy Like selectOneBy, but search on the adapter implementing the interface iface
Class Method iget Like get, but gets on the adapter implementing the interface iface

Inherited from AbstractModel (via Domain, BaseDomain):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method _SO_setValue Undocumented
Method clone Get a persistent copy of an existent object. Remember that we can
Method get_connection Undocumented

Inherited from AdaptableORMObject (via Domain):

Class Method registerFacet Registers a facet for class cls.

Inherited from Adaptable (via Domain, AdaptableORMObject):

Class Method getFacetType Fetches a facet type associated with an interface, or raise
Class Method getFacetTypes Returns facet classes for this object
Method addFacet Adds a facet implementing iface for the current object
Method removeFacet Removes a facet from the current object
Method getFacets Gets a list of facets assoicated with the current object.
@classmethod
def has_entry_by_payment_group(cls, conn, payment_group, entry_type):
Undocumented
@classmethod
def get_entry_by_payment_group(cls, conn, payment_group, entry_type):
Undocumented
@classmethod
def _create_fiscal_entry(cls, conn, entry_type, group, cfop, invoice_number, iss_value=0, icms_value=0, ipi_value=0):
Undocumented
@classmethod
def create_product_entry(cls, conn, group, cfop, invoice_number, value, ipi_value=0):
Creates a new product entry in the fiscal book
Parametersconna database connection
grouppayment group (type: PaymentGroup )
cfopcfop for the entry (type: CfopData )
invoice_numberpayment invoice number
valuevalue of the payment
ipi_valueipi value of the payment
Returnsa fiscal book entry (type: FiscalBookEntry )
@classmethod
def create_service_entry(cls, conn, group, cfop, invoice_number, value):
Creates a new service entry in the fiscal book
Parametersconna database connection
grouppayment group (type: PaymentGroup )
cfopcfop for the entry (type: CfopData )
invoice_numberpayment invoice number
valuevalue of the payment
Returnsa fiscal book entry (type: FiscalBookEntry )
def reverse_entry(self, invoice_number):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.