app/models/visma/customer.rb
# Disable factoring, by setting profiles to default (1) and removing
# factoring customer number
Disable factoring, by setting profiles to default (1) and removing
factoring customer number
Disable factoring by setting profiles to default ( 1 ) and removing factoring customer number
def disable_factoring
      self.CustomerProfileNo = 1
      self.FormProfileCustNo = 1
      self.RemittanceProfileNo = 1
      self.FactCustomerNo = nil
    end
def disable_factoring self . CustomerProfileNo = 1 self . FormProfileCustNo = 1 self . RemittanceProfileNo = 1 self . FactCustomerNo = nil end
Disable factoring, by setting profiles to default (1) and removing
factoring customer number
Disable factoring by setting profiles to default ( 1 ) and removing factoring customer number