You need to sign in to do that
Don't have an account?
anil.ax822
Generate next 6 months bases on the present month in drown list
i have 1 drop down list , i have generated months according to billing entries
vat i want is when i click on the month in drop down list it has to Generate next 6 mnths including present mnth
anyone pllllz help me
txs in advancee..........
Is it your problem like
when you select January in dropdown ...you want January + 5 Months =July/Jun as output ?
if yes then use simple javascript functions
Thanks,
B
i have a custom object billing period which consist of billing months when ever i select one month it shold generate next 5 mnths which are in dropdown list
ex:
if i select jan it should print next 6 mnths
ok
txs 4 ur rply
Hi Anil,
You can use the 'addMonths(Integer)' method to fetch the next month value.
i.ie.
if you want next month of the current Month,
Integer MonthPlus1 = Date.today().addMonths(1).month();
Hope this helps.
actually month is not from javascript ,i have a cutom oject billingperiod which consist of months ie
mar10,sep10,aug10,if i select mar10 it should disaply mar10,sep10,aug10
month is not from like normal months it is a custom object value
billling period object:
billing period name:
anmount:
based on the billing period name ie month display next months
note that month is a custom object value
ok
txs for reply
Anil,
Means,Standard DateTime Fields are not coming in picture anywhere,
Treat your monthvalue as Text and put your Custom Logic to get next SiX MONTH VALUE
Thanks,
Bala
can anyone give sample code plzzzzzzzzzzzz
Billing period object consist of billing period name(month) and amount
when i click month in dropdown list it needs to generate 6 months or next months which are avaialble in billing period object
plz note that month is not a normal one it is a custom object valueeee
plllllllz help
Anil,
post your requirement in more detail way,
Also post VF page code and controller code , Expect bit delay in reply
Thanks,
Bala