You need to sign in to do that
Don't have an account?
himanshu huske 7
Task On Amount Transaction
Please Help Me With VisualForce Code:
I have Customer__c object, it has First_Name__c Last_Name__c field.
Also i have another transaction__c object which is child of Customer__c object having lookup relationship, In transaction__c object i have AmountBalance__c field and AmountTransfer__c field,
My requirement is i want to create custom button on transaction__c, and on clicking this button vf page should be open, on that page i will have lookup field of customer__c to which amount is to be transfered, also there is Submit button, on clicking submit button mail should be sent to Customer__c with otp, There is also a field for otp in transaction__c object if otp matches amount will be deducted from Customer.
Eg: Customer1 has 10000/- balance if 5000/- are transfered to customer2, customer1 should have 5000 in balance
I have Customer__c object, it has First_Name__c Last_Name__c field.
Also i have another transaction__c object which is child of Customer__c object having lookup relationship, In transaction__c object i have AmountBalance__c field and AmountTransfer__c field,
My requirement is i want to create custom button on transaction__c, and on clicking this button vf page should be open, on that page i will have lookup field of customer__c to which amount is to be transfered, also there is Submit button, on clicking submit button mail should be sent to Customer__c with otp, There is also a field for otp in transaction__c object if otp matches amount will be deducted from Customer.
Eg: Customer1 has 10000/- balance if 5000/- are transfered to customer2, customer1 should have 5000 in balance