Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need some help 1

Status
Not open for further replies.

sara403

Technical User
Jun 10, 2008
58
IN
I need your help to see how we can do it in SDKWe will add a new miscellaneous charge item called “VIP discount”
Create a user defined field “VIPdiscnt” in Customer file to define what customer get what discount
When user select “VIP discount” miscellaneous charge, we will read from the corresponding VIPdiscnt field of the customer, multiply by the subtotal of the entire order amount, insert this value to this VIP discount miscellaneous charge instead of for user to calculate
Please find out from the existing SDK on how to modify OE screen and apply this customization
 
You don't need the SDK for something like this. Just drop the OE1100 OCX onto a forum, then watch the OEORDD datasource via the OnRecordChanging event.
 
Hi tuba2007,

Thanks for your valuable reply. I identified the ocx. what i did was i created a blankform and put the ocx into that form while i convert that into Ocx, which runs properly in VB runtime But adding this ocx in the accpac folder i am unable to see the controls

i don't know what the mistake i did
please help me
Thanks
Sara403
 
You have to compile it into an executable, then attach that to the desktop.
 
Hi tuba2007,

I have one more doubt. How can I place the textbox in the form then i calculate it, if it is possibe or not. I am hoping you had a solution to my problem.

Thanks

Saravana bavan.T
 
Hi

I attach the DISCOUNT optional field to the ORDER ENTRY screen.whether the ORDER can be tagged against CUSTOMER NO? .Every customer has Different optional field value.
i want the details for the Discount is applied to the entire order.

I am hoping someone’s has a solution to my problem.

Thanks

Saravanabavan.T
 
Judging by your questions, I think you will better off using Contract Pricing.
 
Hi tuba2007,

I had change the caption of the first tab of the order entry screen using the following code.

Private Sub AccpacOE1100UICtrl1_OnUIAppOpened()
AccpacOE1100UICtrl1.UIAppControls("stborderentry").Caption = "Sales Order"
end sub
Actually i have to change the caption of the Fourth tab.
I dont know how to do that

Please help me

Thanks
Saravanabavan.T



 
Hi tuba2007,

Thanks for your Reply, How can i traced the event in order entry screen after clicking the Customer Number selection?.(In Vb Text_box lostfocus) Because i want retrieve the value for the optional fields. I created optional field for customer and assign different value to. if you had any solution pls reply me

Thanks

Saravanan
 
Hi Everyone,

I want to fetch all the records from the OEO520 view. I used the code is Do while .fetch. But when excuting the line, skip to cancel. Please any one can help me. I want retrieve the records what are the order is not shipped. Please Help Me

Thanks
saravanan

 
If you want to know what is shipped, you have to browse OE0500, too.

OE0520.Browse "",True
Do while oe0520.fetch
oe0500.cancel
oe0500.browse "ORDUNIQ = " & OEO520.fields("orduniq") & " and qtyshipped = 0",True
do while oe0500.fetch
etc.,
etc.
 
Hi tuba2007,

Thanks for your valuable Reply, I used the below code
Dim Session As ACCPACXAPILib.xapiSession
Set Session = CreateObject("ACCPAC.xapisession")
Session.Open "ADMIN", "ADMIN", "FANDAT", Date, 0
Dim ARCUSTOMER As ACCPACXAPILib.xapiView
Set ARCUSTOMER = Session.OpenView("OE0520", "OE")
With ARCUSTOMER
.Init
.Order = 0
.Browse "", True ' All the records value
Do While .Fetch
MSFOrder.Rows = MSFOrder.Rows + 1
MSFOrder.TextMatrix(MSFOrder.Rows - 1, 0) = Trim(.Fields("ORDNUMBER").Value)
MSFOrder.TextMatrix(MSFOrder.Rows - 1, 2) = Trim(.Fields("ORDDATE").Value)
MSFOrder.TextMatrix(MSFOrder.Rows - 1, 4) = Trim(.Fields("CUSTOMER").Value)
MSFOrder.TextMatrix(MSFOrder.Rows - 1, 6) = Trim(.Fields("PONUMBER").Value)


Loop
.Cancel
End With


But when executing the line Do while .fetch the controls is transfered to cancel. What i did was wrong. Please help me.

Thanks

Saravanan.T
 
I don't know why you did a .Init, that's for creating new orders. Just do a .Cancel at the start.
 
Hi tuba2007,

Do you know the details of the Invoice History, Payment History, Delivery History and Po History details of the AAS5.4. If u know pls reply to me.

Thanks
Saravanan

 
Hi tuba2007,

i want to know the 'View id' of the Invoice History, Payment History, Delivery History and Po History of the AAS5.4.

Thanks
Saravanan







 
1. Invoices from which module?
2. Payments: AP0027
3. Deliveries from OE, IC or PO?
4. PO History: PO0611, PO0612, PO0613, and PO0614
 
Click Start, Run
Type in AccpacViewInfo and press Enter
Start exploring
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top