B1 Delivery Notes with from XML problem
Hi all,
Framework : B1iSN 2007 PL14
B1 : 8.8 PL 14
We want to import delivery notes in B1.
I have a BOM sales Item, item child are managed with serial numbers.
The input xml seems to be well built, but the process failed and I've the following error :
You should use existing serial/batch numbers for this document type (----) 29-51"
The xsl process worked perfectly when used with "single" item (no BOM).
is there any limitations or known bugs ?
Any solutions ?
thanks a lot !
Edited by: PIERRE BROTHIER on Dec 9, 2010 4:20 PM
Pierre,
The error you are receiving is a Business One DI API error with respect to how you are trying to import your transaction. The error is not a specific B1iSN error. Have a look at these two SAP Notes as they may help you resolve the issue you are having. They have to do with importing document lines with serial/batch numbers. They are not specific to B1iSN.
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&;note_numm=1004061
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&;note_numm=0000841270
Eddy
Similar Messages
-
Adding Purchase Delivery Note with SerialNumbers via DI Server
I try to add Purchase Delivery Notes via DI Server. It already works for items that do not need serial or batch numbers. But if I try to add a PDN with an item that needs such numbers, I'm getting an error that the line of the item cannot be added without these numbers.
Then I tried to add SerialNumbers to my request, but I am still getting the same error.
The xml template for the SerialNumbers part looks like this:
<SerialNumbers>
<row>
<SystemSerialNumber />
<ManufacturerSerialNumber />
<InternalSerialNumber />
<BatchID />
<ExpiryDate />
<ManufactureDate />
<ReceptionDate />
<WarrantyStart />
<WarrantyEnd />
<Location />
<Notes />
<BaseLineNumber />
</row>
</SerialNumbers>
Can someone explain me, how to use it?
What are the mandatory fields?
What is <BaseLineNumber>? Is it the line number of the item in the purchase delivery note?
Do I have to include <SystemSerialNumber> or will this number be generated automatically by SBO?Hi Nico,
you should use the SDK Help Center to determine the mandatory fields...
When creating an incoming document (Purchase Delivery Note) with serial numbers using the DI API I assign the InternalSerialNumber property only and this works.
The only Mandatory field when creating an outgoing document is SystemSerialNumber which is the unique key for a serial number...
As a side note, I am still experiencing some strange behaviour trying to use the DI API to create documents using serial numbers. I am in contact with SAP regarding this but am getting very slow responses...
Daniel -
Delivery note with reference to sales order - 0 quantity items
Hi all,
our system allows items with quantity 0 to be created in delivery notes with reference to sales orders.
This happens when some items in a sales order are out of stock while others are availiable. The unavailable items are included in the delivery note, but have quantity 0.
The requirement is to eliminate this behavior and to create delivery notes with availiable items only.
I would be grateful for any advice how to realise this.
Best regards, AndreasMake the necessary configuration i.e. Check quantity 0 field value should be maintained as B in the respective delivery item category using transaction 0VLP.
Regards,
GSL. -
How to fetch delivery note fiedl from MIGO
Hi,
how to fetch delivery note field from MIGO.
Regards
Mavesee it is not the exact field.
Regards
Mave -
Error while Adding a Delivery Note with Barcode
When i add the deliverynote , i get the following error :
Error Code : -10 : Document can not be added: Base line item has been updated, re-transmitting the document data from the base document .
or
Access violation error
This happens only when i assign a barcode to the item in the Item Master Data ( Eg : ITM001 is assigned a barcode ) .This works fine when the barcode is not assigned to the item .
What is the cause of this error ?
Obj := IDocuments(Company.GetBusinessObject(oDeliveryNotes));
Obj.CardCode := 'B1010';
Obj.Lines.Add;
Obj.Lines.BaseType := bodt_Order;
Obj.Lines.BaseEntry := 100;
Obj.Lines.BaseLine := 0;
obj.Lines.ItemCode := 'ITM001';
Edited by: senthil kumar on Dec 2, 2009 1:04 PMHello,
I had the same problem. This occurs. when you change the barcode between sales order and delivery note, and YOu are issuing the Delivery note by DI API.
To do:
- Open Sales Order
- OverWrite in the lines the barcode to the same as Material Master Data
- Update sales order
Issue delivery note.
SAP Note number: 1314220
Regards
János -
How to get a Delivery note number from a picklist ?
Hello friends,
I'm setting up an alert for a customer, the purpose is to send a notification whenever a new Delivery note is generated from a pick list, what I thought of is to retrieve the baseDoc number from OPKL ( the pick lists table) which would give me the DocNum of the Order Document number, and then I could get the TargetEntry of this Order , but i'm not sure if it is the best solution, since an order can generate several Deliveries, and with this method I could only get one,
What I need is a simple way to link OPKL to ODLN.
Thanks in advance,
AminThe solution I was thinking of did work actually, and the fact that the link is made on the lines ensures that all the target documents are brought.
Select Distinct
T0.AbsEntry As 'Pick List',
T2.DocNum 'Delivery',
T1.OrderEntry As 'Order',
T0.[Name] As 'Creator',
T0.CreateDate As 'Creation Date',
T0.PickDate As 'Pick date',
from OPKL T0
INNER JOIN PKL1 T1 ON T0.AbsEntry = T1.AbsEntry
INNER JOIN DLN1 T3 ON T3.BaseEntry=T1.OrderEntry
INNER JOIN ODLN T2 ON T2.DocEntry = T3.DocEntry
Order BY T0.AbsEntry DESC
Kind regards
Amin -
Refresh package with 'From-Date' Problem
Hi All,
I just ran into configuring the Analyze and Specify 'From-Date' problem fro refreshing package. I've completed the normal package with the starting date 8/30/2008. Now I am trying to go back and copy and select from 7/30/2008 for the new run during that posting period. I am not if this is possible but it doesn't allow me to choose any of the option. If I choose Analyse and deine new 'From-Date' when the screen popup, then choose 7/30, the date is not transfer to the Chosen From Date field at all, and execute. The system will display he error with "Evaluation failed. Required customising data no available". Basically, it doesn't allow me to choose any date.
Do any of you experiencing the same problem. Or did I miss any step from the first run?
Thanks,
TaiHi Tai,
Implement the note 1180500 - Activity TD01P_FROM_RFH runs into error in a refresh package.
Regards,
Santosh -
Cannot add a delivery note with an item with serialnumbers via DI Server
I'm using a web service to add delivery notes via DI Server. my code works for items that do not need serialnumbers or batchnumbers and even for those that need batchnumbers.
but if I try to add an item with serialnumbers, I'm getting the following error:
[DLN1.WhsCode][line: 0] , 'Item 'A00004' with system serial 0 is not in stock.'
in the soap request I put the InternalSerialNumber, Location and BaseLineNumber. Because the error message tells me something about system serial, I've also added the SystemSerialNumber to the soap request. But then I'm getting another error:
Failed to execute command.
does someone know, what I'm doing wrong?Hi,
i'm getting the same error when trying to add a delivery/invoice.
"[INV1.WhsCode][line: 0] , 'Item 'xxxx' with system serial 2 is not in stock"
its started just after upgrade to 2005 SP1 PL4 and i tried to upgrade to PL7 with no success. do someone else have the same issues?
thanks
Moty -
MIGO_GR fill delivery note field from manual entry in bill of lading
I have to fill header field delivery note from manual entry in bill of lading in tcode MIGO_GR for mopvement type 101.
I searched for the exits and BADI's but header fields are not in changing parameters.
Has anybody worked on automatically filling the delivery note field in MIGO_GR transaction from bill of lading field or a value from database?Hi You can use MB_MIGO_BADI Badi.
Thanks,
Anmol. -
Print delivery note with VL01N
Hi,
The delivery note prints only when I post the good issue. But I would like to print it automatically when I use the VL01N
I delete the routine "1" in NACE for my condition type LD00 (If goods issue has been posted for the delivery, then the output
should be created.), but I have no delivery note.
Anybody could help me, please?
Thanks
Regards
KariIn VL01n, before saving, please goto output screen.
(Menu bar -> extrax -> delivery output -> header ->)
In output screen, is the output (print) there (with yellow light)?
If it's not there, please goto check output determination analysing log.
(menu bar -> goto -> determin.analysis)
Double click the output type, and check the log on right side.
What's the log saying? -
Goods Movement status of delivery not updated from C to A
Hi
I am facing a peculiar problem.
We reversed goods issue using VL09 however the goods movement status of the delivery has not been updated. The GM status is still showing C- Completely processed.
If we are trying to repeat the process again thinking that reversal has not been done using VL09 for that particular delivery error message is displaying already the goods reversed.
Here we are missing the link. Though the goods reversed status has not been reflecting in the delivery.
Regards
Maruthi
Edited by: MARUTHI RAM on Apr 18, 2009 1:25 AM1) First check in MB51 with movement type 602 whether you could see the delivery reference
2) Next go to VOV7, select your item category and see what is maintained for the field "Completion Rule". It should have been "B".
3) Next go to VTLA, select the item category for the combination of your order type and delivery type and see whether you have maintained "+" for the field "Pos./neg. quantity"
thanks
G. Lakshmipathi -
HTML bold text, imported from XML problem.
I have HTML content defined in an external XML file:
quote:
<textBody><p>First line of text containing some
<b>bold words</b>. More text with some <b>bold
words</b> and then two line breaks.<br /><br
/>Here's some more text with <b>some more bold
words</b> in the middle of it. Don't you think there's
something strange about the spacing around these <b>bold
words</b>? It seems to get worse with each extra appearance
of a <b>bold word</b>. Thank you <b>for
reading</b> my text.</p></textBody>
Here,
you can see a screenchot of the text rendered on screen from the
HTML above.
Many thanks for any help from anybody.We think we've got the source of the problem - because the
textfield displaying the HTML is in a component. We believe the
letter spacing issue comes about from the component being resized.
The solution, as far as we can see is to simply use dynamic
textfields instead of components - OK for future development, but
what we've done already will need to be fixed by extra spaces in
various places.
Thanks for your suggestion Pal_w_g - guess it was your input
that provided the seed that led to the idea about the component. -
Create a delivery note with bin locations and batch numbers
Hello everyone,
when sending this message to my b1if scenario i am receiving this error (which says nothing):
Exception : DI Error: (-2010) Internal error (-2010) occurred
This error only occurs when using a warehouse with bin locations. For regular warehouses it works when leaving the <DocumentLinesBinAllocations> away.
What could cause this issue? Just for clarfying: UOMEntry Nr. 2 means that the sales unit contains 5kg of a product.
I would greatly appreciate any help.
Best regards
Simon
<CreateDelivery>
<Documents>
<row>
<CardCode>K100002</CardCode>
<DocDate>04.02.2015</DocDate>
<DocDueDate>04.02.2015</DocDueDate>
<DocNum>200048</DocNum>
</row>
</Documents>
<DocumentLines>
<row>
<DocEntry>62</DocEntry>
<LineNum>1</LineNum>
<BaseLine>1</BaseLine>
<ItemCode>8705</ItemCode>
<Quantity>1</Quantity>
<UoMEntry>2</UoMEntry>
<WarehouseCode>SB</WarehouseCode>
</row>
</DocumentLines>
<BatchNumbers>
<row>
<BatchNumber>20150701</BatchNumber>
<ExpiryDate>07.07.2015</ExpiryDate>
<Quantity>5</Quantity>
<BaseLineNumber>1</BaseLineNumber>
</row>
</BatchNumbers>
<DocumentLinesBinAllocations>
<row>
<BinAbsEntry>4</BinAbsEntry>
<Quantity>5</Quantity>
<BaseLineNumber>1</BaseLineNumber>
<AllowNegativeQuantity>N</AllowNegativeQuantity>
<SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>
</row>
</DocumentLinesBinAllocations>
</CreateDelivery>Hi Pablo,
based on the code from the other thread it should be like that for the first row:
delivery.Lines.ItemCode = "ID200";
delivery.Lines.Quantity = 15;
delivery.Lines.BinAllocations.BinAbsEntry = 3107; // guessed AbsEntry
delivery.Lines.BinAllocations.Quantity = 10;
delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 0;
delivery.Lines.BinAllocations.Add();
delivery.Lines.BinAllocations.BinAbsEntry = 3108;
delivery.Lines.BinAllocations.Quantity = 5;
delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 1;
delivery.Lines.BatchNumbers.Location = "02-A";
delivery.Lines.BatchNumbers.BatchNumber = "XY";
delivery.Lines.BatchNumbers.Quantity = 10;
delivery.Lines.BatchNumbers.Add();
delivery.Lines.BatchNumbers.Location = "02-B";
delivery.Lines.BatchNumbers.BatchNumber = "YY";
delivery.Lines.BatchNumbers.Quantity = 5;
You got now :
1 Delivery Row, Quantity 15
2 BinLoc Rows, Quantity 10+5
2 Batch Rows, Quantity 10+5
regards,
Maik -
Please HELP with CrossDomain.xml problem
I'm using Flex2 with Java as the backend. On my local machine
everything works fine. When I deployed the Java war file to the
hosting server and moved the swf there as well I keep getting the
following error "Security error accessing url"
faultCode="Channel.Security.Error". After reading on this it says I
need a crossdomain.xml file put at the root of my server.
I have placed a crossdomain.xml file at the following areas.
C:\Inetpub\wwwroot\crossdomain.xml
C:\Inetpub\vhosts\mysite.com\crossdomain.xml
C:\Inetpub\vhosts\mysite.com\httpdocs\crossdomain.xml
C:\Program
Files\SWsoft\Plesk\Additional\Tomcat\webapps\crossdomain.xml
the following is in the crossdomain.xml
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" to-ports="*" secure="true"
/>
</cross-domain-policy>
the war file is deployed here:
C:\Program
Files\SWsoft\Plesk\Additional\Tomcat\psa-webapps\mysite.com\testjava.war
and the swf file is located here:
C:\Inetpub\vhosts\mysite.com\httpdocs\test.swf
I don't know what I'm missing. Please someone help me.daperk,
You should post this to board "Smartphones, Nseries and Eseries Devices". -
Hi,
I have a webpage created in flash which uses xml to load specific gallerys into movie clips. Everything works fine in preview, but when uploaded it doesn't work. When you click on film or any of the other galleries, the galley does not load. I don't know whether this has something to do with the hosting or not. I'm only begining to use xml so my knowledge is quite limited. Any help would be much appreciated. The website adress is below. I've also attached my action script. Cheers
http://www.honeytree.com.au/luke/walshwebsite/
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
firstImage();
} else {
content = "file not loaded!";
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("film.xml");
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
next_btn.onRelease = function() {
nextImage();
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 20;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=40) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
} else {
delete tscroller.onEnterFrame;
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
target_mc.onRollOver = function() {
this._alpha = 50;
thumbNailScroller();
target_mc.onRollOut = function() {
this._alpha = 100;
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);Your xml file appears to be specifying local drive paths rather than web paths...
\film\DSC_0040web.jpg
should be
film/DSC_0040web.jpg
Maybe you are looking for
-
Hi, there I'm not really pro- at RDS in server 2012 (r1), but I have a problem and don't find anything suitable on internet: I'm trying to publish one of my own, unlisted programs to rdweb, but it keeps saying "You must specify a file from the RD Ses
-
Invoice List print out multiple output devices
Gurus I have a requirement where in I need the Invoice list to generate output to 2 different devices..... Here is my dillema, Invoice list program looks at the output device that is set up in the user defaults in the user area, SU3 transaction, Sinc
-
EBS R12 : NLS size per language ?
We are preparing a test machine, so that we can perform a new EBS R12 installation. Currently we have a EBS R11i.6, but we would like to do a VISION install and let key users have a fell. As a second step, we will be performing a migration test. Righ
-
Cant run servlet in Vista with Tomcat 6 version...
I lost my one day to solve this problem but at the end of the day i got mad OS: Vista Tomcat: 6 i have directory structure as C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps now i have create my own directory to run my own servlets its
-
Need Third Party software recommendation - duplicates management and remova
I have read several dozen discussions addressing duplicate file/song removal from itunes, and many recommend third party software. While there is a 'show exact duplicates' command in itunes at Shift:File->Show exact duplicates, in my case all it did