Package org.brerp.sped.nfe.model
Class MCOFConfiguracaoFiscal
java.lang.Object
org.compiere.model.PO
org.brerp.sped.nfe.model.X_COF_ConfiguracaoFiscal
org.brerp.sped.nfe.model.MCOFConfiguracaoFiscal
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_ConfiguracaoFiscal
,I_Persistent
,Evaluatee
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.brerp.sped.nfe.model.I_COF_ConfiguracaoFiscal
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_cof_AliquotaCOFINS, COLUMNNAME_cof_AliquotaPIS, COLUMNNAME_COF_ConfiguracaoFiscal_ID, COLUMNNAME_COF_ConfiguracaoFiscal_UU, COLUMNNAME_COF_CSTCOFINS_ID, COLUMNNAME_COF_CSTICMS_ID, COLUMNNAME_COF_CSTIPI_ID, COLUMNNAME_COF_CSTPIS_ID, COLUMNNAME_COF_IsAjustarCOFINS, COLUMNNAME_COF_IsAjustarICMS, COLUMNNAME_COF_IsAjustarIPI, COLUMNNAME_COF_IsAjustarPIS, COLUMNNAME_COF_IsCreditarCOFINSCusto, COLUMNNAME_COF_IsCreditarICMSCusto, COLUMNNAME_COF_IsCreditarImpostosCusto, COLUMNNAME_COF_IsCreditarIPICusto, COLUMNNAME_COF_IsCreditarPISCusto, COLUMNNAME_COF_IsDeduzirICMSBCCOFINS, COLUMNNAME_COF_IsDeduzirICMSBCPIS, COLUMNNAME_COF_IsForcarCOFINS, COLUMNNAME_COF_IsForcarPIS, COLUMNNAME_COF_IsSobrescreverAliquotaCOFINS, COLUMNNAME_COF_IsSobrescreverAliquotaPIS, COLUMNNAME_COF_IsSobrescreverBCCOFINS, COLUMNNAME_COF_IsSobrescreverBCPIS, COLUMNNAME_COF_IsSobrescreverCSTCOFINS, COLUMNNAME_COF_IsSobrescreverCSTICMS, COLUMNNAME_COF_IsSobrescreverCSTIPI, COLUMNNAME_COF_IsSobrescreverCSTPIS, COLUMNNAME_COF_IsZerarAliquotaICMS, COLUMNNAME_COF_IsZerarAliquotaIPI, COLUMNNAME_COF_IsZerarValorBaseICMS, COLUMNNAME_COF_IsZerarValorBaseIPI, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_LBR_CFOP_ID, COLUMNNAME_LBR_NCM_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionMCOFConfiguracaoFiscal
(Properties ctx, int COF_ConfiguracaoFiscal_ID, String trxName) MCOFConfiguracaoFiscal
(Properties ctx, int COF_ConfiguracaoFiscal_ID, String trxName, String... virtualColumns) MCOFConfiguracaoFiscal
(Properties ctx, String COF_ConfiguracaoFiscal_UU, String trxName) MCOFConfiguracaoFiscal
(Properties ctx, String COF_ConfiguracaoFiscal_UU, String trxName, String... virtualColumns) MCOFConfiguracaoFiscal
(Properties ctx, ResultSet rs, String trxName) -
Method Summary
Modifier and TypeMethodDescriptionstatic MCOFConfiguracaoFiscal
get
(MLBRDocFiscalLine linhaDocumentoFiscal) Este método realiza a busca da Configuração Fiscal (MCOFConfiguracaoFiscal
) com base em uma Linha de Documento Fiscal.static MCOFConfiguracaoFiscal
get
(MInvoiceLine linhaFatura) Este método realiza a busca da Configuração Fiscal (MCOFConfiguracaoFiscal
) com base em uma Linha de Fatura.Methods inherited from class org.brerp.sped.nfe.model.X_COF_ConfiguracaoFiscal
get_AccessLevel, getC_BPartner, getC_BPartner_ID, getcof_AliquotaCOFINS, getcof_AliquotaPIS, getCOF_ConfiguracaoFiscal_ID, getCOF_ConfiguracaoFiscal_UU, getCOF_CSTCOFINS_ID, getCOF_CSTICMS_ID, getCOF_CSTIPI_ID, getCOF_CSTPIS_ID, getLBR_CFOP_ID, getLBR_NCM_ID, initPO, isCOF_IsAjustarCOFINS, isCOF_IsAjustarICMS, isCOF_IsAjustarIPI, isCOF_IsAjustarPIS, isCOF_IsCreditarCOFINSCusto, isCOF_IsCreditarICMSCusto, isCOF_IsCreditarImpostosCusto, isCOF_IsCreditarIPICusto, isCOF_IsCreditarPISCusto, isCOF_IsDeduzirICMSBCCOFINS, isCOF_IsDeduzirICMSBCPIS, isCOF_IsForcarCOFINS, isCOF_IsForcarPIS, isCOF_IsSobrescreverAliquotaCOFINS, isCOF_IsSobrescreverAliquotaPIS, isCOF_IsSobrescreverBCCOFINS, isCOF_IsSobrescreverBCPIS, isCOF_IsSobrescreverCSTCOFINS, isCOF_IsSobrescreverCSTICMS, isCOF_IsSobrescreverCSTIPI, isCOF_IsSobrescreverCSTPIS, isCOF_IsZerarAliquotaICMS, isCOF_IsZerarAliquotaIPI, isCOF_IsZerarValorBaseICMS, isCOF_IsZerarValorBaseIPI, setC_BPartner_ID, setcof_AliquotaCOFINS, setcof_AliquotaPIS, setCOF_ConfiguracaoFiscal_ID, setCOF_ConfiguracaoFiscal_UU, setCOF_CSTCOFINS_ID, setCOF_CSTICMS_ID, setCOF_CSTIPI_ID, setCOF_CSTPIS_ID, setCOF_IsAjustarCOFINS, setCOF_IsAjustarICMS, setCOF_IsAjustarIPI, setCOF_IsAjustarPIS, setCOF_IsCreditarCOFINSCusto, setCOF_IsCreditarICMSCusto, setCOF_IsCreditarImpostosCusto, setCOF_IsCreditarIPICusto, setCOF_IsCreditarPISCusto, setCOF_IsDeduzirICMSBCCOFINS, setCOF_IsDeduzirICMSBCPIS, setCOF_IsForcarCOFINS, setCOF_IsForcarPIS, setCOF_IsSobrescreverAliquotaCOFINS, setCOF_IsSobrescreverAliquotaPIS, setCOF_IsSobrescreverBCCOFINS, setCOF_IsSobrescreverBCPIS, setCOF_IsSobrescreverCSTCOFINS, setCOF_IsSobrescreverCSTICMS, setCOF_IsSobrescreverCSTIPI, setCOF_IsSobrescreverCSTPIS, setCOF_IsZerarAliquotaICMS, setCOF_IsZerarAliquotaIPI, setCOF_IsZerarValorBaseICMS, setCOF_IsZerarValorBaseIPI, setLBR_CFOP_ID, setLBR_NCM_ID, toString
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.brerp.sped.nfe.model.I_COF_ConfiguracaoFiscal
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
MCOFConfiguracaoFiscal
-
MCOFConfiguracaoFiscal
public MCOFConfiguracaoFiscal(Properties ctx, int COF_ConfiguracaoFiscal_ID, String trxName, String... virtualColumns) -
MCOFConfiguracaoFiscal
-
MCOFConfiguracaoFiscal
public MCOFConfiguracaoFiscal(Properties ctx, String COF_ConfiguracaoFiscal_UU, String trxName, String... virtualColumns) -
MCOFConfiguracaoFiscal
-
-
Method Details
-
get
Este método realiza a busca da Configuração Fiscal (MCOFConfiguracaoFiscal
) com base em uma Linha de Documento Fiscal. A busca respeita a seguinte ordem de prioridade:
1) AD_Org_ID + LBR_CFOP_ID + LBR_NCM_ID + C_BPartner_ID
2) AD_Org_ID + LBR_CFOP_ID + LBR_NCM_ID
3) AD_Org_ID + LBR_CFOP_ID + C_BPartner_ID
4) AD_Org_ID + LBR_CFOP_ID- Parameters:
linhaDocumentoFiscal
-- Returns:
- uma instância da
MCOFConfiguracaoFiscal
que se enquadre nos parâmetros da ordem de prioridade destacada anteriormente.null
caso o registro não seja encontrado.
-
get
Este método realiza a busca da Configuração Fiscal (MCOFConfiguracaoFiscal
) com base em uma Linha de Fatura. A busca respeita a seguinte ordem de prioridade:
1) AD_Org_ID + LBR_CFOP_ID + LBR_NCM_ID + C_BPartner_ID
2) AD_Org_ID + LBR_CFOP_ID + LBR_NCM_ID
3) AD_Org_ID + LBR_CFOP_ID + C_BPartner_ID
4) AD_Org_ID + LBR_CFOP_ID- Parameters:
linhaFatura
-- Returns:
- uma instância da
MCOFConfiguracaoFiscal
que se enquadre nos parâmetros da ordem de prioridade destacada anteriormente.null
caso o registro não seja encontrado.
-