Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
debtortrans table: order_ column
06-20-2020, 01:34 AM,
#1
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!
Reply


Messages In This Thread
debtortrans table: order_ column - by HDeriauFF - 06-20-2020, 01:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)