Pick Release API doesn't update records

Does anybody has any documentation on how the wsh_deliveries_pub.delivery_action API works.
The lack of documentation sucks. I am running the following procedure to pick release a delivery...
wsh_deliveries_pub.delivery_action(
p_api_version_number => 1.0 ,
p_init_msg_list => null,
x_return_status => v_return_status,
x_msg_count => v_msg_count,
x_msg_data => v_msg_data,
p_action_code => 'PICK-RELEASE',
p_delivery_id => 407,
p_delivery_name => 407,
x_trip_id => v_trip_id,
x_trip_name => v_trip_name
This returns return_status of 'S', and msg_count of 0.
When I look at the status of the delivery, which hasn't changed.
Can somenody tell me if I am doing anything wrong here???
I really appreciate your help...
Thanks a ton,
Venkat

(Related StackOverflow question: http://stackoverflow.com/questions/28555056/publishing-doesnt-update-the-api-azure-mobile-service)
Your browser is probably just caching the page. If you can connect to the new endpoints, then they are definitely there. Try using a different browser or running in Incognito or InPrivate mode.

Similar Messages

  • Include planned line parameter in pick release api

    Hi all,
    During Pick Release API , how can I set the include planned lines parameter (P_INCLUDE_PLANNED_LINES ) to yes .
    Currently it is giving No in WSH debugger report.
    can anyone help me ?
    regards
    sanjay

    Hello Nagamohan,
    Much appreciated.
    But our current process is, we are using the seeded program (wsh_pick_list.release_batch_srs).
    This is doing pick_release for all the items in a order.
    example: we have 100 items. user has to enter in my new form = 35 items....so I will use my API to pick release only 35 instead of 100.
    I did all my research, I am able to create MO header/line, PICK confirm API is ready.
    BUT only concern is: I am not able to populate the table MTL_MATERIAL_TRANSACTIONS_TEMP after (create_batch, MO_header/line,pick_release API).
    Could U please let me know...how can I populate the TEMP table above with valid data....which API does for this.....in MTL_TXN_REQUEST_LINES table I can't see (TXN_SOURCE_ID & TXN_SOURCE_LINE_ID ).
    I am struggling this issue last 2 weeks. Noone answered in this page or in metalink. I am not sure, if many people have faced this type of situation.
    Thanks
    Satya Pal
    [email protected]

  • Pick Release Batch generation

    Hi All,
    I want to automate the whole process of Pick Release->Ship Confirm
    For this I need to call the APIs. But I am not sure about which APIs I need to call.
    However I plan to first Create the Batch_id (WSH_PICKING_BATCHES_GRP.Create_Batch) for particular Order, then using this batch id I will call pick release API(wsh_pick_list.release_batch). But here I am not getting how to generate the batch_id. Kindly help, if other ways then also suggest.
    Thanks
    Sachin.

    The flow is this..
    wsh_picking_batches_pub.create_batch creates a row in the wsh_picking_batches. This gives batch_id created in this table. If you pass the value, you can pass using the sequence mentioned earlier. If not it generates the batch_id on its own using the same sequence.
    wsh_picking_batches_pub.release_batch creates a move order (creates records in mtl_txn_request_headers and mtl_txn_request_lines and if you choose auto allocate mtl_material_transactions_temp). This also creates a delivery if you wish when the parameter (a column in the table wsh_picking_batches) says autocreate delivery. If you want to manually allocate and not part of the release_batch you can use inv_pick_release_pub.
    Now the order line is ready to be pick confirmed. You pick confirm using inv_pick_wave_pick_confirm_pub.
    You can automate all these steps just in release batch API if the item does not have any inventory controls and assigning the ship confirm rule to the the batch.
    If not you can you use wsh_deliveries_pub to ship confirm the order line.
    Thanks
    Nagamohan

  • Move order number when doing the pick release

    hi everyone ,
    is there any way to specify the move order number when doing the pick release process
    i wante to passe the move order number to the pick release API procedure
    or is it possible to change it after doing the pick release
    best regards

    Uses MTL_TXN_REQUEST_HEADERS_S sequence to generate the move order number in, I believe, when-validate-item tirgger.
    Thanks
    Nagamohan

  • R12 Order Management Setup and API for Pick Release

    Hi All,
    I am doing pick release using Release Sales Order form of Order Management of Oracle Apps R12. Pick Release process is going fine , but the the status of lines are not getting updated. If we explicitly do reservations before pick release and then do pick release from Release Sales Order form, line status is being updated as pick released. If we do pick release from Shipping Transactions Form, then there is no need of explicit item reservations. Please suggest me, is there any setup steps to be done, so that i will tell the functional guys to do it.
    Also I am executing the WSH_PICKING_BATCHES API for create batch and release batch, the same thing i.e the pick release process is working fine but the line status is not getting updated.
    Is Release Sales Order form and Shipping Transactions Form uses different API's to do the pick release?.
    If we have to do explicit Item Reservations, what is the API used?
    Thanks and Regards,
    Mahesh
    Edited by: magu on May 1, 2009 11:59 AM

    I figured out the problem. In Release Sales Order Form, we have to uncheck the Prior Reservations Only check box, so that the items will be first reserved and then pick release.
    Thanks and Regards,
    Mahesh

  • I want to Pick Release in 11.5.9 through API , What API I can Used?

    Hi.expert
    I want to Pick Release through API in 11.5.9, What API I can Used?

    You need to apply patch 3438823 which provides the Pick Release Public API to create and release a picking batch and also provides the functionality to allow picking criteria of groups of items based on Item category and category sets and also provision is provided to "exclude/include only" ShipSets/SMCs in a batch.
    Check Note: 435444.1 - WSH_PICKING_BATCHES_PUB Package for Pick Release Public API does not Exist in Release 11.5.9
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=435444.1

  • When you will release a new java update ? With the last it doesn't work correctly ( java 3d )

    I use java 3d, but with the last update it doesn't works with any browser

    "When you will release a new java update ?"
    "We" don't release anything; we're not Apple, we're just users like you.
    Use the feedback form to send queries to Apple.
    http://www.apple.com/feedback/macosx.html

  • Need API Name for PIck Release and Ship Confirm for WMS Module

    Hi All,
    One if my requirement is that Initially I will create Internal Sales Order and send to the other system (legacy) there they do the shipping then they provide the flat file which contains shipping information. Based on the incoming file I will close the order. Here they are using the WMS to process the pick release and ship confirm.
    Can any one please help me how to do pick release and ship confirm by using an API or Interface in WMS. If knows please provide the name of the API's and flow.
    Thanks,
    Prasanna

    For external orders we have a solution on WMS_DEVICE_CONFIRMATION_PUB api.
    may be you have done pick release using this api in WMS enabled organizations. After pick release
    you can use WSH api to do Ship Confirm.
    Anatoly.

  • How to use Pick Release Rule  while doing pick relase from API.

    Hi All,
    I need to Pick Release the Order based on pick release rule through and API. I am using WSH_DELIVERY_PUB to do Pick release/confirm.
    I did not find any parameter in the API which allows to use Picking rules for Pick Release.
    Is there any way we can do the PICK RELEASE using Picking Rule through APIs.
    Any information on this will be appreciated.
    Thanks
    Sreenivasa Gurani.

    Hi Srini,
    You need to use WSH_PICK_LIST.RELEASE_BATCH API, this one has two parameters
    1. p_batch_id -- Get it from WSH_DELIVERY_DETAILS tables
    2. p_log_level -- Not requires
    Or
    By Using this API you create the Batch
    WSH_PICKING_BATCHES_PUB.CREATE_BATCH -- This API Returns Batch id
    use this batch_id for WSH_PICK_LIST.RELEASE_BATCH
    Thanks
    Reddy

  • API to pick release a sales order

    Hi All,
    I have a requirement of picke releasing a sales Order from back-end.
    I have the order in the booked status, In my pick release program I am calling the program to generated the batch id by calling the package WSH_PICKING_BATCHES_PKG.Insert_Row(), and then release the batch by calling
    WSH_PICK_LIST.release_batch(), but the order is not pick release.
    I found out that WSH_PICKING_BATCHES_PKG.Insert_Row(), generates a batch id but it is not inserting data into the table WSH_PICKING_BATCHES, I dont know why. Can anyone help in this regard as to where the problem might or what other API's if they exist can be used to pick release the order.
    Any method of pick releasing suggested will be highly appreciated.
    I am in 11.5.9 and we dont have the patch 3438823 applied in our system.
    Thanks
    Ashwini

    we are using these 2 APIs, it works.
    apps.wsh_picking_batches_pub.create_batch
    and
    apps.wsh_picking_batches_pub.release_Batch

  • Pick Release using backend API

    Hello All ,
    I am trying to pick release one sales order using standard API WSH_DELIVERIES_PUB .
    I am using the below block.
    DECLARE
    -- Standard Parameters.
    p_api_version NUMBER;
    p_init_msg_list VARCHAR2(30);
    p_commit VARCHAR2(30);
    --Parameters for WSH_DELIVERIES_PUB.Delivery_Action.
    p_action_code VARCHAR2(15);
    p_delivery_id NUMBER;
    p_delivery_name VARCHAR2(30);
    p_asg_trip_id NUMBER;
    p_asg_trip_name VARCHAR2(30);
    p_asg_pickup_stop_id NUMBER;
    p_asg_pickup_loc_id NUMBER;
    p_asg_pickup_loc_code VARCHAR2(30);
    p_asg_pickup_arr_date DATE;
    p_asg_pickup_dep_date DATE;
    p_asg_dropoff_stop_id NUMBER;
    p_asg_dropoff_loc_id NUMBER;
    p_asg_dropoff_loc_code VARCHAR2(30);
    p_asg_dropoff_arr_date DATE;
    p_asg_dropoff_dep_date DATE;
    p_sc_action_flag VARCHAR2(10);
    p_sc_close_trip_flag VARCHAR2(10);
    p_sc_create_bol_flag VARCHAR2(10);
    p_sc_stage_del_flag VARCHAR2(10);
    p_sc_trip_ship_method VARCHAR2(30);
    p_sc_actual_dep_date VARCHAR2(30);
    p_sc_report_set_id NUMBER;
    p_sc_report_set_name VARCHAR2(60);
    p_wv_override_flag VARCHAR2(10);
    x_trip_id VARCHAR2(30);
    x_trip_name VARCHAR2(30);
    -- outparameters
    x_return_status VARCHAR2(10);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_msg_details VARCHAR2(3000);
    x_msg_summary VARCHAR2(3000);
    -- Handle exceptions
    fail_api EXCEPTION;
    BEGIN
    -- Initialize return status
    x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
    -- Call this procedure to initialize applications parameters.
    FND_GLOBAL.APPS_INITIALIZE(
    user_id => 7830
    , resp_id => 51460
    , resp_appl_id => 660);
    -- Values for WSH_DELIVERIES_PUB.delivery_action
    p_action_code := 'PICK-RELEASE'; -- Releases Lines related to a delivery
    p_delivery_id := 16092; -- delivery ID that action is performed on
    -- Call to WSH_DELIVERIES_PUB.Delivery_Action.
    WSH_DELIVERIES_PUB.Delivery_Action(
    p_api_version_number => 1.0,
    p_init_msg_list => P_init_msg_list,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data,
    p_action_code => p_action_code,
    p_delivery_id => p_delivery_id,
    p_delivery_name => p_delivery_name,
    p_asg_trip_id => p_asg_trip_id,
    p_asg_trip_name => p_asg_trip_name,
    p_asg_pickup_stop_id => p_asg_pickup_stop_id,
    p_asg_pickup_loc_id => p_asg_pickup_loc_id,
    p_asg_pickup_loc_code => p_asg_pickup_loc_code,
    p_asg_pickup_arr_date => p_asg_pickup_arr_date,
    p_asg_pickup_dep_date => p_asg_pickup_dep_date,
    p_asg_dropoff_stop_id => p_asg_dropoff_stop_id,
    p_asg_dropoff_loc_id => p_asg_dropoff_loc_id,
    p_asg_dropoff_loc_code => p_asg_dropoff_loc_code,
    p_asg_dropoff_arr_date => p_asg_dropoff_arr_date,
    p_asg_dropoff_dep_date => p_asg_dropoff_dep_date,
    p_sc_action_flag => p_sc_action_flag,
    p_sc_close_trip_flag => p_sc_close_trip_flag,
    p_sc_create_bol_flag => p_sc_create_bol_flag,
    p_sc_stage_del_flag => p_sc_stage_del_flag,
    p_sc_trip_ship_method => p_sc_trip_ship_method,
    p_sc_actual_dep_date => p_sc_actual_dep_date,
    p_sc_report_set_id => p_sc_report_set_id,
    p_sc_report_set_name => p_sc_report_set_name,
    p_wv_override_flag => p_wv_override_flag,
    x_trip_id => x_trip_id,
    x_trip_name => x_trip_name);
    if (x_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
    raise fail_api;
    else
    dbms_output.put_line('The delivery '||p_delivery_id || ' is successfully pick released');
    end if;
    EXCEPTION
    when fail_api then
    WSH_UTIL_CORE.get_messages('Y', x_msg_summary, x_msg_details,x_msg_count);
    if x_msg_count > 1 then
    x_msg_data := x_msg_summary || x_msg_details;
    Dbms_output.put_line('Message Data : '||x_msg_data);
    else
    x_msg_data := x_msg_summary;
    Dbms_output.put_line('Message Data : '||x_msg_data);
    end if;
    END;
    However I am geting the following error.
    Message Data : Error: Number of concurrent requests launched successfully: 0. Number of requests that failed: 1.Error: Launching Pick Release failed for Delivery 16092.
    I am able to do Pick Release from front end .
    Regards,

    Hi there,
    I need to create custom Pick Release code as part of whole new Shipping Module.
    Can you share with me the backend code you have for 'Pick Release'?
    I'll appreciate that very much.
    And also please let me know the release level of your Oracle Applications.
    Thanks.
    Bobby

  • Are pick released lines updated real time?

    Hello,
    When you pick release an order do the delivery detail line status get updated in the wsh_delivery_details table as they are released individual or after the pick release program finishes pick releasing the entire order?
    Thanks for any information you can provide.

    - We have a third party warehouse management system that will do the shipping.
    - So when orders are in a pick release status we send that order to the warehouse.
    - We look at the following tables for the pick released orders in real time: WSH_DELIVERY_DETAILS,wsh_new_deliveries
    So the problem occurs when the pick release program is running.
    It will first insert the header of the order in the wsh_new_deliveries table and then as the order lines are being pick released it updates the WSH_DELIVERY_DETAILS table.
    Our interface starts when it sees a new order in the wsh_new_deliveries table. The interface will then pick all the pick released order lines. But because the pick release program is still pick releasing the lines the interface will only pick a subset of the pick released lines.
    So we don't know when the pick release program is finished finished pick releasing the lines.
    Of course we can add a time delay but there is never a guarantee.

  • Get error ORA-20505 and ORA-01403 when UPDATING record

    Hi,
    I'm running APEX 3.2.1, on Oracle XE 10.2.0.1, on Sun Ultra20 (Intel-based) running Windows Server 2003.
    I created a small, department database - to keep track of contacts, equipment, etc.
    Initially, I used a NUMBER as the PRIMARY KEY in both the CONTACTS table and EQUIPMENT tables. I created a CONTACTS interactive report and a CONTACT DETAILS form, where the EDIT button on a row in the CONTACTS report brings up the individual record to modify. Same thing for EQUIPMENT - interactive report page and form page.
    This all worked fine!
    Then, I decided to change the PRIMARY KEY for the CONTACTS table to a STRING - with CONTACT_FIRST_NAME and CONTACT_LAST_NAME as the primary key. I figured I this would prevent duplicate entries. After the change, inserts work. Updates work, IF a change is made to ANY field EXCEPT first name or last name.
    UPDATES fail - if user modifies EITHER the first name or last name - in APEX. But, update SUCCEEDS if done in SQL Developer. Obviously, I missing a subtle nuance in APEX, but I can't figure it out.
    I've included DEBUG trace and version information below.
    Thanks,
    Andy
    ORA-20505: Error in DML: p_rowid=Adam1, p_alt_rowid=CONTACT_FIRST_NAME, p_rowid2=Adam, p_alt_rowid2=CONTACT_LAST_NAME. ORA-01403: no data found
    0.02: A C C E P T: Request="SAVE"
    0.02: Metadata: Fetch application definition and shortcuts
    0.02: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -06:00
    0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    0.02: ...NLS: Set date format="DD-MON-YYYY"
    0.03: Fetch session state from database
    0.03: ...Check session 1896858759858984 owner
    0.03: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    0.03: ...NLS: Set date format="DD-MON-YYYY"
    0.03: ...Check for session expiration:
    0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 101, page 21
    0.05: ...Validate item page affinity.
    0.05: ...Validate hidden_protected items.
    0.05: ...Check authorization security schemes
    0.05: Session State: Save form items and p_arg_values
    0.05: ...Session State: Save "P21_CONTACT_FIRST_NAME" - saving same value: "Adam"
    0.06: ...Session State: Saved Item "P21_CONTACT_LAST_NAME" New Value="Adam Jr"
    0.06: ...Session State: Save "P21_CONTACT_COMPANY" - saving same value: "Atempo"
    0.06: ...Session State: Save "P21_CONTACT_JOB_TITLE" - saving same value: "Sr Sw Engr"
    0.06: ...Session State: Save "P21_CONTACT_JOB_ROLE" - saving same value: "Engineering"
    0.06: ...Session State: Save "P21_CONTACT_STATUS" - saving same value: "Active"
    0.06: ...Session State: Save "P21_CONTACT_PRODUCT" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_PHONE" - saving same value: "222-333-4444"
    0.06: ...Session State: Save "P21_CONTACT_MOBILE" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_FAX" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_EMAIL" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_STREET" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_CITY" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_STATE" - saving same value: "CO"
    0.06: ...Session State: Save "P21_CONTACT_ZIP" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_COUNTRY" - saving same value: "United States"
    0.06: ...Session State: Save "P21_CONTACT_NOTES" - saving same value: ""
    0.06: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.06: Branch point: BEFORE_COMPUTATION
    0.06: Computation point: AFTER_SUBMIT
    0.06: Tabs: Perform Branching for Tab Requests
    0.06: Branch point: BEFORE_VALIDATION
    0.06: Perform validations:
    0.08: ...Item in validation equals expression 2: P21_CONTACT_JOB_ROLE
    0.08: ...Item in validation equals expression 2: P21_CONTACT_STATUS
    0.08: ...Item Not Null Validation: P21_CONTACT_PHONE
    0.08: ...Item in validation equals expression 2: P21_CONTACT_STATE
    0.08: ...Item in validation equals expression 2: P21_CONTACT_COUNTRY
    0.08: Branch point: BEFORE_PROCESSING
    0.08: Processing point: AFTER_SUBMIT
    0.08: ...Process "Process Row of ISR_CONTACTS": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:ISR_CONTACTS:P21_CONTACT_FIRST_NAME:CONTACT_FIRST_NAME:P21_CONTACT_LAST_NAME:CONTACT_LAST_NAME|IU
    0.08: Show ERROR page...
    0.08: Performing rollback...
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database     
    NAME     XE
    CREATED     06/08/2010 05:22:50 PM
    RESETLOGS_TIME     07/09/2010 10:09:59 AM
    PRIOR_RESETLOGS_CHANGE#     193066
    PRIOR_RESETLOGS_TIME     06/08/2010 05:22:52 PM
    LOG_MODE     ARCHIVELOG
    CHECKPOINT_CHANGE#     4436025
    ARCHIVE_CHANGE#     4387159
    OPEN_RESETLOGS     NOT ALLOWED
    VERSION_TIME     07/09/2010 10:08:44 AM
    OPEN_MODE     READ WRITE
    PROTECTION_MODE     MAXIMUM PERFORMANCE
    PROTECTION_LEVEL     MAXIMUM PERFORMANCE
    REMOTE_ARCHIVE     ENABLED
    DATABASE_ROLE     PRIMARY
    ARCHIVELOG_CHANGE#     4458138
    SWITCHOVER_STATUS     SESSIONS ACTIVE
    DATAGUARD_BROKER     DISABLED
    GUARD_STATUS     NONE
    FORCE_LOGGING     NO
    CGI Environment     
    PLSQL_GATEWAY     WebDb
    GATEWAY_IVERSION     2
    SERVER_SOFTWARE     Oracle Embedded PL/SQL Gateway/10.2.0.1.0
    GATEWAY_INTERFACE     CGI/1.1
    SERVER_PORT     8080
    SERVER_NAME     XDB HTTP Server
    REQUEST_METHOD     GET
    QUERY_STRING     p=4500:36:1896858759858984:::::
    PATH_INFO     /f
    SCRIPT_NAME     /apex
    REMOTE_ADDR     10.135.65.180
    SERVER_PROTOCOL     HTTP/1.1
    REQUEST_PROTOCOL     tcp
    REMOTE_USER     ANONYMOUS
    HTTP_USER_AGENT     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)
    HTTP_HOST     isr-si-project:8080

    Maybe because you're changing primary key...and then updating record with primary key that doesn't exist.

  • Update Record Server Behavior blows error (its part of CS5.5 standard installation!)

    One wouldn't expect the code supplied by a MAJOR CORPORATION and WEB DEVELOPMENT TECHNOLOGY LEADER to blow an error on one of the server behaviors it supplies as part of its standard install. But then again, there is reality.  The UpdateRecord.js, to be found in your installation on Windows 7 at ..ProgramFiles(x86(/Adobe Dreamweaver CS5.5/configuration/ServerBehaviors/Php_MySQL/UpdateRecord.js  causes an error when it is selected from the SERVER BEHAVIORS menu.  This happens BEFORE you I enter anything into the fields.  The error states:  "While executing onLoad in  UpdateRecord.htm, the following JavaScript error(s) occured: At line 687 of file "........UpdateRecord.js":  name has no properties.  I've looked at the code and it is beyond my comprehension.  Something about the NAME of a value in the node list.... I just don't have the chops to go rewriting Adobe's code.  If I did, I'd be making the big bucks.  Does anybody know what to do about this? About my system:  Windows 7, 64bit,   CS5.5 (on a lease so it is up to date) using PHP and MySQL, on a remote dedicated server running Apache on Linux.   :<)McFrisco

    Ok, I deserved that spanking.  I was just frustrated.  Sorry for the rant. 
    I've managed to figure out a workaround on this.  There really is something wacky going on with Dreamweaver and the Update Record handler.  Here's what I did:   
    How to trick DREAMWEAVER into writing an UPDATE RECORD. 
    Dreamweaver's server behavior for Update Record doesn't work correctly sometimes.  The symptom of this is that when you try to fill in the popup form provided by the Server Behaviors/Update Record menu item, it doesn't allow you to choose form fields to update to the database if they are posted there by a previous page.  It only allows you to choose them if they are bound to the database.  This doesn't do any good, because you are updating a record with the information from the database you want to update, NOT with new information.  Kind of weird... But here's the way to get around it.  Its a bit tedious but it works.   
    1.  On a clean php page, set up a form with the input fields matching the database fields you want to update.  This page is to be used as the RESULT page of a form submitted on a previous page where the UPdate Record won't work due to conflicts, plugins, or some other unknown reason.   
    2.  Connect to the database table you want to update,  and set up a new RECORDSET on the page. 
    3.  Bind all the form fields to the appropriate database fields. 
    4.  Do an Update Record behavior based on this form.  This will actually do nothing but update the record with the stuff that is already in the record, as noted above.   
    5. Delete the php code that sets up the record set.  But, LEAVE THE Update Record code alone!  It is correct.   
    6.  Change the bindings of all the fields in the FORM to the $_POST[] variables passed from the form on the previous page. (Make sure the previous page form uses the POST, not the GET method.)
    Now, when you submit the form it will pick up the values in the form, which have been passed from the previous page's form.

  • Mapping problem with compressed key update record

    Hi, could you please advise?
    I'm getting the following problem:
    About a week ago replicat abened with "Error in mapping" error. I found in discard file some record looking like:
    filed1 = NULL
    field2 =
    field3 =
    field4 =
    field5 =
    datefield = -04-09 00:00:00
    field6 =
    field8 =
    field9 = NULL
    field10 =
    Where filed9 = @GETENV("GGHEADER", "COMMITTIMESTAM"), field10 = = @GETENV("GGHEADER", "COMMITTIMESTAM"), others are table fields mapped by USEDEFAULTS
    So I got Mapping problem with compressed key update record at 2012-06-01 15:44
    I guess I need to mention that extract failed in 5 minuts before it with: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <[CFileInfo::Read] Timeout expired after 10 retries with 1000 ms delay, waiting to read transaction log or backup files. To increase the number of retries, use SETENV (GGS_CacheRetryCount = n) in Extract parameter file. To control retry delay time, use SETENV (GGS_CacheRetryDelay = n). handle: 0000000000000398 ReadFile GetLastError:997 Wait GetLastError:997>.
    I don't know if it has ther same source as data corruption, could you tell me if it is?
    Well, I created new extract, starting 2012-06-01 15:30 to check if there was something with extract at the time, but got the same error.
    If I run extract beging at 15:52 it starts and works.
    But well, I got another one today. Data didn't look that bad, but yet one column came with null value:( And I'm using it as a key column, so I got Mapping problem with compressed key update record again:(
    I'm replicating from SQL Server 2008 to Oracle 11g.
    I'm actually using NOCOMPRESSUPDATES in Extract.
    CDC is enabled for all tables replicated. The only thing is that it is enabled not by ADD TRANDATA command, but by SQL Server sys.sp_cdc_enable_table, does it matter?
    Could you please advise why does it happen?

    Well, the problem begins somewhere in extract or before extract, may be in transaction log, I don't know:(
    Here are extract parameters:
    EXTRACT ETCHECK
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    SOURCEDB TEST, USERID **, PASSWORD *****
    exttrail ./dirdat/ec
    NOCOMPRESSUPDATES
    NOCOMPRESSDELETES
    TABLE tst.table1, COLS (field1, field2, field3, field4, field5, field6, field7, field8 );
    TABLE tst.table2, COLS (field1, field2, field3, field4 );
    Data pump:
    EXTRACT DTCHECK
    SOURCEDB TEST, USERID **, PASSWORD *****
    RMTHOST ***, MGRPORT 7809
    RMTTRAIL ./dirdat/dc
    TABLE tst.table1;
    TABLE tst.table2;
    Replicat:
    REPLICAT rtcheck
    USERID tst, PASSWORD ***
    DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
    SOURCEDEFS ./dirdef/sourcei.def
    HANDLECOLLISIONS
    UPDATEDELETES
    MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
    MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
    Rpt file for replicat:
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
    Windows x64 (optimized), Oracle 11g on Apr 22 2011 00:34:07
    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
    Starting at 2012-06-05 12:49:38
    Operating System Version:
    Microsoft Windows Server 2008 R2 , on x64
    Version 6.1 (Build 7601: Service Pack 1)
    Process id: 2264
    Description:
    ** Running with the following parameters **
    REPLICAT rtcheck
    USERID tst, PASSWORD ***
    DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
    SOURCEDEFS ./dirdef/sourcei.def
    HANDLECOLLISIONS
    UPDATEDELETES
    MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
    MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 64K
    CACHESIZE: 512M
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 1G
    CACHESIZEMAX (strict force to disk): 881M
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG = "AMERICAN_AMERICA.CL8MSWIN1251"
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "CL8MSWIN1251"
    For further information on character set settings, please refer to user manual.
    ** Run Time Messages **
    Opened trail file ./dirdat/dc000000 at 2012-06-05 12:49:39
    2012-06-05 12:58:14 INFO OGG-01020 Processed extract process RESTART_ABEND record at seq 0, rba 925 (aborted 0 records).
    MAP resolved (entry tst.table1):
    MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
    2012-06-05 12:58:14 WARNING OGG-00869 No unique key is defined for table table1. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
    Using the following default columns with matching names:
    field1=field1, field2=field2, field3=field3, field4=field4, field5=field5, field6=field6, field7=field7, field8=field8
    Using the following key columns for target table R_019_000001.TCALCULATE: field3.
    2012-06-05 12:58:14 WARNING OGG-01431 Aborted grouped transaction on 'tst.table1', Mapping error.
    2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
    2012-06-05 12:58:14 WARNING OGG-01151 Error mapping from tst.table1 to tst.table1.
    2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
    Source Context :
    SourceModule : [er.main]
    SourceID : [er/rep.c]
    SourceFunction : [take_rep_err_action]
    SourceLine : [16064]
    ThreadBacktrace : [8] elements
    : [C:\App\OGG\replicat.exe(ERCALLBACK+0x143034) [0x00000001402192B4]]
    : [C:\App\OGG\replicat.exe(ERCALLBACK+0x11dd44) [0x00000001401F3FC4]]
    : [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x000000014009F102]]
    : [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B29CC]]
    : [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B8887]]
    : [C:\App\OGG\replicat.exe(releaseCProcessManagerInstance+0x25250) [0x000000014028F200]]
    : [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x000000007720652D]]
    : [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x000000007733C521]]
    2012-06-05 12:58:14 ERROR OGG-01296 Error mapping from tst.table1 to tst.table1.
    * ** Run Time Statistics ** *
    Last record for the last committed transaction is the following:
    Trail name : ./dirdat/dc000000
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: A (x41)
    RecLength : 249 (x00f9) IO Time : 2012-06-01 15:48:56.285333
    IOType : 115 (x73) OrigNode : 255 (xff)
    TransInd : . (x03) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 44 AuditPos : 71176199289771
    Continued : N (x00) RecCount : 1 (x01)
    2012-06-01 15:48:56.285333 GGSKeyFieldComp Len 249 RBA 987
    Name: DBO.TCALCULATE
    Reading ./dirdat/dc000000, current RBA 987, 0 records
    Report at 2012-06-05 12:58:14 (activity since 2012-06-05 12:58:14)
    From Table tst.table1 to tst.table1:
    # inserts: 0
    # updates: 0
    # deletes: 0
    # discards: 1
    Last log location read:
    FILE: ./dirdat/dc000000
    SEQNO: 0
    RBA: 987
    TIMESTAMP: 2012-06-01 15:48:56.285333
    EOF: NO
    READERR: 0
    2012-06-05 12:58:14 ERROR OGG-01668 PROCESS ABENDING.
    Discard file:
    Oracle GoldenGate Delivery for Oracle process started, group RTCHECK discard file opened: 2012-06-05 12:49:39
    Key column filed3 (0) is missing from update on table tst.table1
    Missing 1 key columns in update for table tst.table1.
    Current time: 2012-06-05 12:58:14
    Discarded record from action ABEND on error 0
    Aborting transaction on ./dirdat/dc beginning at seqno 0 rba 987
    error at seqno 0 rba 987
    Problem replicating tst.table1 to tst.table1
    Mapping problem with compressed key update record (target format)...
    filed1 = NULL
    field2 =
    field3 =
    field4 =
    field5 =
    datefield = -04-09 00:00:00
    field6 =
    field8 =
    field9 = NULL
    field10 =
    Process Abending : 2012-06-05 12:58:14

Maybe you are looking for

  • Using Time Machine with a Used External Hard drive

    I had posted a question before about using an external hard drive that I have for a Time Machine back up that already have some stuff on the hard drive, and if using it for Time Machine would erase the info I currently have on the drive. I got a resp

  • Problem in using a text area

    Hi All, I am having text area in my screen. I am using  CALL METHOD editor1->get_text_as_r3table            IMPORTING                table = it_text            EXCEPTIONS                OTHERS = 1. to get the text entered in the text area. The proble

  • Problem with WLS LDAP Authentication Provider

    We have configured WLS LDAP Authentication provider on an Oracle Service Bus domain, which is used to authenticate WS-Security Username Token and SAML Tokens against an external LDAP Directory (Sun Directory Server). After configuring this, we see th

  • Recovering Iphone after accidentally erased using 'Find My Iphone'

    I accidentally ERASED my iphone using 'Find My Iphone' on my iPad. How can i Recover my files in my Iphone? I haven't done any backups recently. not even using iClouds.

  • It won't let me change my payment info. Says to contact apple support

    I've used a few different credit cards and this time it won't let me change my payment info. Help!!!