fileman922 Posted September 24, 2015 Posted September 24, 2015 Hello , im trying to send cancelled invoices to credit memo table with all the line items. What im trying to do is duplicate line items with negative values (negative values is to keep real inventory) but my loop is not working , it only duplicates the first row. Please let me know how do you deal with this ?
bcooney Posted September 24, 2015 Posted September 24, 2015 Well, in my solution, the credit memos and invoices are in the same table, just with negative quantities. Anyway, post your script. You're obviously not looping thru the line items correctly. You could also import from one table to the other. (If you keep the extra tables).
Recommended Posts
This topic is 3694 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now