debtortrans table: order_ column
Hi Folks
Could you please bring more light to the purpose of the order_ field used by the debtortrans table?
I'm currently writing a script that automates the receipt and allocation creation after we upload an authoriznet csv file and need to make sure I fully understand what is passed in the following query from CustomerReceipt.php (around line 445):
INSERT INTO debtortrans (transno, type, debtorno, branchcode, order_, trandate, inputdate, prd, reference, tpe, rate, ovamount, ovdiscount, invtext, salesperson)
Would it be correct to assume that within a given banktrans identified by transno that contains n debtortrans with this transno, each debtortrans must have a unique order_ ?
May I just loop through n transactions by incrementing order_ from 0 to n?
Thanks!
|