on 07-16-2008 9:46 AM
hi experts
I want to put DocDate and TaxDate into payments form how to do this.
i tried to add like this
no form load
Form frm = APL_Form.Polaczenie.pApp.Forms.GetFormByTypeAndCount(pVal.FormType,pVal.FormTypeCount);
(frm.Items.Item("10").SPecific as editText ).Value="15/04/08";
but it doesn`t work.
i also tried to add this data by DataSources.
this is in ORCT.DocDate
Regards
Edited by: Michal Wieczorek on Jul 16, 2008 10:46 AM
Dear Michal,
The payments form means the Payment Means form?
Best Regards
Jane Jing
SAP Business One Forums team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michal,
If pVal.FormType = "170" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.Before_Action = False Then
Try
oform = sbo_Application.Forms.GetFormByTypeAndCount(170, 1)
oform.Items.Item("10").Specific.value = "20080719"
oform.Items.Item("90").Specific.value = "20080719"
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
1) date has to be entered in yyyymmdd format.
2) exchange rate has to be updated for the date that you are passing. or else a window for the same will open.
HTH
Binita
Edited by: Binita Joshi on Jul 16, 2008 12:08 PM
Hi,
I have also same problem. How to add button,label,textbox on the system form.
I read this code but this where i want to write ?
I have created one screen painter form and this form i attach to SAP through .Net. By this in SAP i create our own one menu and in this i attach form.
No i want also in BusinessPartnerMasterData system form add new button.
Then for this what i do and where i write this code ?
Plz tell me step by step.
Thanks
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.