Hello,
I'm working on Sales Order page. I have created two fields in Cust. Ledger Entry table, Address1 & Address2. Then in the Sales Order page I have taken three variables, Address1, Address2 & RecCLE(Record).After that I wrote the following code:
Address1- OnValidate()
RecCLE.RESET;
RecCLE.INIT;
RecCLE.Address1:=Address1;
RecCLE.INSERT;
Address2- OnValidate()
RecCLE.RESET;
RecCLE.INIT;
RecCLE.Address2:=Address2;
RecCLE.INSERT;
After executing the page when I enter the values in those fields, only the first value goes to the Cust. Ledger Entry table that is Address1. But I want to bring both the values in Cust. Ledger Entry table. What should I do next??
I'm working on Sales Order page. I have created two fields in Cust. Ledger Entry table, Address1 & Address2. Then in the Sales Order page I have taken three variables, Address1, Address2 & RecCLE(Record).After that I wrote the following code:
Address1- OnValidate()
RecCLE.RESET;
RecCLE.INIT;
RecCLE.Address1:=Address1;
RecCLE.INSERT;
Address2- OnValidate()
RecCLE.RESET;
RecCLE.INIT;
RecCLE.Address2:=Address2;
RecCLE.INSERT;
After executing the page when I enter the values in those fields, only the first value goes to the Cust. Ledger Entry table that is Address1. But I want to bring both the values in Cust. Ledger Entry table. What should I do next??