<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>These are my notes from when I ran into this issue:</p>
<p># Name: Illegal payby: BILL<br>
# Description: Properly formatted Batch Customer Import file
triggers error: "Illegal payby: BILL" in cust_main.pm<br>
# Expected: Properly formatted import file should not trigger
errors.<br>
# Reproduce: Create Batch Customer Import file with null payinfo
field.<br>
# Affects: .csv Batch Customer Imports in Freeside 4.1<br>
# Cause: Possibly caused by deprecation of the payby field?<br>
# Workaround: modify import module
/usr/share/perl5/FS/cust_main/Import.pm<br>
# Change $payby = 'BILL'; to $payby = ''; in the
relevant elseif section(s) (two single quotes)<br>
# Notes: I'm not quite sure what the programmers intent was when
they set this field to 'BILL'. So I'm not recommending <br>
# this workaround be implemented as a fix. I do wish there
were more comments though.<br>
</p>
<pre class="moz-signature" cols="0">Erreu Gedmon
--
"You see persons and things not as they are but as you are."
-- Anthony De Mello</pre>
<div class="moz-cite-prefix">On 10/14/2017 04:31 PM, Isaac Uban
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CCCAD160B35C49F58F1A59D5ADAE8D03@netops">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 11.00.9600.18817">
<div><font face="Calibri">Trying to import customer list (Extended
plus Company) and I'm getting <font color="#ff0000" size="4">Error:
can't insert customer: Illegal payby: BILL </font></font></div>
<div> </div>
<div><font face="Calibri">Ive checked formatting and it looks fine
to me. </font></div>
<div><font face="Calibri">I have been told this issue has been
fixed in 4.3 however I'm running 4.2 and don't know how to
upgrade.</font></div>
<div> </div>
<div><font face="Calibri">Any help would be greatly appreciated.</font></div>
<div> </div>
<div><font face="Calibri">Thanks,</font></div>
<div> </div>
<div><font face="Calibri">Isaac</font></div>
<div> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
freeside-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a>
<a class="moz-txt-link-freetext" href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users">http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a>
</pre>
</blockquote>
<br>
</body>
</html>