A/P Invoice-Draft
Dear All
I am using A/P Invoice as Draft. if some one pull a report and approve the draft ( Document Saved as Draft) the status will show as closed and it will not show in draft report if i tick open only .
But if i open the draft document (status closed) i can still add the document, system is preventing me from adding the document , there are chances of duplication. how can i avoid duplication
Please help me
Regards
Rashid
We post an A/R or A/P Invoice as an Draft Document using DI API, we do this for the convinience of the User to change the Tax components accordingly. Once this is done the draft document is posted as an Invoice and the draft document to be deleted. Can you guide me how to achive this.
We are using SAP B1 2005B
regards
siva.
Sorry for the trouble I'm moving this question to SDK.
Edited by: Sadanand Manda on Dec 15, 2008 8:35 AM
Similar Messages
-
A/P Invoice Draft convert to actual A/P Invoice Error
Hi all,
I had a problem as of mention in the Subject header.
First of all, I am using SBO 2004.2B and 2004 SDK.
I had created a small program to read in text file to create A/P Invoice Draft, no problem up till now.
However, when I convert the A/P Invoice Draft to actually A/P Invoice Document, system will prompt me a message "[ADO12] ..... cannot insert the value null into column ObjectType table 'DatabaseName.dbo.ADO12';column does not allow null.... "
I do a self checking and release that the Draft document I added,using DI, did not add a line in table DRF12. Thus, when I convert the Draft to actual document it prompt me this error. I also realised if I will to use Data Transfer Workbench to create Draft Document, and when I convert the Draft Document to actual document it also result in the same error.
Any help on how to tackle this?
Thanks!Have you tried to visualize the Draft you have created with B1 application and save it as document by directly using B1? Do you have the same error?
If you create the Draft with B1 and try to add it after that as document the DeliveryDate and TaxCode are missing, do you fill this information when adding your document?
I think you should open a message for support in SMP, they will try to reproduce your problem.
Regards
Trinidad. -
Open AR Invoice-Drafts via UI-Api
Hy All!
Im loocking for a way to open the window of a AR Invoice-DRAFT using the UI.
I need to open a specific Draft that i added bevore via DI, so i know the DocEntry aso. of my Drafts.
I can't open the invoice-form, set it to "Search" mode and search for the Draft that i added bevore.
Does somebody knows a way to do this ?
Thanks!
Regards AndreasAdd an edittext and a link arrow object to a form.
The link arrow should be linked to the edittext, and have a linkedobject of type lf_Drafts (112)
You can then use UI code to put the DocEntry into the edittext, and then call the click method of the link arrow. This will result in the Draft Invoice window (or other window depending on the type of draft document) opening with your record displayed.
If you don't want to see the link arrow and editext, simply position them off the visible part of the screen.
John. -
Unable to alter AP Invoice draft
While trying to add frieght/carriage to AP Invoice draft error come up as " tax code missing or out of date". The problem occures only for items. Tried in PL35 AND PL39 2007A.
Hi Joe,
Have you checked the dates on this tax code and checked perhaps that there's nothing funny in your posting periods setup? If you say that in the one db the configuration is exactly the same as the other one then it points to a data related issue in which case I would advise logging a call with SAP support.
All the best,
Matt -
Create a A/P Invoice Draft for approval
Hello Experts,
I want to create a A/P Invoice-Draft via Purchasing module,when clicking The Add Button the invoice is directly posted to the G\L without create a draft that other user who have permissions can view and approval via the Approval Decision Report.
Please Tell me what is wrong...
Thanks.
BenHi
I am not sure about your problem.It looks to me that your approval query is not triggered .
There could be th reason:
1.If you are using user defined query ,and you are not meeting the condition to trigger.
2. For example : If you said Trigger approval procedures if sales order total is greater than 200.
It won't trigger approval procedures if sales Order total is less than 200. And User can add the document .
When Approval Procedures triggers, then the document that triggers stays as a draft until it is approved .
One quick way to check if it not your query , on the condition specify always .(Approval template >> term >> always . See if it creates the same situation .
Hope this helps to narrow down your problems .
Thank you
Bishal
Edited by: BIshal Adhikari on Dec 10, 2008 4:18 PM
Edited by: BIshal Adhikari on Dec 10, 2008 4:39 PM -
A/R and A/P Invoice Draft - Post - Status Tracking
We post an A/R or A/P Invoice as an Draft Document using DI API, we do this for the convinience of the User to change the Tax components accordingly. Once this is done the draft document is posted as an Invoice and the draft document to be deleted. Can you guide me how to achive this.
We are using SAP B1 2005B
regards
siva.dear Jane,
Thanks for your reply. It has thrown some light to my problem. In this case as per my question the Draft has to be copied to invoice manually right. Is there a way in which I can go across directly to invoice and I would like the Accounting people to veirify or amend the Invoice and post it.
This would avoid the Draft aspect and make the process simple.
Can you suggest.
regards
siva. -
Hi Guys,
For the past one week I have been struggling to import draft A/R invoices into SAP Business One 9.0 PL 07. The database to which i'm doing this import continually returns the error "no matching records met ........." during simulation and also import stage.
Interestingly, I noticed that import picks draft invoices with only one row detail leaving out the ones with more than one row details. I desperately need a solution to this issue as my client is scheduled to go live coming Monday.
A sample of the structure of the data is below for your review and advice:
ODRF
DocEntry
DocNum
DocType
DocDate
DocDueDate
CardCode
CardName
DocCurrency
DocObjectCode
DocEntry
DocNum
DocType
DocDate
DocDueDate
CardCode
CardName
DocCur
ObjType
1
1
dDocument_Items
20140122
20140122
GH-XX-001
Customer A
GHS
13
2
2
dDocument_Items
20140122
20140122
GH-XX-002
Customer B
GHS
13
3
3
dDocument_Items
20140122
20140122
GH-XX-003
Customer C
GHS
13
DRF1:
ParentKey
LineNum
ItemCode
Quantity
Price
WarehouseCode
VatGroup
DocNum
LineNum
ItemCode
Quantity
Price
WhsCode
VatGroup
1
0
AB-0003
2
34.7018
01
VP
1
1
LC-0002
1
27.0245
01
VP
1
2
TW-0002
1
26.8469
01
VP
1
3
DG-0002
5
28.161
01
VP
1
4
FLI-075
25
7.83
01
VP
2
0
AB-0003
27
31.5478
01
VP
2
1
DG-0002
8
25.6
01
VP
2
2
TW-0002
5
23.9652
01
VP
2
3
KW-0002
8
27.7913
01
VP
2
4
LC-0002
10
24.1249
01
VP
2
5
FLI-075
35
7.8261
01
VP
2
6
FLI-075
2
7.8261
01
VP
3
0
AB-0003
6
31.5478
01
VP
3
1
DG-0002
40
25.6
01
VP
3
2
LC-0002
20
24.1249
01
VP
3
3
KW-0002
15
27.7913
01
VP
3
4
FLI-075
5
7.83
01
VP
Please advice on how i can work at transferring this data into SAP Business One. Thanks for your help in advance.
Regards
JohnHi,
You may check this SAP note for service type invoice. Follow instruction and apply for above conditions.
1135341 - How to import service invoices for foreign customers
Thanks & Regards,
Nagarajan -
How to print draft of AR invoice by making query
Hi, do you know how I can make query of AR invoice draft so that the UDF, header, row items can be showed in it?
Thanks.
Raymond
Edited by: Rui Pereira on Aug 6, 2008 4:11 PMraymond,
Develop a query and link it to query manager
to design a query print layout template.
Can give me details what you want to be in report ?
Jeyakanthan -
Can packaging save as draft?
Hi Develope exports,
My B1 Ver. 2007B(PL13). I fond that till this version, Packaging can't save as draft.
I create an A/R Invoice and save it as draft ,with a Packaging appended. When I open the Invoice draft, right click and reopen packaging form, it shows nothing. I must have to refill all the packing details.
Even on Delivery Document, the packaging can't save as draft.
It doesn't make sense . Will it be fix up by next PL?
Thanks in advance
Best Regards,
Liang xiao qingHi,
You would be able to save a sales order as draft only while the add button is active that is you haven't added the sales order. Once you have added a sales order in the system, the save as draft button would be disabled. However, as you say that you have duplicated the sales order, before adding, you should be abe to save tat order as draft. if this is not the case, i think you need to raise a ticket to sap. Try searchin for SAP Notes on the same.
Thanks,
Joseph -
Hello,
When we tried to add to invoice from an invoice draft we received the following error msg:
"No matching records found 'G/L' Accounts (OACT) (ODBC-2028) [Message 131-183]
Does anyone know how to correct this? We've been invoicing from Draft many times now and this is the first msg like this we have received.
Thanks,
MikeDear,
This error message normaly indicates that there is an account definition
Missing, before we proceed with the investigation, Please check that
ALL accounts have been defined in the 'G/L Account Determination',
for all the warehouse and tax codes and freight.
1. G/L Account Determination
'Administration > Definitions > Financials >G/L Account Determination'
(Check the rounding account even if you are not using it.)
2. Warehouse accounts
'Administration > Definitions > Stock Management > Define Warehouses >
Accounting'
3. Tax Code accounts
Administration > Finance >Tax
4. Check if Rounding Tax Amount in Rows is ticked.
(Check the rounding account in G/L account Determination is defined,
even if you are not using it.)
5. Administration > Setup >General > Freight
Please check if the GL account is defined (even if the Freight is Zero).
6. Do you manage some items with drop ship warehouse? If so, please
Check if the expense account was defined for drop ship warehouse.
7. refer to note 874131 below
Define a rounding account under:
'Administration' > 'System Initialization' ->'G/L Account Determination'
-> 'General' tab page under "RoundingAccount" field.
8. refer to note 771489 below
When the user chooses User Defined Chart of Accounts under
Administration -> System Initialization -> Company details -> Basis
Initialization tab , the default accounts remain in the "G/L Account
Determination", "Define Tax", "Define Warehouse" windows under
Administration -> Definitions -> Financials and Administration ->
Definitions -> Inventory. User has to check and define all accounts.
9. refer to note 871509 below
Symptom
If two posting periods are created in one database, after the user
switches to another posting period and tries to create a marketing
document the following error message will be received:
"Linking of primary accounts not completed"
The G/L account determination window will be opened for checking, and
all Accounts in the GL Account Determination screen will have been
removed.
Other terms
posting period, G/L account, determination, missing, error message,
primary account, complete.
Reason and Prerequisites
Functionality description
Solution
This error can be due to the following scenarios:
1. The user creates the database, the first posting periods are defined
from Apr 2004 to Mar 2005 (Category 2004) with Sub-Periods 'Month'.
2. When the second posting periods are defined i.e.(from Apr 2005 to Mar
2006), there are no accounts chosen in the 'G/L Account Determination'
window.
3. Afterwards, the user defined G/L accounts in the first posting
periods.
In this case these G/L accounts will not be copied into the second
period. However, if the accounts will be defined in one of the
sub-periods, it will be defined for the full 12 sub-periods from the
same category at the same time.
The G/L accunts will be copied into all the posting periods which is
created after defining the G/L Account in G/L Account Determination.
I hope this will resolve the issue.
Regards
Apple -
Creating Draft in B1iSN from CSV file
Hi All,
I want to create Draft from CSV file wich I used to create AP Reserve Invoice. I had no problems with creatoing Reserve Invoice. Everything works fine. Now I want to create Reserve Invoice Draft so I added to xsl file
<DocObjectCodeEx>22</DocObjectCodeEx>
I got an error that there is no such a property in Document. Then I changed it to
<DocObjectCode>22</DocObjectCode>
And still got an error that this field isn't supported for this dokcument.
Please tell me how to create Draft in B1iSN?
It's mystery for me right now.
Regards
SzymonHi Szymon,
Check this thread: How to Object Type of Draft Tables
Thanks,
Gordon -
Getting negative value of discount on adding ar draft through DIAPI 's
Hi
I am facing a scenario where in if I am creating the AR -draft for 1 day order through DIAPI's ADD method ,The sales invoice draft that gets created shows discount =some decimal value that on rounding off is equivalent to 10 in case 10% discount is given on order at line level.
and in case i have made draft for an order having period more than 1 day then the discount values gets negative.
For each line I am assigning the discount value in following ways:
oDraft.Lines.DiscountPercent = 10
then the draft that gets created shows me
discount%= 9.125 in case I have 1 day period
and
discount%= -400 in case I have period of more tahn 1 day.
I am not understanding why is it so .I mean on what values the discount on AR - invoice draft calulation actually depends.
why is it showing me decimal amount when i am assiging a roundoff value of 10 .
and why is it making discount negative.
Please help me out as early as possible.Hi ,
Can u post the coding. -
Document_Lines Draft Document - LineTotal 0, Weight1 0
Hi,
I am developing a DI API Addon that generates Invoices Draft.
After have attached a new line with this code:
objInv.ItemCode = objDel.Lines.ItemCode
objInv.Lines.Quantity = objDel.Lines.Quantity
I would like to have che Weight1 and the LineTotal but they are 0.
When are they calculated?
Thank you
AndyHi Andy!
These properties are calculated by inner SAP logic, so you shouldn't set them on your own.
You can find a good sample how to create docs based on other at ..\SAP Business One SDK\Samples\COM DI\VB.NET\5.OrderAndInvoice\
if you really need that data <i>before</i> you add document, then you should simulate SAPlogic, i.e. calculate them on your own and make some supplements -
Updating lines.discountpercent in draft do not recalc doctotal
hi,
i update an invoice draft document. I set the disocunt percent in document lines.
oDrafts.Lines.DiscountPercent
This works well unless the document currency is system currency.
But if document currency is PLN the doctotal was not recalculated and the document discount is set.
This seems to be a bug. Is there a workaround?
SAP Version: 8.8 pl12
best regards
MarkusHello Markus,
did you set a currencyrate? If you update this manually in the gui this works correct?
If the answers are both yes. You must log a message at SAP Support (or your partner). They can investigat this issue, give you a workarround or provide a solution in a next patch.
Good luck.
HTH Regards Teun -
How do I automatically add a background/watermark to a PDF?
Hi!
My name is mike and I am working on an invoice draft. The invoice is created within Microsoft Access and will be printed out on the Adobe PDF printer.
I'd like to automatically add a background with some graphical details (which is not possible with Access in my case) to the PDF when printed out to the specific PDF printer.
Now I have a background preset and I do have to select it every time and save the changes, which is quite time consuming when there are many invoices.
I appreciate your help and thank you in advance!
mikeHi Srv-02,
You can create a custom action to add Watermark for all the generated pdfs.
You can also accomplish this via Javascript: https://acrobatusers.com/tutorials/watermarking-a-pdf-with-javascript
Regards,
Rave
Maybe you are looking for
-
Mac Pro 3.1 Optical Drives not recognized.
My Mac Pro (2008 2 x 2.8 Quad Core) 3.1 running OS X 10.10.1 has always had 2 optical drives. The first an Apple Superdrive as shipped and a second optical dvd/cd drive. Both have worked for years, although in recent tears, the 2nd drive experienced
-
Music from shared library will not display by artist or album.
How do I set up home sharing to display music from shared library by artist and album?
-
When I try to run a slide show in Firefox, the first slide displays but the arrows to move to next/previous slide do not appear. When I try in Internet Explorer, the arrows appear. Flash Player is enabled in Firefox. There must be another setting I n
-
Accessing class var from main timeline
Hi all! Well I've been working on this for a couple of days now and just can't seem to get it to work right...... I'm still getting my feet wet with as3 and like it more and more everytime I use it.... almost. Anyways, here's where I'm running into t
-
MODERATOR: All points have been UNASSIGNED and the thread LOCKED. Please do not share email addresses, documents, or links to copyrighted or company confidential information on these forums. If you have some information, please consider posting it