BusinessObjectInfo.ObjectKey = "" for Inventory Transfer
Hi everyone,
I am using B1 2005A SP01 PL18
I catch the FormData Event (et_FORM_DATA_ADD) on ActionSucces = True and have a look at the BusinessObjectInfo.ObjectKey but its value = "".
I have also tried to use B1 Tool Event Logger to see if it has a value, but to no avail. Other objects
like Service Calls have (Obj. Type=191; <?xml version="1.0" encoding="UTF-16" ?><ServiceCallParams><ServiceCallID>18</ServiceCallID></ServiceCallParams>) once the call has been succesfully added.
I have used the same method for a number of other objects that I use, and it has worked well. Does any one know if this is a bug that has been sorted out in a higher patch perhaps or how I can get hold of that information other than using the
Company.GetNewObjectCode.
I really nee to get the XML parameters used to be able to use the GetByKeys method of the InventoryTransfers object.
Your help would be greatly appreciated
Regards
Tinus
Thanks for the answer Ad, however, I am unable to use the GetByKeys method if I dont have the XML, for instance if I use
sStockTransferNo = "5"
oStockTransfers.Browser.GetByKeys(sStockTransferNo)
I receive "System.Runtime.InteropServices.COMException (0xFFFFFBA6): Xml file validation failed".
Any ideas ?
Thaks again for the previous answer.
Similar Messages
-
Re:Query For Inventory Transfer..!!!
Dear Members,
My Scenario is,
I want to take a report for inventory transfer that contains
1. Itemcode
2.Item description
3.quantity
4.inventory quantity on the previous day.
I have taken the tables owtr,wtr1,oitm and oitw.But the issue is if my document date is like 30.11.2010 i want the inventory quantity value as on 29.11.2010.
I need only query not SAP Reports.Plz suggest a suitable query for this issue.
With Regards,
RevathyHi Revathy,
You have to use OINM table to get your desired Stock on past dates.
Have a look at these queries.
1. Stock per itemwise
select t1.ItemCode,max(t1.dscription) [Name],(sum(isnull(t1.InQty,0)) - sum(isnull(t1.OutQty,0)) ) [ClsStock],(sum(t1.transvalue)) [ClsValue]
from OINM t1
where t1.DocDate <= '[%1]'
group by
t1.ItemCode
2.Stock per item per warehouse wise
select t1.ItemCode,max(t1.dscription) [Name],t1.warehouse [Warehouse],
(select whsname from owhs o1 where ((o1.whscode) = (t1.warehouse))) [WarehouseName],
(sum(isnull(t1.InQty,0)) - sum(isnull(t1.OutQty,0)) ) [ClsStock],(sum(t1.transvalue)) [ClsValue]
from OINM t1
where t1.DocDate <= '[%1]'
group by
t1.ItemCode,t1.warehouse
Regards,
Bala
Edited by: Balakumar Viswanathan on Dec 10, 2010 5:22 PM -
Set approval for inventory transfer document
hi
i am using sap b1 with 2005
i want to set approval to particular product manager when transfer item from one warehouse to other warehouse in inventory transfer document
for that i write query in query generator like
SELECT T0.DocNum, T1.ItemCode, T1.Dscription, T1.Quantity, T2.SWW FROM OWTR T0 INNER JOIN WTR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode WHERE T0.DocDate >=[%0] and
T2.SWW ='chandan'
{chandan is name of product manager}
so please send query that will support for approval template.
regards,
sandipIn the Approval templates > Document tab ..only the documents listed can have an Approval Procedure tied to them.
If Inventory transfer is not listed there, you might not be able to create one
Suda -
Approval for Inventory transfer
Hai All,
Here is my scenario : I have 3 warehouses named store1 , store2 and strore3.
When store1 makes inventory transfer to store2 it should be approved by store2 only.
When store1 makes inventory transfer to store3 it should be approved by store3 only.
The above case applies to store2 and store3 also while making inventory transfer.
Is there any solution or work around for this scenario ?
Regards
S.RajaramHi Raja Ram
Create one UDF on Header Level as To Warehouse
SELECT 'TRUE' where $[$UDF]='warehouse1Code'
SELECT 'TRUE' where $[$UDF]='warehouse2Code'
SELECT 'TRUE' where $[$UDF]='warehouse3Code'
Save this three quires.
and select warehouse1 to warehouse1 user user defaults, same for 2 and 3.
Go to Approval Stage and Create New Select the user as Warehouse 1 user
Create same for 2 and 3
1. Create Approval template 1 with orginaters 2 and 3 warehouse users. and stages as approval stage1 where warehouse 1 user is selected.
Documents as Inventry transfer document.
Terms Click on when the following applies.
Quirey name Select the quirey name as quirey with 1st warehouse
Create for second and third warehouse as same.
It will work fine for approval in inventory transfer.
Edited by: venkata siva reddy pole on Jul 24, 2008 4:49 PM -
Hi All
I have 3 location A,B,C
And 5 warehouse for each location Now i transfer inventory A to B Location and B to C location . Some time A To A location With Diffrent Warehouse .
So i want a report That How mach inventory we have transfered When My location is diffrent .
means From warehouse location and To warehouse location should me diffrent .
I want some Feild in this report like
Docnum, Docdate, From warehouse,From warehouse Location, ItemName,Quantity,To warehouse,To warehouse Location
Thanks & Regard
Areeba AliHi Areeba Ali,
Try this...
SELECT T0.DocNum, T0.DocDate, T0.Filler as 'From Warehouse' , T3.Location 'From Location', T1.Dscription, T1.Quantity, T1.WhsCode 'To Warehouse', T4.Location 'To Location' FROM OWTR T0
INNER JOIN WTR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OWHS T2 ON T0.Filler = T2.WhsCode
INNER JOIN OLCT T3 ON T2.Location = T3.Code INNER JOIN OLCT T4 ON T1.Loccode = T4.Code
Thanks
Sachin -
Inventory transfer two report preview
Dear Experts,
Kindly help me upon our problem. We are generating a report for inventory transfer using our customized report that is set on default. The problem arises when we are clicking the preview 2 Report are generated, one is from our customized rpt file then the other is from the system report for Batch number (pld) format.
Below is the result screenshot for the said problem. Sorry for blurring some important data, for company privacy. Thank you so much for your great help.
Best Regards,
jzaHi ,
Go To
1.Administration-->System Initialization-->Print Preferences
2.Print Preferences->Per Document-->Document-->Inventory Transfer
3.When Batch/Serial No. Exist, Print-->Doument Only.
-Rajesh N -
To Set Info Price in Inventory Transfer
Dear All,
I am trying to do an inventory Transfer.When i select the item i get an info price which is the last purchase price by default.I want to change the setting of the same and change it to the other Price List that i have created.
Kindly Suggest where can we set the default price list for inventory transfer.
Thanks,
MerleHi Merle,
As Nagarajan put it the default price list for inventory transfer is last purchase price.
For set up a diff price list as default, you can create business partner customer for the warehouse and set your desired price list in the payment terms.
Any time you do an inventory transfer to the other warehouses then choose the the warehouse customer, the default price list you have set in business partner will be your your default price list.
example
Whse 00 - customer = Whse00Customer
Whse 01 - customer = Whse01Customer
Assuming you want to transfer stock from whse 00 to 01
1. Set business partner Whse01Customer to your preferred price list under payment terms
2. open inventory transfer
3. Choose business partner customer = Whse01customer
4. Price list changes from last purchase price to default price list of Whse01customer
Regards
Brian Ndunda -
Inventory Transfer document templetes
Hi,
Please confirm me,
I have tried to update Inventory transfer documents through DTW. Know i am using stock transfer templetes for inventory transfer documents of Items. it is correct or not?
For Inventory stock transfer Documents DTW templete path:
C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oStockTransfer
My SAP B1 version is SAP Business One 2007 B (8.60.037) SP:00 PL:10.
Thanks,
Surendra.Template Name: Stock Transfer
RecordKey DocDate FromWarehouse JournalMemo Series
RecordKey DocDate FromWarehouse JournalMemo Series
1 20110401 CHNN CHNN-BT/ 4 / 11-12 Chennai Bank Rcpt 86
2 20110405 SHNGR SLGR-BT/ 1 / 11-12 Chennai Bank Rcpt 86
Template Name: Stock Transfer Lines
RecordKey LineNum ItemCode Quantity WarehouseCode
RecordKey LineNum ItemCode Quantity WarehouseCode
1 0 COS4 36 SHNGRTR
1 1 COS4 36 SHNGRTR
1 2 COS4 36 SHNGRTR
1 3 COS2 408 SHNGRTR
1 4 COS2 108 SHNGRTR
1 5 COS72 108 SHNGRTR
1 6 COS37 96 SHNGRTR
1 7 COS37 48 SHNGRTR
1 8 COS37 108 SHNGRTR
1 9 COS58 108 SHNGRTR
1 10 COS58 66 SHNGRTR
1 11 COS48 78 SHNGRTR
1 12 COS2 396 SHNGRTR
1 13 COS2 108 SHNGRTR
2 0 COS2 12 CHN02
2 1 COS2 36 CHN02
2 2 COS48 48 CHN02
2 3 COS47 48 CHN02
2 4 COS58 48 CHN02
2 5 COS37 48 CHN02
2 6 COS4 12 CHN02
2 7 COS4 36 CHN02
Template Name: BatchNumbers
RecordKey LineNum BaseLineNumber BatchNumber Quantity
RecordKey LineNum BaseLineNumber BatchNumber Quantity
1 0 0 MS 186 36
1 1 1 Ms 188 36
1 2 2 Ms 189 36
1 3 3 S45 408
1 4 4 S47 108
1 5 5 N101 108
1 6 6 301 96
1 7 7 205 48
1 8 8 BWN/108/001 108
1 9 9 FWMC/108/0 108
1 10 10 FWMC/109/005 66
1 11 11 BBN/108/001 78
1 12 12 S48 396
1 13 13 S49 108
2 0 0 S42 12
2 1 1 S43 36
2 2 2 Cos48 48
2 3 3 BWN/108/00 48
2 4 4 FWMC/108/0 48
2 5 5 205 48
2 6 6 MS - 184 12
2 7 7 MS - 185 36
Thanks,
Surendra -
SELECT G/L ACCOUNT IN INVENTORY TRANSFER FORM
HI EXPERTS!
Is it there any way to select G/L Account in Inventory Transfer Form.
I want to select another stock account without altering the current setup in Item Group G/L Account setup.
SudhirHi Sudhir,
You can not change GL Account when doing Inventory Transfer.
You have to change GL Account in GL Determination >>> Accounting Tab.
Please also check below link.
No Matching records found for the GL Account"
GL account setup for inventory transfer
http://help.sap.com/saphelp_sbo900/helpdata/en/45/06b8ab7d720487e10000000a155369/content.htm
Hope this help
Regards::::
Atul Chakraborty -
Dear Friends,
I've created a pld for inventory transfer for one item with batch level management.We have issued the entire qty of item from one batch.But in system pld and our customized pld the batch line detail is multiplying and it is showing twice the same batch details.
Can anyone help me out for this issue
Regards,
Suresh KannanHi,
I think you are picking qty from IBT1 where two entries are entered while doing inventory transfer for batch manged items. You should pick qty with a filter of one warehouse then you would get the correct figure.
Regards,
/Siddiq -
FMS for auto populating itemcodes in detail grid of Inventory Transfer
Hi All,
Could anyone please give me the query for Formatted search to populate item codes in the detail grid of 'Inventory Transfer' automatically based on Production Order details, by selecting a 'Production Order No.' in a UDF in Inventory Transfer entry.
I had tried the following FMS Query :
Declare @LineNum Int
Declare @ProdNo Varchar(10)
Declare @ItemNo Varchar(40)
Set @LineNum = $[$23.0.62]
Set @ProdNo = $[OWTR.U_ProdOrderNo]
Set @ItemNo = (Select WOR1.itemcode From OWOR Inner Join WOR1 on OWOR.DocEntry = WOR1.DocEntry
And OWOR.DocNum = @ProdNo and WOR1.VisOrder = @LineNum - 1 )
Select @ItemNo
But user has to manually click on the itemcode FMS icon on each and every row to set the itemcode in that particular row.
Can all the itemcodes get populated in 1 go just by selecting the Production Order No ?
Thanks,
WilliamHi William,
You can also use the shortcut key Shift+Alt+F2 to open User Defined Table as specified by Nagarajan.
Please check following link too
Working with User Defined Values in SAP Business One | Packt Publishing
Regards
JO -
Query to Lookup Ship To in a UDF for the Inventory Transfer
Good Day Experts!
I created a UDF for the Ship To Code in the Inventory Transfer Window. The problem is I do not know how to create a query to be used in the Formatted Search for this UDF wherein it will lookup all the Ship To Codes in the table CRD1 of that particular Customer selected in the Inventory Transfer window. The objective is to choose a Ship to code just like in the sales document.
My next problem would be how to display automatically the whole Ship To Address in another UDF based on the Ship To Code chosen in the UDF Ship To Code.
Your inputs would be highly appreciated.
Regards,
JenTo get the Complete ShipTO Address, use the following Code
SELECT T0.cardname+CHAR(13)+isnull(T0.Address,'')+CHAR(13)+
cast(T0.Building as varchar(100))+CHAR(13)+isnull(T0.city,'')+CHAR(13)
+isnull(T0.zipcode,'') as Address FROM CRD1 T0
WHERE T0.CardCode =$[OWTR.CardCode] and T0.cardtype='S' and
T0.Address=$[OWTR.UDF1]
Here Replace UDF1 with the Name of the UDF in which Shipto Address Names are shown as per my previous post.
Hope you understand -
Duplication of document numbers for Credit Memo, Inventory Transfer, etc.
Hi folks!
Good Day!
We have noticed that there are credit memo numbers, inventory transfer numbers etc. that were duplicated in two different transaction in two different dates. Can you give a theory or possible reasons why this one happened? Let's refer to the credit memo first. I have searched these two credit memo in the database and I only found 1 of them... I used their names, details, codes and other info to locate the other CM but I failed.
SCENARIO:
A/R CREDIT MEMO NUMBER follows a pattern of (COMPANY NAME)-(CREDIT MEMO NUMBER)-(BRANCH)
I have created a credit memo last April 12, 2011 with the document number (ABCD-20050002-MNL) generated by the system.
with one item (BLUE TILE) and addressed to John Scott.
We found out that another credit memo dated April 29, 2011 having the same document number (ABCD-20050002-MNL) making it a duplicate of the first one. This second transaction has one item also (BLACK PAINT) and was addressed to Olivia Dunham.
We found this when they are already printed or in hard copies. I just want to ask for your opinions, theory or suggestion with regard to this situation. Is there a possibility where it was duplicated while in the printing process?
Looking forward to hear from you....
Thanks!
=)Hi Kambadasan,
Thanks.
I already checked the relationship and linking of number from the document to the layout printing and everything seems to be ok.
It follows and copy's the exact numbers.
Thanks again -
ObjectKey empty for Stock Transfer
Why the value of ObjectKey is empty?
This is my code:
Public Sub FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean)
If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD Then
If BusinessObjectInfo.BeforeAction Then
BubbleEvent = ControlloPreventivoMatricole()
Else
If BusinessObjectInfo.ActionSuccess Then
Dim sObjectKey As String = BusinessObjectInfo.ObjectKey
Select Case BusinessObjectInfo.Type
Case "15"
Call AggiornaMatricoleBolla(sObjectKey)
Case "67"
Call AggiornaMatricoleTrasfMerce(sObjectKey)
End Select
End If
End If
End If
End SubDear Andrea
Thank you for this question. What you are reporting looks to me like a bug in the system. In order to make sure that it will be scheduled to be fixed I would recommand you to open a support ticket.
The channel for such questions is the Service Marketplace http://service.sap.com/. Please post it there.
Best regards
Miki
Edited by: Miki Zilbershtein on Feb 27, 2008 12:20 PM -
Records is not coming in Delta for Inventory Cubes.
Hi..All
We are working on BW3.5 SP11 since 01.07.2005.
We are facing a very serious problem in Inventory management data extraction from R/3 since 24.08.2005.
Our active data sources of Inventory Mangement are as follow.
2LIS_03_BF
2LIS_03_BX
2LIS_03_UM
We were regularly getting records through delta as per given schedule after intialisation on 01.07.2005 to till 23.08.2005.
On 24.08.2005 -- Delta schedule we had find out there are some records that were created in R/3 did not come in BW.
On 24.08.2005 -- records loaded in PSA was 20550. The same is appering in RSA3(EXTRACTORS) also.
The Last material document loaded was 4900154552 date 23.08.2005 time 16:56:05 of R/3, but there are many other material documents that were created on the same day but are missing in the extraction.
On 25.08.2005 delta schedule records are getting 0 (Zero). Not a single record is getting in RSA3 (Extractor).
on 26.08.2005 situation is still as it is. No record is coming.
Where as our average records per day is approx. 20000 nos.
The update mode for inventory is Unserialised V3 update, and the update program in R/3 is running perfectly fine as per schdule with no errors.
We could not understand why suddenly stop the extraction of records FOR INVENTORY MANAGEMENT. Because rest all
data sources like Purchasing,Sales and Distribution,Quality Mangement, and PP is working fine on same date.
We checked the data in extractor checker with giving UPDATE MODE "F"-Transfer all requested data.
Still it is showing 0 (Zero Records) for data sources 2LIS_03_BF,2LIS_03_UM.
The situation is still as it is as of now.
This is very crutial for our business. All inventory reports are showing data which is 3 days old.
Please give your advice on this issue. And how to get the records in PSA from R/3.
Regards,
NavinHi Ravindra,
Thanks for giving input. The problem got solved.
There was a problem with QRFC Table. Tcode LBWQ
Status was wait.
Thanks for giving feedback.
Regards,
Navin
Maybe you are looking for
-
I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the
-
Clarify these words:posting period varients & open & close posting period
Hi Sap Gurus, Someone kindly make me clarify following words.Thank you. 1.Posting period varient. 2.Open & close posting periods 3.Assign posting period varients to company code-What does it do after assignment? Best Regards, priya desai Financial An
-
IWeb Update - Publishing to MobileMe Problem
After running the 3.0.2 update I tested the app and all was well - or so I thought! I don't use MobileMe much and decided to test the claim that it "resolves some issues related to publishing sites to MobileMe". Well, of course, publishing to MobileM
-
Can you backup home screen buttons?
You know when your in Safari, you can put the website into your homescreen bookmark? Does iTunes backup these things? Meaning if I sync my iPhone and then restore it; will they be able to get my placement of custom icons / bookmarks on my home screen
-
Order of software installation on new MBP
I have ordered a new Mac Book Pro, plus Windows and Parallels. I also need to load new Mac software on the MBP, plus some Windows apps like Explorer 6. I am wondering about the order to do the installs. For example, should I handle the Windows stuff