Automate Checkout Process

Hi,
Oracle WCC:11g
Oracle DB :11g
Scenario:
I have 50 Assets(Doc's, PDF .. soon) in my Content server.
I want to do automate checkout for some assets say 20 and update content info of those doc's to revision 2 in content information page of WCC. (This should be happened automatically, no manual work). ==> can this be achieved writing scripts or Java code
I want remaining 30 Assets which were not checkout to update there revisions as automatically from 1 to 2.
Is it possible to achieve the above two tasks!!
Thank You

> In your above advice, we have to explicitly provide the list of content items to be checkout & revisions updated in our custom component rite??
Of course, you have to. In your example of 50 items (will you really have just 50 items in your all systems?) only 20 will be checked out and unless you tell the system which 20 will that be, you cannot perform the checkout service - see http://docs.oracle.com/cd/E29542_01/doc.1111/e11011/core.htm#CSSRG2206 (it takes dID, the unique identifier of a revision to be checked out, you custom code will just call this service for all items).

Similar Messages

  • Excel VBA - Automatically checkout and checkin documents from SAP R/3

    Hello,
    I'm trying to implement some sort of automatic solution for checking out and in documents in SAP.
    We have EasyDMS as Document Management System and need to reword about 10000 files which have a bug in their macro. For this purpose I created an Addin for Word and Excel that changes the macros automatically when opening a file. Due to security problems we cannot distribute this Addin to all Users (because you must deactivate macro security for enabling this Addin). So we thought about a possibility to automate the process and do the changes over weekend.
    My idea was to write a makro in Excel that takes the information about the files (documentnumber, version...) form an Excel table and uses RFC to call a function that can checkout the files. On this machine the Addin would be enabled, of course.
    I found the function "BAPI_DOCUMENT_CHECKOUTMODIFY2" and tried to implement the call via RFC, but I get an error.
    The error says: Application-defined or object-defined error
    I think the Problem is the data structure of the parameters.
    Can someone figure out how I have to set up the parameters to get the function to work? I have no idea how this should be done, although I read some tutorials.
    Thanks for your help!
    regards,
    Thomander
    Here is my Code so far (I stopped because I get the error at line "objDocumentfile.Value = "Test 2.doc"):
    Dim sapConn As Object 'Declare variant
    Set sapConn = CreateObject("SAP.Functions") 'Create ActiveX object
    If sapConn.Connection.Logon(0, False) <> True Then 'Try Logon
       MsgBox "Cannot Log on to SAP"
    End If
    Dim objFunction As Object
    Set objFunction = sapConn.Add("BAPI_DOCUMENT_CHECKOUTMODIFY2")
    Dim objDocumenttype As Object
    Dim objDocumentnumber As Object
    Dim objDocumentpart As Object
    Dim objDocumentversion As Object
    Dim objDocumentfile As Object
    Set objDocumenttype = objFunction.Exports("DOCUMENTTYPE")
    objDocumenttype.Value = "PM2"
    Set objDocumentnumber = objFunction.Exports("DOCUMENTNUMBER")
    objDocumentnumber.Value = "A5N00030059989"
    Set objDocumentpart = objFunction.Exports("DOCUMENTPART")
    objDocumentpart.Value = "000"
    Set objDocumentversion = objFunction.Exports("DOCUMENTVERSION")
    objDocumentversion.Value = "D"
    Set objDocumentfile = objFunction.Exports("DOCUMENTFILE") = "Test 2.doc"
    objDocumentfile.Value = "Test 2.doc"
    Dim objCheckedoutfile As Object
    Set objCheckedoutfile = objFunction.Exports("CHECKEDOUTFILE")

    Hello,
    I'm trying to implement some sort of automatic solution for checking out and in documents in SAP.
    We have EasyDMS as Document Management System and need to reword about 10000 files which have a bug in their macro. For this purpose I created an Addin for Word and Excel that changes the macros automatically when opening a file. Due to security problems we cannot distribute this Addin to all Users (because you must deactivate macro security for enabling this Addin). So we thought about a possibility to automate the process and do the changes over weekend.
    My idea was to write a makro in Excel that takes the information about the files (documentnumber, version...) form an Excel table and uses RFC to call a function that can checkout the files. On this machine the Addin would be enabled, of course.
    I found the function "BAPI_DOCUMENT_CHECKOUTMODIFY2" and tried to implement the call via RFC, but I get an error.
    The error says: Application-defined or object-defined error
    I think the Problem is the data structure of the parameters.
    Can someone figure out how I have to set up the parameters to get the function to work? I have no idea how this should be done, although I read some tutorials.
    Thanks for your help!
    regards,
    Thomander
    Here is my Code so far (I stopped because I get the error at line "objDocumentfile.Value = "Test 2.doc"):
    Dim sapConn As Object 'Declare variant
    Set sapConn = CreateObject("SAP.Functions") 'Create ActiveX object
    If sapConn.Connection.Logon(0, False) <> True Then 'Try Logon
       MsgBox "Cannot Log on to SAP"
    End If
    Dim objFunction As Object
    Set objFunction = sapConn.Add("BAPI_DOCUMENT_CHECKOUTMODIFY2")
    Dim objDocumenttype As Object
    Dim objDocumentnumber As Object
    Dim objDocumentpart As Object
    Dim objDocumentversion As Object
    Dim objDocumentfile As Object
    Set objDocumenttype = objFunction.Exports("DOCUMENTTYPE")
    objDocumenttype.Value = "PM2"
    Set objDocumentnumber = objFunction.Exports("DOCUMENTNUMBER")
    objDocumentnumber.Value = "A5N00030059989"
    Set objDocumentpart = objFunction.Exports("DOCUMENTPART")
    objDocumentpart.Value = "000"
    Set objDocumentversion = objFunction.Exports("DOCUMENTVERSION")
    objDocumentversion.Value = "D"
    Set objDocumentfile = objFunction.Exports("DOCUMENTFILE") = "Test 2.doc"
    objDocumentfile.Value = "Test 2.doc"
    Dim objCheckedoutfile As Object
    Set objCheckedoutfile = objFunction.Exports("CHECKEDOUTFILE")

  • Are 'read only' items causing my automatic row processing to fail?

    I have a form that uses automatic row processing to update my table.
    I recently had to add a check to lock down the fields using the read only condition where a record has been 'approved'. So, I turned off all of the fields and hid the update button.
    Now they want me to check to see if the user is a manager, and if so, allow them to see the update button, and make a single field on the form modifiable.
    I have the user identified as a manager, and can make the field accept the change (a yes/no combo box). Yet when they click the update button, the form just sits there. A branch is supposed to fire on hitting that button, taking them back to the previous report, but it doesn't happen. The source of the combo box in question uses a column on the table, and works fine when the form has all of the fields showing for modification.
    I had some validations that I finally set to never fire, thinking that they were failing and just not giving the error messages. I know a bad sql or pl/sql atatement in a validation will cause the form to just keep sitting there doing nothing, and thought it might help.
    Several of the various fields are combo boxes, several are text boxes.
    I'm stumped.
    Shall I keep the regular update button hidden whether it is a manager or not (because it has been 'approved'), and enable a new button that fires off a process to update the one field that the manager may want to change? Does making a field 'read only' always have a detrimental effect on the auto processes I've been counting on? Is that if fact what is happening now?
    Thanks in advance for any advice or comments on this.
    Clayton

    Hi, Scott.
    My version is 3.0.0.00.20
    I have received info to set up the application, though I have not activated it as yet. I'm reluctant to try to load up the various tables to make it work. It could be done.
    My workaround is to that the user (a manager) fires off to another form to show an individual record, and ask if he/she really wants to make this change. On submit, they will be taken back to the original locked down form, and I will update the single field in that process of returning them. This will actually be a plus, in that I expect to show them all of the 'duplicate' entries for that item, and show them that by 'activating' this particular item, they will 'deactivate' the one duplicate that is currently active. Or, if they are deactivating the sole item that is active, that there will in fact be no active items in the system. Convoluted as heck, but they swear this is how they've been doing business with their briefcases and file cabinets of Excel files. I'm surprise they even float at this point (these are ships we're talking about).
    This all may be due to the form originally having a next/previous/count process once arrived at my clicking on the edit button of the report of items. All of that has been hidden away, and though the fields exist of the form, they are not used. They only see the current item that they clicked on from the report.
    I read up a little on session state, as well as posts with the debug error I was getting. I'm still not on board with the whole issue of 'state'. Items stay as they are until they're changed, no? I suppose that sounds simplistic.
    One of the things that caught my eye was several combo box lists that on read only mode, showed [] square brackets. Which, in some cases is okay.
    What I'll try to do is set up a public application - for future use if nothing else. I'm going to be working on this for awhile. I have more than a bit of work to do to cleanse the data as well as get rid of the single sign on requirement (I'll assume that I should have to do this) in order to share the app.
    I know you're expecting me to have this up and running for you to look at, but I'm under the gun. And they actually like my workaround.
    I'll keep everybody informed, one way or another.
    Clayton

  • Processing Static (via automatic row processing) & Dynmaic fields

    Hi,
    I have a page that has 2 sections. Section S is statically driven which I'd like to process via a Automatic Row Process DML. Section D is for dynamic fields which I process via a PL/SQL script.
    I need to process Section D (dynamic) first.
    Now they're 2 things that I'm noticing when I try this. Can someone please confirm.
    - After my process of Section D it seems to make a commit. I know this since I have a error in Section S, and the values from Section D are committed to the DB. I need to make sure a commit only occurs after all page processes have completed error free.
    - My Automatic Row Process DML for Section S doesn't seem to work at all. It can't seem to read the values at all. I know this since I have several columns which are "NOT NULL" and the appropriate error messages are being raised. The Automatic Row Fetch for Section S does work properly.
    For the time being the work around is writing a process for the entire page which includes both Section S and Section D. The thing is I thought that HTMLDB would be able to help me out a lot with Section S since it had static fields etc.

    Martin - I would try to debug these two processes separately. If the Auto DML process isn't firing, perhaps the button used to submit the page isn't setting the request to one of the standard values recognized by the Auto DML package ('INSERT','CREATE','CREATE_AGAIN','CREATEAGAIN' for inserts and 'SAVE','APPLY CHANGES','UPDATE','UPDATE ROW','CHANGE','APPLY' or like 'APPLY%CHANGES%' for update).
    A commit happens whenever session state is changed, so if your process saves an item value, that would do it. If you think that is not the cause of the commit, let me know the details of the process and I'll take a closer look. There is no way to prevent the commit when session state is updated.
    Scott

  • Without Automatic Row Processing (DML)

    Hi All
    I try to make one page to show use DML statements without standard Automatic Row Process.
    What I have:
    One page with:
    region: Report - select empno, ename, sal, deptno from emp;
    region: Form with items: p6_empn, p6_ename, p6_sal, p6_deptno
    addictionaly in that moment I have:
    process CreateProcess:
    begin
    insert into emp (empno, ename, sal, deptno)
    values (emp_seq.nextval, :P6_ENAME, :P6_SAL, :P6_DEPTNO);
    commit;
    end;
    and button CREATE.
    Create Process is fired when I push CREATE button and Insert statement works corecctly. Branch is on the same page. (I use request).
    Now I would like to show update and delete statements.
    In Report I have in column EMPNO standard button Edit (each row)
    (<img src="#IMAGE_PREFIX#edit.gif" alt="Edit">)
    I have process SelectProcess:
    begin
    select ename,sal,deptno
    into :p6_ename, :p6_sal, :p6_deptno
    from emp
    where empno = :p6_empno;
    end;
    It is fired In Load _ Before Header
    When I push Edit in one row I would like to see details of employee in Form, but I see nothing. In session state all is correct - I see :p6.... with name, sal and ...
    I dont know how to connect this process with buton and branch.
    could you help me?

    Hi,
    I have done a quick test for this - [http://htmldb.oracle.com/pls/otn/f?p=25946:1]
    On the Edit page, I have a process called P2_LOAD_DATA that runs "On Load - Before Header", is conditional on P2_EMPNO being NOT NULL and using the following code:
    BEGIN
    SELECT EMPNO, ENAME, JOB
    INTO :P2_EMPNO, :P2_ENAME, :P2_JOB
    FROM EMP
    WHERE EMPNO = :P2_EMPNO;
    END;I have a button with a Button Name setting of "UPDATE" (user sees this as Apply Changes)
    I then have a process that runs "On Submit - After Computations and Validations" and is conditional on REQUEST = UPDATE. The code is:
    BEGIN
    UPDATE EMP
    SET ENAME = :P2_ENAME,
    JOB = :P2_JOB
    WHERE EMPNO = :P2_EMPNO;
    END;The source settings on P2_EMPNO, P2_ENAME and P2_JOB are as I described in my previous post.
    One thing to check - do you have a "reset page" process? If so, remove it.
    Andy

  • Adding a new field to an Automatic Row Processing form

    Hi,
    I have a form that I built through the form Wizard which has an automatic row processing function. It is working very well, except that any new fields I add to the form are not being updated in the database when the row is processed. I have set up the field exactly the same as other fields which are working and were originaly created by the wizard. I have deleted and recreated the row processing Page Process, but nothing seems to make it work. Have I missed anything? I don't want to recreate my page from scratch each time I want to add a new field.
    Thanks,
    Steve

    if you're positive that your new fields/columns update correctly when you use Text Field items and not when you use Select List ones, i'd check to see what your select lists are returning. a good way to see exactly what your form got from your select list items is to check the session state for your select list items right after you submit your page (clicking the "Session" link in your developer toolbar in your runtime environment is a good way to get to this info). also, even though you said your added Text Fields work and your Select Lists don't, i'd still check the "Source Type" and "Source value or expression" fields of your select list items to make sure they're set correctly. for form items to work with your table in htmldb auto-dml processing, you need to set the "Source Type" to "Database Column" and the "Source value or expression" to the case-sensitive name of your db column.
    hope this helps,
    raj

  • Solved: Delete Using Automatic Row Processing

    See Scott's reply below for the answer.
    Hi there,
    I have an application built in APEX 3.0.1 that I would like to be able to use a button to delete a single row from an underlying database table (owned by the parsing schema).
    My APEX page has a 3 HTML regions on it:
    1. Only a Select List and Go button for User selection (of Debit Note)
    2. Ten display Items (Text Field, Disabled saves state) displaying further information about User selection
    3. Conditional Delete button (region with custom image) - only displays when P73_DEBITNOTEID is NOT NULL
    I'd like this button to be used to Delete the Selected Item and thought I'd be able to use a Data Manipulation Page Process - Automatic Row Processing (DML) page process to do this.
    However, when I go through the wizard the Select item containing primary key column value field has no values in the search list.
    My first question is why was there no values in the list?
    So I manually entered the Item I required (P73_DEBITNOTEID) but when I run the page and click the button I get a PL/SQL missing expression error.
    What is the best practice method to do DML actions on the underlying database tables. The tables are all owned by the parsing schema.
    Your help in resolving this matter would be greatly appreciated.
    Kind Regards,
    Gary.

    Gary,
    The DML processes (and the creation wizards for them) are for use with items having source type Database Column. If your page items don't use this source type, then neither the Automated Row Fetch nor the Automatic Row Processesing (DML) process types will work.
    Scott

  • Understanding "automatic row processing"

    hi,
    i have problems understanding automatic row processing in apex.
    at first i thought there is a relation between page process (fetch row, insert, update,...) and page items / reports.
    something like: Item P1_TESTTEXTBOX (Source=Database Column => "TESTCOLUMN") referes to process "FETCH ROW FROM TESTTABLE"
    but i havent found any relation.
    then i thought there is a "global pool of database columns" (fetched, inserted, updated by a page processes)... when a fetch process loads data from a db-table, all columns from this table are stored in a "dictionary"...but this also didnt seems to be right.
    i did some testing to understand the (row fetch) behavior but there a still some questions:
    - i created 2 Processes (Data Manipulation -> Row Fetch) in "After Header" on 2 different Database tables but each with a Column "TESTCOLUMN" (for testing^^) . It didn't work properly: it seems that only one fetch process is executed .
    I'm still not quite sure how automatic row processing (fetch, insert, update) is working...
    are there any explanation about this issue? i havent found any information that goes into detail.

    ok, some testing later i come to the conclusion that the automatic row processing works like this:
    when a row (fetch) process starts, ALL binded Page Items (Source Type=Database Column) tries to load their data from the current fetch-process.
    i tried to add 2 different Regions containing some Page Items (TextBox) that binds to a Database Column.
    * Region1 should contain Artikle-Information (refers to DB-Table Article)
    * Region2 should contain Article-Detail Informations (refers to DB-Table ArticleDetails)
    i am not able to create 2 Row fetch processes in 1 page, because i got an error when the first row-fetch process starts "Column [XY] not found in table [YZ]"
    obviously there is no way to "link" processes to regions, reports or page items.
    or is it possible to create 2 regions (in 1 page) with automated row processing, that refers to different tables ? (region1/report1 => DBTable1, region2/report2 => DBTable2)?
    (the only way i see is that i create a view that contains these 2 DBTables, so i only need one row fetch process for this page)
    thanks in advance
    rene...

  • Automatic Row Processing?

    Hi,
    I have a requirement to create forms that insert into multiple tables and returns items from multiple tables. What are my options? Can I still use automatic row processing and fetching?
    Thanks in advance.

    create multiple regiions embedded with different table

  • Automatic row processing insert fail

    Hi all,
    Application Express 3.2.1.00.11
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    I am running into a problem where my automatic row processing will update and delete records but will not insert. I get the following error.
    ORA-44003: invalid SQL nameI disabled all triggers and added the appropriate fields to my form and manually entered correct data and am still having the issue. I can run a trace but only the dba has access to retrieve the file and he is gone. Any suggestions on where to start? i checked debug mode and it is definitely hanging on the ARP.
    Cheers,
    Tyson Jouglet

    All,
    Finally fixed it!!! So if you experience this problem, double check all of your item sources. I was upgrading a date column to a timezone column and subsecuently made it three different items. Long story less long, I left the original date item on the form and deleted the source column name but i forgot to change the item source from database column to something else. This will not effect how apex deletes or updates a record but it will not allow you to insert a new record. I know this is a user error, but maybe this could be added as a validation?
    Cheers,
    Tyson Jouglet

  • Payment terms in automatic payment process

    Dear Experts,
    Can anyone tell me,how to make it sure,payment terms assigned in documents are not considered in automatic payment process.Per example,If one pyment term is of 15 days due net,it will not allow us to make the payment before the due date.
    I can assign payment terma immediately due net in the vendor master.This is the secondary thing.If already we have end number of documents posted with the payment term with 15 days due net,then how to go about it.Now there is an option of changing it manually one by one,which is tedious.
    Please advice
    Regards
    Partha

    Hi,
    From FBL1N, you can chnage the baseline date through MASS change option.
    From FBL1N, select the documents for which you want to chnage the terms. Click on the Mass Change icon. From the pop up screen, input a baseline date as required and execute. All the documents will be updated with the given baseline date.
    For example, if you give a baselline date of 30 days back, the invoices (with 15 days payment terms) will fall due immediately as of today.
    Regards,
    Mike

  • Automatic Payment Process through Schedule Manager

    Dear Experts,
    I am an infant in SAP..just started my foot steps by formally taking up a sap course from siemens. I would like to get a complete configuration details for the scheduling automatic payment process. The scenario I could think of is a weekly payment run for a company code at 7.30 pm..Please help.
    Thanks,
    Aspirant

    Hi,
    In FBZP you need to do the config. for the automatic payment.
    1All co codes:fill the paying co code.
    2)Paying co codes :give Min and Max amount for payment and form payment advise.
    3)Payment methods in country :In country creat the p.method
    eg: for cheque :pay method 'c',select outgoing payments,check and give document type for paymentand under apyment medium program 'rffous_c'
    4)payment methods in co code:give the same pay method (c)in your co code here and amt lmt and form for payment medium
    5)bank determination:give the bank details i.e crcy,paymethod,house bank,account id,bank sub account,available amts etc.
    6)house banks:give the detials of your bank account.
    there will be no schedule job for f110.
    Further you need to configure check lot,house banks for this.
    regards

  • Automatic Return processing

    How automatic Return processing is done?
    please can any explain step by step....
    Regards,
    Kenstar

    Please refer the below link
    Re: Use of External Payment Collectors
    you need to replace RFKKZEDG/RFKKZEDA with RFKKRLDG/RFKKRLDA respectively. Use FPB5 to process the lot and FPB6 to process the errors.
    Hope this helps.
    Rgds
    Rajendra

  • Customer Account Information not populating in Checkout process

    Firstly, THANK YOU in advance for any help troubleshooting this -- I'm absolutely in the weeds.
    I've taken over a Business Catalyst site that was dropped by a different designer/management company at an incomplete stage, so am admittedly trying to clean up somebody else's mess at this point.  Most of the kinks are worked out, save for one: Saving/retrieving customer information.
    What's worked:
    - Setting up a Secure Zone for customers to create a profile, log in and review order info
    - Tying that login information to the checkout process so that customers can use that login information to proceed to the payment page with (some of) their informaiton already popuplated
    What's not working:
    - The retention and population of the Billing Address information.  It is not saving the Billing Address information from the original registration page, nor the Account Information page (wherein they can update their account details), and then (obviously) isn't populating it onto the checkout page form.  It is, however, keeping and populating the name, email, company name and phone number fields from those same forms.
    On the Customer Registration page (step 1), the Billing Address fields are included in the form, like so:
    <tr>
                            <td><label for="BillingAddress">Billing Address <span class="req">*</span></label><br />
                            <input type="text" name="BillingAddress" id="BillingAddress" class="cat_textbox" maxlength="500" value="{module_billingaddress}" /></td>
                        </tr>
                        <tr>
                            <td><label for="BillingCity">City <span class="req">*</span></label><br />
                            <input type="text" name="BillingCity" id="BillingCity" class="cat_textbox" maxlength="255" value="{module_billingcity}" /></td>
                        </tr>
                        <tr>
                            <td><label for="BillingState">State <span class="req">*</span></label><br />
                            <input type="text" name="BillingState" id="BillingState" class="cat_textbox" maxlength="255" value="{module_billingstate}" /></td>
                        </tr>
                        <tr>
                            <td><label for="BillingZip">Zipcode/Postcode <span class="req">*</span></label><br />
                            <input type="text" name="BillingZip" id="BillingZip" class="cat_textbox" maxlength="255" value="{module_billingzip}" /></td>
                        </tr>
    However, when you go to review your account details on the Account Settings page after creating your customer profile, these fields remain blank.  An attempt to give them values and then submit the updates also returns null values on the updated page.  Following is that section of code from the Account Settings page:
    <tr>
                            <td><label for="BillingAddress">Billing Address <span class="req">*</span></label><br />
                            <input type="text" name="BillingAddress" id="BillingAddress" class="cat_textbox" maxlength="500" value="{module_billingaddress}" /></td>
                        </tr>
                        <tr>
                            <td><label for="BillingCity">City <span class="req">*</span></label><br />
                            <input type="text" name="BillingCity" id="BillingCity" class="cat_textbox" maxlength="255" value="{module_billingcity}" /></td>
                        </tr>
                        <tr>
                            <td><label for="BillingState">State <span class="req">*</span></label><br />
                            <input type="text" name="BillingState" id="BillingState" class="cat_textbox" maxlength="255" value="{module_billingstate}" /></td>
                        </tr>
                        <tr>
                            <td><label for="BillingZip">Zipcode/Postcode <span class="req">*</span></label><br />
                            <input type="text" name="BillingZip" id="BillingZip" class="cat_textbox" maxlength="255" value="{module_billingzip}" /></td>
                        </tr>
    Then of course comes the page to checkout, from the Module Templates > Registration - Buy section, which includes this nugget of code to capture/display the billing information:
    <div class="item"><label>Billing Address</label><br />
        <input type="text" name="BillingAddress" id="BillingAddress" class="cat_textbox" maxlength="500" value="{module_billingaddress}" /> </div>
        <div class="item"><label>City</label><br />
        <input type="text" name="BillingCity" maxlength="255" id="BillingCity" class="cat_textbox" value="{module_billingcity}" /> </div>
        <div class="item"><label>State</label><br />
        <input type="text" name="BillingState" maxlength="255" id="BillingState" class="cat_textbox" value="{module_billingstate}" /> </div>
        <div class="item"><label>Zipcode/Postcode</label><br />
        <input type="text" name="BillingZip" maxlength="255" id="BillingZip" class="cat_textbox" value="{module_billingzip}" /> </div>
        <div class="item"><label>Country</label><br />
    ... I feel like I must be missing something obvious here, but can't for the life of me figure out why this information isn't being saved/updated/displayed.  Help!                   

    I have exactly the same issue. I think the problem is that the registration and edit account forms are not set up on the back-end to parse the billing or shipping information. Only the Checkout/Quote forms are.
    *Edit - It would appear that ONLY the "Registration - Buy" form parses this data on the back-end. The "Registration - Quote" form does not.
    My solution for now is to not have the customer enter billing and shipping details on registration, nor be able to edit it in the account section. Instead, I display the information and put a note to the customer saying that any billing and shipping address changes can be accomplished upon the next checkout.
    Frustrating, as in my view, a customer should be able to edit those as necessary, and provide them up front if desired. In my situation, which is strictly a business to business ecommerce site, a customer can only see prices and add items to the cart once they are logged in, and in order to be allowed to log in, they have to be vetted by the company. However if the customer could provide billing and shipping info up front in the registration process, it would save my client some time by not having to enter those details separately for the customer in the CRM, in cases where the customer buys things on account instead of by credit card.
    *Edit - actually, having those fields on the registration form will show up in the email auto-response to the customer and in the workflow notifaction to the client role responsible. My client could still see the information, reducing some work, but now the customer could be frustrated, knowing they entered those values, only to not see them show up in their account nor be allowed to edit them once they're added.
    *Further edit - Even though I can manually enter the Billing Address in the CRM for the customer (can't manually add a shipping address), those values don't show up anywhere I've asked for {module_billing*}. So they can only be properly captured upon first or subsequent check-out. Then they will show up.
    Mario's instructions for pre-populating the checkout form values are correct. Those {module_billing*}'s do exist and work if the data is in the CRM for the customer, as Liam said in post 7 here. I have it implemented in my checkout forms. Unfortunately the {module_billingdetails} (from Liam's link to the Module Quick Reference) does not do anything at all, and the {module_shippingaddress} cited there only grabs the street name and number.
    Using the {module_home*} may work, but really, that's a kludge. As a developer you have to remember what is what, and a client, managing customers on a day to day basis (especially in my situation where it's only B2B), has to remember that Home Address in the CRM is actually Billing Address. But the Billing Address, I would assume, has to be captured anyway in the checkout for the system to work properly on the back-end. So there's potential for Home Address to get mixed up with Billing Address in the client's mind, and Billing Address, if entered into the CRM manually to get overridden by something else upon checkout. Then there might be a situation where the customer needs to enter a Home Address, but is a contractor working from home and needs the Billing Address to be the company they contract to because they use the company credit card or something. Really, just a kludge.

  • Can I automate the process of printing booklet?

    Can I automate the process of printing booklet?
    I use a saved Print Preset named "A5 booklet"
    I supply page range 1-16 then print as pdf using PDFCreater.
    File Name as 01.pdf, then pages 17-32 as 02.pdf and so on.
    I am aware that InDesign provides printBooklet() method through scripting, but I have no clues how to use it.
    Any links or scripts are welcome.
    Thanks and regards.

    Thanks stephen0218 for the idimposer link.
    I'm aware of Print Booklet... functionality, and I am currently using it to manually print booklets from InDesign files.
    I want to automate the print booklet task itself.
    I make 01.pdf with page range of 1-16, then 02.pdf with page range 17-32 and so on.
    It is not that much tedious for small files of upto 160 pages, which generate 10 pdf files. But for larger projects of upto 600 pages, the manual work is very time consuming and error prone process.
    I tried to call "document.printBooklet" function in JavaScript, but got stuck in supplying dynamic page ranges.
    Here is the Documentation.
    It will be a great help if anyone can help me here.
    Thanks and regards.

Maybe you are looking for