Edit "Copy From button" on A/R Invoice
Hi
I've added two extra Forms "Loading" & "Unloading" under A/R Invoice . This is not the problem.
The problem is---
I want to get the "Copy from Unloading" dropdown after clicking the Copy From button on A/R Invoice Form.
Rgds
Subrata
Hello,
(I didn't understand the answer. Would I solve the following problem by that answer?)
I've made a form for Unloading of goods.
Now I have to copy the details of the form from "Unloading Form" to
"A/R Invoice" .
So, I've to add one item "Unloading" with others-"Sales Quotaions", "Sales Orders" , "Deliveries" in the "Copy From" button of A/R Invoice Form.
Is it possible?
If yes, then How?
Rgds
Subrata
Similar Messages
-
Copy From Button similar to Purchase Order
Dear Members,
I have a user defined for named Quotation. I want to create a Copy from button in Purchase Order through coding, similar to those present in sale order and copy the contents in quotation to Purchase Order.
Please send some sample coding to create a Copy From button in Purchase Order , and to list my user defined form quotation,
similar to present in sale order Copy to A/R Invoice.
Help will be appreciated to solve this issue.
Thanks and Regards,
Venkatesh.Rcould somebody explain me why cannot text in code format and its in one line? - i cannot insert the code for few weeks. thx
Enable email in your profile and Ill send the code to email - i cannot insert it here.
Edited by: Petr Verner on Jul 24, 2009 10:22 AM
If pVal.FormTypeEx = "142" And pVal.BeforeAction And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then
Dim oform As SAPbouiCOM.Form
oform = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
oform.Items.Add("combo", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
oform.Items.Add("button", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
Dim oitem As SAPbouiCOM.Item
Dim obutton As SAPbouiCOM.Button
Dim ocombo As SAPbouiCOM.ComboBox
oitem = oform.Items.Item("combo")
oitem.Left = -1 * oform.Items.Item("10000329").Left - 100
oitem.Top = 399
oitem.Width = 100
ocombo = oitem.Specific
ocombo.ValidValues.Add("1", "First")
ocombo.ValidValues.Add("2", "Seccond")
oitem = oform.Items.Item("button")
oitem.Width = 100
oitem.Left = oform.Items.Item("10000329").Left - 100
oitem.Top = 400
obutton = oitem.Specific
obutton.Caption = "Copy From"
End If
If pVal.ItemUID = "button" And pVal.FormTypeEx = "142" And pVal.BeforeAction = False And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
Dim oform As SAPbouiCOM.Form
oform = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
Dim oitem As SAPbouiCOM.Item
Dim ocombo As SAPbouiCOM.ComboBox
oitem = oform.Items.Item("combo")
oitem.Left = oform.Items.Item("10000329").Left - 100
ocombo = oitem.Specific
oitem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)
oitem = oform.Items.Item("button")
oitem.LinkTo = "combo"
oitem.Update()
End If
Edited by: Petr Verner on Jul 24, 2009 10:31 AM -
Simulate Copy-From Button Click on Delivery Document
Hi Friends,
How can I 'programmatically' click on Copy From button, and then select the Sales Order?
(I could get a forum post to capture the Copy From button click in the delivery document, but I want to do clicking also programmatically)
I could click on the Copy-From button programmatically.
After that, till I manually click on "Sales Order", control is not returned to the program (It acts similar to a message box:( )
Do you know any ways to acheive it?
Thanks.
Regards,
GeethaHello Rajkumar,
I came upon this thread but did not find it to be quite complete (and see that you were looking for a similar answer). I just wanted to let you know how I am using "Copy To" to copy a Sales Order into an A/R Invoice. I realize you are desiring a "Copy From" but I believe the steps will be the same (and believe others will value seeing this). I know there is discussion above that the copy to is a matrix but I found the simplest approach is to just treat it like a combobox. Here is my code in C#:
// Declare my variables
SAPbouiCOM.Form oForm = null;
SAPbouiCOM.Item oItem = null;
SAPbouiCOM.ComboBox oCombo = null;
// Set my form to the currently active form
oForm = SBO_Application.Forms.ActiveForm;
// Simulate a "Click" on the Copy To (for A/R Invoice)
oItem = oForm.Items.Item("10000329"); // This is the Item Number for Copy To
oCombo = (SAPbouiCOM.ComboBox)oItem.Specific;
oCombo.Select("A/R Invoice", SAPbouiCOM.BoSearchKey.psk_ByDescription); //If I want to copy to an A/R Down Payment, I simply change the "A/R Invoice" to "A/R Down Payment"
In short, by using the combo and "Selecting" the parameter I want, my belief is that SAP automatically initiates the remainder of the work. Hope this helps you (and others). -
How to disable and hide the menu items of 'copy From' button of Goods Recei
hi expert,
I am new in SAP B1. so please help me.
Q:How to disable and hide the menu items of 'copy From' button of Goods Receipt PO form?
Regards
sanojHi Sanoj,
Try This.....
If pVal.FormType = "143" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
Dim oitem As SAPbouiCOM.Item
oitem = oform.Items.Item("10000330")
'To Disable the button
oitem.Enabled = False
'To hide the button
'oitem.Visible = False
End If
Thanks
Shafi
Edited by: shafi_sunshine on Sep 15, 2011 7:35 AM -
Copy from a closed A/R invoice to a A/R Credit Memo.
Hello Forum,
I have a closed A/R invoice that is paid up.
Now, if the customer returns that item, I would create an A/R Credit Memo and pull up from the above A/R Invoice. However, SAP B1 8.8 does not allow copy from a closed A/R invoice. In that copyfrom list only the open A/R invoice show up.
Is this how it has always been, or am I missing something here.
Basically my need is to be able to create a A/r Credit Memo from a closed A/R invoice. Without this, we have to enter items one by one, rather than be able to copy them all and remove the ones we don't want returned. Right?
Thank you.Hi Syed,
It had been always like that, from version 2004 until latest version. Never used version prior to 2004, but I believe it should be the same case. The reason is quite simple, closed Invoice couldn't be credited again with a credit memo document. However I understand that your intention here only to copy all item (as a template only), but that's not how SAP B1 worked.
Best Regards,
Hendry Wijaya -
How to get Reference Doc from copy from button
Hi..
I would like to know if there is a way to get the source document or reference document number with-out sdk or add on development , if you used the copy from button to populate the data?
sample
in order entry you can populate the data by using the copy button then choose sales quotation, then using formatted search or select statement could i get the source documents (sales quotation number)..
thanks
LorenHi Loren,
If you need to get the BaseRef field before saving the document you can use the screen reference in your query:
SELECT $[$38.44.0]
Just selects the BaseDocument reference number from a row. You may want to also use:
SELECT $[$38.43.0]
To get the Base Document Type (sales quotation, delivery etc.)
Bob Richardson -
Hi
I am using DI API 8.8 and .net 2.0 to create addon.
I have created a COPY FROM button combo with values SALES QUOTATION and SALES ORDER in my user defined form.
I am also able to handle the event for that.
I want to copy the data from SALES ORDER when i select SALES ORDER. How to do this?Hello,
Quickly added some pseudocode, search the forum for more specified code.
Documents SalesQuotation = (Documents) company.getObject(.....)
salesorder.getbyKey(salesquoteDocEntry);
SalesQuotation .saveXML(XMLSTREAM)
// Change values in the xmlfile in the XMLSTREAM
Documents Salesorder = (Documents) company.getObject (.....)
Salesorder.getAsXml(XMLSTREAM)
HTH Regards Teun -
Copy from Options on A/P invoice for purchase orde is not working all time
Hi Expert,
Currently we are using SAP Business one 8.81 PL09 upgraded from PL05
Even after the upgrade, we still having problems with the purchase orders. When I go
into the A/P invoice and try to copy the purchase order over, it doesn't list any
purchase orders which was already added . As soon as we bring up the purchase order and then copy it into a A/P
invoice, then all purchase orders work like they are supposed to. What do I need to do
to fix this?
Thanks
Arun K Singh
Edited by: Arun Singh on Dec 29, 2011 2:52 AMDear Arun,
try following scenario,
1) Create one purchase order with only one Non excisable item with non Excisable warehouse and try to add A/p.
2) With same Vendor try to create excisable item and with Excisable warehouse and try to create A/p.
As per me need to work 1st scenario.
But in second scenario system not allow you to create A/p invoice directly without GRPo and excised invoice.
Try and let me know.
REGARDS
MANGESH PAGDHARE -
Create a button similar like "Copy To" button in A/P Invoice in Customised
I have created a customised form using SDK and want to create a "Copy To" present in A/P Invoice Form for copying data from one customised form to another customised form .Is it possible to create that button using SDK .
Amit Sharma
This question should be asked in category SAP Business One SDK session -
Version with "copy to" and "copy from" button
Hello,
in which version/SP/PL was the buttons included with "copy from" and "copy to" in quotation, order,...?
Thanks
JohannHi Johnn,
I think these options are there in SBO from Patch 28 onwards.
Regards
Raja.S -
Text lines - won't copy from order to deliver to invoice.
Our client has upgraded from 2007 to 8.8 pl 14
When they copy from an order to deliver the text lines are just not copied. Same applies from delivery to invoice.
Has anyone else experienced this issue.
Has anyone got any ideas as to how I can fix this.
Thanks
JoHi Jo,
I tried that on PL 15 and it works fine for me. Is there, by any chance, a formatted search assigned to that field?
Regards
Sudatt -
Create a Similar Function of COPY TO and COPY FROM buttons
Hi you all.
I'm developing an small add-on. I add a new button in the Good Receipt PO form (143) that will copy all lines of this document to the Delivery form (140).
The thing is that I was able to add the button and open the form once I click on it, but I don´t know how to copy the lines from one form to the other. I don't need to copy the document´s head information because the Good Receipt PO works with Vendors and the Delivery works with Customers.
If you could help me with this, I'd really appreciate.
Thanks in advance
RegardsHi Jose
Maybe this blog will be helpful:
Simple Sample Blog - UI API Matrix SerializeAsXML Method
Kind regards,
Radek -
Copy from sale oder to ar invoice
Hello expert
when i create AR invoice from sales order .quantity of items not coming on AR invoice
can all help for that what is the problem in my software .we have sap b1 8.81 ,pl 10
thanks
Regards
vilas maskeyHi Vilas.......
Are you sure Sales Order has not Partial Delivery doc?
Have you checked creating New SO and try to make AR Invoice?
Also please check if any FMS is applied or any weird kind of Setting in that Item Master Data.........
Regards,
Rahul -
I have an issue with 2 specific users on the system, Both Users are 'Professional" users with Full Authorization to all Modules on the system.
When the two users go into Credit Memo entry, enter a Customer then Click the COPY FROM button, only 2 Open Invoices are displayed in the Invoice Window for the particular customer. There are MANY Open Invoices for the Customer. This is NOT specific for this customer, BUT All customers behave this way for the 2 users in question.
ANY OTHER USERS on the system can see All open Invoices when using the Copy from feature.
We already gave full Authorization to the users. Turned off Authorizations, and updated and the gave the users Full authorizations and updated. The users were NOT logged in at the time of the changes to the user's Authorizations.
There are NO Add ons running for the users in question.
We also copied Authorizations from a 'Working" user to the users in question but there are no effect.\
Is there something OTHER Than authorizations that could cause this problem?
Any other ideas or suggestions would be appreciated!!
Thanks in advance!!
DanaHave you implemented Data Ownership Authorization? NO
What is your B1 version and PL? SAP B1 2007 SP00 PL47
Again, it is only effecting 2 users with Full Authorizations and Professional License.
The Invoices displayed are owned by a different user and other invoices owned the
the same other user are not displayed. -
Copy To - Copy from not working
i am trying to create an invoice drawing from a sale order. but when clicking for 'Copy from' from Invoice its showing the Document wizard and on clicking 'Finish' it is not taking any items to the invoice row. similarly i tried to do it from Sale order to Invoice using 'Copy to' but it is not at all opening any invoice document.
confused with the SBO actions. wat may be the reason?
Kindly Help me!!!
Shiva.
Edited by: Philip Eller on May 30, 2008 8:37 AM
Edited by: Philip Eller on Jun 13, 2008 9:34 AM*Hi
Just check the following.
You need select the customer code, name
Press the copy from button and choose "sales order"
select the row(yellow color will appear) you want to copy the document.
Draw document wizard will appear.
Press finish
System message will appear for taxcode
Press Yes or No
Then the data will be copied in your target document.
I think you would have done everything and am wondering why the data are not copying.
Just explain your steps please.
Regards,
Venkatesan G.
Maybe you are looking for
-
How to set date value in hidden item
I have a form which has an date item, P1_MTIME , if I use data picker and an procedure (After header)to define its default , as begin :P1_MTIME := to_char(sysdate,'DD-MON-RR HH24:MI'); end; Everything works fine, but when I change P1_MTIME to hidden,
-
JDK/JRE release announcement list?
I've looked high and low, but cannot find anywhere that is a definitive e-mail release announcement distribution point for the JDK/JRE (announcements only, not a bunch of additional "newsletter" content). [email protected] doesn't have such a list, a
-
How to load flat file using IP
Hi Experts, I know that we can use planning function exit in BW-BPS to load the data from flat file(and there is a how to document). But in IP what is process to load the flat file.becoz when i see into my planning function,type exit
-
I'm suddenly unable to access tv shows already purchased on apple tv
Having purchased a season TV series on my apple TV, I was enjoying watching until today when I was unable to bring it up on apple TV purchased tab. When I searched again for the show and attempted to purchase a single episode, the screen informed me
-
Como abrir un mensaje en outlook ?
Hola Bajé la aplicacion Get Outlook Inbox Subjects.vi 14 KB Funciona correctamente. Le agregue un buscador para encontrar algun texto en el cuerpo y me despliega los resultado. Solo que me gustaria poder abrir el correo encontrado en outlook. Me gus