Jump to content

Add new field to orders and order_details


iijb

Recommended Posts

Hi all,

 

I added two fileds branch_code and batch_no to stock_available table. These two fields will update on new stock entry. I also created branch_code field to orders table and a batch_no to order_details table. 

 

I would like to insert branch_code( to orders table) and batch_no (to order_details table) when placing a new order. But I cant find any INSERT code for adding to orders table and order_details table for adding a new order. Please help me for how can I do it.

 

Thanks in advance

iijb

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...