Class POFromXMLGen

java.lang.Object
org.brerp.sped.nfe.grid.POFromXMLGen

public class POFromXMLGen extends Object
  • Field Details

    • log

      public static CLogger log
      Logger
    • doc

      public Document doc
    • C_DocType_ID

      public Integer C_DocType_ID
    • LBR_TransactionType

      public String LBR_TransactionType
    • description

      public String description
    • LBR_OwnDateDelivered

      public Timestamp LBR_OwnDateDelivered
    • docAction

      public String docAction
    • xmlDocumentNo

      public String xmlDocumentNo
    • xmlIssueDate

      public String xmlIssueDate
    • xmlTotalLinesAmt

      public String xmlTotalLinesAmt
    • xmlGrandTotal

      public String xmlGrandTotal
    • xmlInfo

      public String xmlInfo
    • xmlStatus

      public String xmlStatus
    • xmlStatusCode

      public String xmlStatusCode
    • xmlNFeID

      public String xmlNFeID
    • xmlOrgName

      public String xmlOrgName
    • xmlOrgCPF

      public String xmlOrgCPF
    • xmlOrgCNPJ

      public String xmlOrgCNPJ
    • xmlOrgLocation

      public String xmlOrgLocation
    • xmlBPartnerName

      public String xmlBPartnerName
    • xmlBPartnerCPF

      public String xmlBPartnerCPF
    • xmlBPartnerCNPJ

      public String xmlBPartnerCNPJ
    • xmlBPartnerLocation

      public String xmlBPartnerLocation
    • C_BPartner_ID

      public Integer C_BPartner_ID
    • C_BPartner_Location_ID

      public Integer C_BPartner_Location_ID
    • AD_Org_ID

      public Integer AD_Org_ID
    • xmlProductMap

      protected Map<String,POFromXMLGen.XMLProductInfo> xmlProductMap
  • Constructor Details

    • POFromXMLGen

      public POFromXMLGen()
  • Method Details

    • cmd_save

      public String cmd_save()
    • processUploadMedia

      protected void processUploadMedia(org.zkoss.util.media.Media media) throws Exception
      Throws:
      Exception
    • refreshXMLInfo

      protected String refreshXMLInfo()
    • getPresumedProducts

      protected void getPresumedProducts()
    • validateMandatoryFields

      protected String validateMandatoryFields()
    • getTaxes

      public static Object[] getTaxes(Properties ctx, MLBRDocFiscalLine ol, String trxName)
      Retorna o registro do imposto baseado na pesquisa Não usar este método em Callouts, pois a Callout pode acioná-lo antes que a linha tenha sido salva.
      Parameters:
      ctx - context
      ol - line
      trxName - transaction name
      Returns:
      Object Array (Taxes, Legal Msg, CFOP and CST)