app/models/visma/customer.rb
def enable_factoring
      self.CustomerProfileNo = VISMA_CONFIG['factoring_customer_profile_number']
      self.FormProfileCustNo = VISMA_CONFIG['factoring_form_profile_number']
      self.RemittanceProfileNo = VISMA_CONFIG['factoring_remittance_profile_number']
      self.FactCustomerNo = self.CustomerNo.to_s
    end
# Enable factoring, by setting profiles and factoring customer number
Enable factoring, by setting profiles and factoring customer number
Enable factoring by setting profiles and factoring customer number
def enable_factoring
      self.CustomerProfileNo = VISMA_CONFIG['factoring_customer_profile_number']
      self.FormProfileCustNo = VISMA_CONFIG['factoring_form_profile_number']
      self.RemittanceProfileNo = VISMA_CONFIG['factoring_remittance_profile_number']
      self.FactCustomerNo = self.CustomerNo.to_s
    end
def enable_factoring self . CustomerProfileNo = VISMA_CONFIG [ 'factoring_customer_profile_number' ] self . FormProfileCustNo = VISMA_CONFIG [ 'factoring_form_profile_number' ] self . RemittanceProfileNo = VISMA_CONFIG [ 'factoring_remittance_profile_number' ] self . FactCustomerNo = self . CustomerNo . to_s end
Enable factoring, by setting profiles and factoring customer number
Enable factoring by setting profiles and factoring customer number