on 06-02-2009 11:13 AM
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
Loren
thanks
Loren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The base document reference number are stored on the individual rows in the target docuement.
Look for the BaseRef and BaseEntry fields on each document row i.e. RDR1.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Loren,
Since each line can have a different base document, we must reference the values in the row table.
You could use this formatted search for the AR Invoice form:
SELECT BaseEntry, BaseLine from INV1 WHERE DocEntry = $[OINV.DocNum]
Regards,
Paul Feeney
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.
Hi 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
When you do copy from then it shows the Docnum of the base document in the remarks field of target document..
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.