Inventory Transfer Draft via Add

Hi,
           I need to make inventory Transfer,But it should not transferred immediately.It first gets added in Draft,but stock decreased from the respective counters of the source branch.After that from Draft document , stock gets added the destination Branch.
All should be done through DI
Plz Give me the Sample coding also
Thanks in Advance

Hi,
What is your B1 version and PL?
Thanks,
Gordon

Similar Messages

  • Upload Inventory Transfer as Draft via DTW

    Hy!
    I'm Gen from Japan.
    My customer want use Draft Inventory Transfer data as Shipping Instruction to 3PL.
    Are there any way to upload Inventory Transfer as Draft using DTW oDraft?
    I cannot find FromWarehouse which in ODRF stored in Filler column.
    My B1 version: 2005B PL40
    regards
    Gen

    Thanks Jeyakanthan.
    I've checked the note, and tried the step using my DTW.
    Unfortunately in my DTW (version 2005.0.19 API Version 6.80.320) there is no 'save as draft' checkbox.
    I've asked to SAP support, and they answered like below
    The FromWarehouse will be the default Warehouse that is set in the
    General Settings/Inventory/Items tab page/Default Warehouse field in the
    application. The reason for that is that the FromWarehouse property is
    not exposed for the documents object via DI API since draft does not
    implement stocktransfer interface and we are using regular document
    instead, so we are losing the properties of the stocktransfer.
    Business requirement is like below.
    *Customer has another system which creates shipping instruction to 3PL.
    *Firstly, I supposed to use the system for shipping instructo
    , and import the result from 3PL into Stock Transfer via iBolt.
    (Shipping instruction not to customer but to anothere WH)
    *But today, customer said that they want centralize all interface to 3PL via B1.
    *For that requirement, I tried to do whether it is able to interface Shipping Instruction as Draft Stock Transfer, create
    Shipping Instruction Data for 3PL from B1. After getting the result from 3PL create real Stock Transfer and update Draft Stock Transfer's status from open to close.
    Maybe it's simple to realize using SDK.
    As I haven't ever used SDK, I tried to check using DTW.
    Fortunately I'm in blue print face.
    I'll try to change the flow.

  • Error while posting report in inventory transfer from draft

    hi, 
             we have entered all the details in inventory transfer at the row level.Due to editing purpose we have saved it as draft.but now while posting the document it displayed the error as "No Matching records found".
    ca anybody tell what is the reason????
    regards priya

    Hi Priya,
    Please go through note 1112941
    https://service.sap.com/sap/support/notes/1112941
    If itu2019s not the case, please help collect error in detail.
    Hope it helps.
    Regards,
    Jacqueline Jiang
    SAP Business One Forums Team

  • I want add new column in matrix in "Inventory Transfer" Form (System Form)

    hai,
    i want to add new column in Matrix in "Inventory Transfer" Form (System Form)
    Is it possible or not?
    bye
    gopinath

    hai,
    i want coding how to add columns in the matrix ( system form)
    plz....
    bye
    gopi
    Edited by: Rui Pereira on Dec 23, 2008 4:45 PM

  • Problems with Draft - Inventory Transfer - SDK 2007

    Hi all, I have problems making a Draft document of a Inventory Transfer using the DIAPI, I know that the draft of inventory transfers is new in SBO 2007 and I have the correct version of the DIAPI installed, the problem is that I can't find the property "FromWarehouse", into the Draft Object.
    Thanks for help.

    Note that the header of this forum specifies:
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    I do not think your query concerns any of the above mentioned products? If that is the case, please post to the correct forum.
    Ludek

  • Inventory Transfer - Restrict Add

    Dear all,
    How do you restrict an inventory transfer document to be added if one of the row have its line total or some other field is blank or zero?
    thanks
    SV Reddy

    Hi SV Reddy.....
    If you use this SP then you can exactly find out at which row and for which Item of any row Block Num field is Empty.....
    Try once.....
    If @Object_type='67' and (@transaction_type ='A' or @transaction_type ='U')
    BEGIN
    declare @Item1 as varchar(100)
    declare @minline1 int
    declare @maxline1 int
    declare @BlockNum1 varchar(100)
    set @minline1 = (select min(T0.linenum) from WTR1 T0 where T0.docentry=@list_of_cols_val_tab_del)
    set @maxline1 = (select max(T0.linenum) from WTR1 T0 where T0.docentry=@list_of_cols_val_tab_del)
    while @minline1<=@maxline1
              begin
              select @Item1=T0.itemcode from WTR1 T0 where T0.docentry=@list_of_cols_val_tab_del and T0.linenum=@minline1               
              select @BlockNum1=T0.BlockNum from WTR1 T0 where T0.docentry=@list_of_cols_val_tab_del and  T0.linenum=@minline1               
              if      @BlockNum1 Is Null
                   begin
                        set @error=-1
                        set @error_message = 'Block Number in Inventory Trsnaction can't be blank ' + @Item1
                   End
                   set @minline1=@minline1+1
              end
    End
    Regards,
    Rahul

  • Closing a Stock Transfer draft (using Delphi 7)

    Hi, I have this code to close a Stock Transfer draft (ie. using 'Cancel' method):
               with GetBusinessObject(param_type) as IDocuments do begin
                 ok := GetByKey(StrToInt64(param_key));
                 if ok then result := Cancel();
            end;
    Somehow that code gives me an error. By using GetLastErrorDescription(), the error message is:
    "[Microsoft][SQL Native Client][SQL Server]Cannot insert the value NULL into column 'DocEntry', table 'SAP_TEST.dbo.DRF6'; column does not allow nulls. INSERT fails."
    FYI I used this code to close other document drafts (Sales Order Draft, Return Order Draft), and they are all OK, so looks like something is a bit different with Stock Transfer draft.
    Anybody has any idea what's wrong, and how to fix/handle it?
    Thanks.

    Hi,
    Stock Transfer and some other inventory transaction tables share the same structure with other marketing document tables. However, because the general design of the table structure is focus on marketing document part, Stock Transfer transaction will have certain limitations. You need to try more methods to close it.
    Thanks,
    Gordon

  • Inventory Transfer Report

    Hi experts,
       I want to retrieve data inventory transfer like
       Suppose Wh01 And Wh02
        I have done inventory transfer from Wh01 to Wh02 And Vice versa for I001
        I want in report like for subcontracting inventory transfer.....
    Regards,
    Sandy

    Hello Sir,
        Thanks for reply to me....
       But i want another result
    Scenario Like this-
       I am transferring I001 from wh01 to wh02 via inventory transfer Quantities suppose 10
       Now i transferring same item I001 from wh02 to wh01 via inventory transfer Quantities 8
    Then My report should shows following Fields
    DocNum  Series  CardCode    FromWhs    Towhs   InQuntities_In_Wh02  Out_QuntitiesIn_Wh02
    And Also 
    InQuntiies_In_Wh01     OutQuantitiesIn_Who2    Remaining_Qty
    I hope you guys will understand what i want ???
    like PurchaseVsSale report
    Regards,
    Sandy

  • Want to Prevent Inventory Transfer More than Planned Quantity

    Dear Experts,
    I want to Prevent Inventory Transfer More than Planned Quantity. so that No one can Post any Issue for Production More than Planned Quantity has Assigned that Production Order. Using SAP Business One B1 .
    Please Advice ......
    Thanks In Advance ,
    Ajibul Hakim

    Hello Gordon,
    Thanks for your Reply . I want to Prevent Inventory transfer , which will Exceed the Planned Limit. but yesterday I Have Tried Myself again and I have succeed ! so thanks you again ,
    Also thanks to Nagarajan for your kind reply and i wanted to do like that but I want to restrict Inventory transfer...
    I have Done Like this....
    IF @object_type='67' 
      BEGIN
      IF @transaction_type='A' OR @transaction_type='U'-----Add
          BEGIN
            IF exists(SELECT * FROM  WTR1 T0
          LEFT JOIN OWTR T1 ON T1.DocEntry=T0.DocEntry
            WHERE  (T0.U_PlanQTY<(T0.Quantity+T0.U_TotalIssue)) AND T1.U_OrderType='100'
                         AND T0.DocEntry=@list_of_cols_val_tab_del)
            BEGIN
             SET @ERROR=1
             SELECT @ERROR_message = N'Issued Quantity Can not More than Planned Qty ,Check again and reconfirm please '
            END
          END   
       END
    Thanks,
    Ajibul Hakim
    Message was edited by: Ajibul Hakim

  • How to Display Inventory Transfer Current DocEntry in UDF Created in WTR1

    Hi Expert,
         I want a Inventory Transfer Current Form DocEntry in UDF U_DocEntry which is in the wtr1 For specific Doc
         I have write SELECT T0.[DocEntry] FROM OWTR T0 WHERE T0.[DocEntry] = $[OWTR.DocEntry] but this FMS is not working
    Regards,
    Sandy

    Hi,
    You can get the Next docentry from this but if two user open document same time the both user get same docentry, and the user who add document first have the same docentry in udf and Document but another user document Docentry and UDF doc entry will be differ.
    You should try this in SP_TransactionNotification will give Exact DocEntry.
    IF @object_type= '67' and @transaction_type in ('A','U')
    BEGIN
      UPDATE OWTR
      SET U_DocEntry=T1.DocEntry
      From OWTR T1(NOLOCK)
      WHERE OWTR.DocEntry=T1.DocEntry AND T1.DocEntry=@list_of_cols_val_tab_del
    END
    Thanks

  • Field integration between Inventory Transfer and Sales Order?

    Dear Gurus,
    Hope to find you well, we have to redefine our processes of sales. Now stock from a remote site will be transferred to inventory in transit warehouse recorded. Truck Number(UDF) and Document Number  (Inventory Transfer) will be used to trace inventory status and creating Crystal Reporting from Stock Uploading till the A/R Invoice are created. My Query is how can this be achieved in SAP B1 2007 A Patch 10. Please advice. Its very important for us.
    Please find trail that will help you understand:
    Process Mapping Help Needed
    Faisal
    Edited by: Faisal Baloch on Nov 17, 2011 7:02 AM

    Dear Faisal,
    Unlike the higher package, B1 has no option to link between Inventory Transfer and Sales Order. You have to add UDF and manually maintain the link.
    Thanks,
    Gordon

  • Inventory transfer Discount through DIAPI not working.

    Dear Expert,
    I try to add a inventory transfer through DIAPI, every field success, except Dicsount Percent. I'm using SAPB12007APL49.
    Just a simple code:
    oStockTransfer.Lines.DiscountPercent= 3.00
    The inventory transfer successful added, BUT without the discount.
    Any one have idea on this?
    Thanks in advance for any help.

    Actually because of the database.... i tried on another Db can add discount.

  • Stock transfer Draft cannot be printed

    Hello
    We are using PL16 and want to print stock transfer drafts (under Inventory)
    However the print funtion is not working because it is not activated.
    Do you know how can we print this document?
    It is odd, because other drafts (sales order,...) can be printed.
    Thank you.

    When opening the drafts screen, single click on the draft document (inventory transfer in this instance) just to highlight it, and then print preview / printer dialog will become activated. It prints that way.

  • Sales Order/A/R Reserve Invoice & Inventory Transfer

    Hi
    Suppose I have 2 warehouses A and B. A has 3 units of a particular good and B has 6 units of that same good.
    I understand that if I want to create an A/R invoice for a sale of 7 units of the good, I have to transfer 1 unit from A to B or 4 units from B to A before the tax invoice can be created. Does this requirement to have the stocks in one warehouse also apply to an A/R reserve invoice? Can I create an A/R reserve invoice for 7 units of the good before the transfer is performed?
    My second question is this.
    A sales quotation may be created when the required goods are in different warehouses. Can I create a sales order with the required goods still in different warehouses?
    Thank you for your patience with my questions as I am new to SAP B1 and do not have access to a test system at the moment.

    Hi,
    Only Delivery or normal invoices are related to inventory. For Sales Order/A/R Reserve Invoice, you do not need Inventory Transfer.
    Thanks,
    Gordon

  • Customer wants Inventory Transfer to associate Freight/Landed Cost to Items

    This is the situation:
    SAP B1 customer wants sells items from warehouse 01 and warehouse 02. Warehouse 01 on eastern side of Canada and Warehouse 02 on Western side.
    They would like to transfer certain items to warehouse 02. However, it involves Freight or Landed Costs associated.
    The customer may adjust the price of items transferred to 02 or and if they don't they atleast would like to know whether they are taking a loss in selling the transferred items from warehouse 02.
    In order to know the cost of items or associated cost with the items in 02, they need to track Freight or Landed costs associated with the transfer to western Canada.
    Inventory Transfer does not allow us to associate any shipping charges? or am I missing something here?
    Associating shipping charges with inventory transfer seems like such a natural act of transfer through Trucks? why isn't it associated with inventory transfer function in SAP B1?
    As usual appreciate all your help?
    Thanks.

    You may check this thread to have a work around:
    Re: Is it possible to have Freight for Stock Tranfer between Warehouses?
    Thanks,
    Gordon

Maybe you are looking for

  • I have two apple ID's on my iPad. How can I remove one of them?

    If I have two apple ID's how do I remove one of them? I have no use for it plus I can't remember the password.

  • Websites are redirected to not what i clicked on.

    At least half the time when I click on a bookmark or on a link in facebook or any web page , i get redirected to a totally different web page then what I was seeking. I have searched for help with this but can't find an answer. I scanned for malware,

  • Configure VPN Server Cisco 877W

    Hello! I need to implement VPN Server on a Cisco 877W. The idea is as follows: Access the network from anywhere using the Cisco VPN Client; The router need receive a minimum 5 simultaneous connections; Each User would have a login and password; Cisco

  • Please confirm is the maximum Text Data Type Size within MDS 4000 characters

    Hi, Please confirm is the maximum Text Data Type Size within MDS 4000 characters? If you could give me a link referencing my answer to the above question that would be even better. Kind Regards, Kieran. Kieran Patrick Wood http://www.innovativebusine

  • Material delete

    Hai All,           I have 10 plants in a single company code, now I want to delete a material for a single plant can any one explain me bye sreenivasa chary Moderator message: Basic question -answer can easily beeing found with searching the forum or