Copy Opening & Closing Remarks from SO to PO
Dear all,
Anyone can help how to copy opening & closing remarks from Sales order to Purchase Order.
Regards,
Anna
In which field is the SO Number from where you want to copy the remarks. Get the remarks in some variable using Recordset / Query.
In the event, when the remarks form is launched copy the conents of those variables in the respective text boxes. or else create a button, to open the remarks form, by activating the menu, and than copy the variables there, and close the form.
Rahul
Similar Messages
-
Copy Open sales oder from one DB to Other DB
Hi Expets,
Can any one help me how to copy Open Sale Order from one data to another Database which exact replica(Both are Same configration)
Kathi.Karthi,
I could give you some guidelines as you only know about the complete business data.
You will need Header and Row level data.
Header Data:
DocNum, CardCode, DocDate, DocDueDate, SlpCode, GroupNum, TrnspCode
Row Data:
ItemCode, Quantity, Price, {any other additional row data....}
Suda -
How do I import an iweb domain file from an ibook (OS 10.4) to an imac (OS 10.73)?
I copied the domain file from my ibook to my imac, but when I double-click on the file, it doesn't open in iweb.In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder. Then place the domain file in your Users/Home/Library/Application Support/iWeb folder.
To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
tell application "iWeb" to activate
You can download an already compiled version with this link: iWeb Switch Domain.
Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder. So rename your domain files once they've been created to something other than the default name.
OT -
Reg : Viewing Opening and Closing remarks in the document
Dear All,
In any document (Sales Quotation, Sales order etc), while right click we can see Opening and Closing Remarks. I have entered Opening and closing remarks. But am not able view in the screen. Where i can view the same in the respective document.
Please do the needful
Thanks & regards
Venkatesh NHi,
You can check Note No. : 1038129 and 1289493 regarding the question asked by you.
Kind Regards,
Jitin
SAP Business One Forum Team -
Hi,
Right now I have a program written to automate an AOP pilot with a few inputs and outputs (3 valves, ozone generator, UV lamp, TOC meter, ozone meter in liquid and gas phase, and a UV-VIS detector). The valves are controlled with digital outputs, the rest are analog in- an outputs going into a USB-6009. The one exception is the UV-VIS detector (S::CAN Spectro::lyser). We read in about 200 Abs/m values with their corresponding wavelengths. The software of this tool is ran on the same computer and it writes down these values in an Excel file (.fp). My VI needs to select this excel file while running, and grabs the corresponding data from the Excel file. I made a finetuner to select the latest data from the excel file. Now, even though this works, it's not practical for many reasons. It closes all other excel files while running for example, and opens and closes Excel twice in 30 seconds.
I found out the software of the UV-VIS detector is written in LabView too, but the company doesn't seem to care much about sharing the original VI's or making it complementary with other LabView VI's. Now I was wondering if there's an easier solution than opening/closing Excel. Are global variables an option for this problem? I'm far from an expect in LabView, so I just want to know if I should put in the time to learn about global variables or not
Thanks in advance.
Dominichello dominic;
I have read your study about AOP recently and I wonder your Labview VI. Can you share the code you used with me?
kind regards,
Dr. Baris OZLUOYMAK
Electrical and Electronics Engineer (MSc)
University of Cukurova, Faculty of Agriculture,
Department of Agricultural Machinery,
01330 Adana / TURKEY
Tel: 90 322 3386408
Fax: 90 322 3387165
E-mail: [email protected] -
Can Firefox v4 be updated to allow opening recently closed tabs from the tab bar??
Opening recently closed tabs by right-clicking (the mouse) over the tab bar was available in Firefox up through the last released update to v3.6. I found it useful and easy to use. I understand that I can use 3 left-mouse clicks to open a recently closed tab from the history (click on upper-left Firefox button, navigate to/click on History, and then navigate to/click on Recently Closed Tabs), or press CTRL+SHIFT+T. Up until version 3.6, I could just simply right-click the tab bar to re-open a closed tab. Can right-clicking the tab bar be re-instituted in Firefox v4?
That tab context menu only shows if you right click a tab on the Tab bar.<br />
If you right click empty space then the toolbar context menu opens. -
Opening Stock+InwardQty+OutwardQty-Closing Stock from OINM
Can any SQL Expert can rectify my following query
Select DocDate,Dscription,SUM(InQty) as 'Inward Quantity',SUM(OutQty) as 'Outward Quantity',
(Select SUM(InQty)-SUM(OutQty)
from OINM where Itemcode='ACID BOTTLE - HCL' And DocDate
BETWEEN '2008-03-01 00:00:00.000' AND '2008-03-01 00:00:00.000') 'Closing Stock'
from OINM
where Itemcode='ACID BOTTLE - HCL' And DocDate BETWEEN '2008-03-01 00:00:00.000' AND
'2008-03-31 00:00:00.000'
Group by DocDate,Dscription
I am able to retrieve the SQL Query mentioned in above subject datewise but not able to add Closing Stock of Previous Row to Inward Qty of Next Row..........Hi,
I think you have been wrong in the setting of the date. Using your query, the system will not include the data of 31.03.2008 since the date condition you have made is between 2008-03-01 and 2008-03-01. It should as same as the 2nd date condition you have made i.e. 2008-03-01 and 2008-03-31.
if you still keep the fquery you have made previously, the result will be as same as you have written in your reply to me.
Select DocDate,Dscription,SUM(InQty) as 'Inward Quantity',SUM(OutQty)
as 'Outward Quantity', (select SUM(InQty)-SUM(OutQty) from OINm
where Itemcode='A1000' And DocDate BETWEEN '2008-03-01 00:00.000' AND
'2008-03-30 00:00:00.000') as 'closing stock'
from OINM
where Itemcode='a1000' And DocDate BETWEEN '2008-03-01 00:00:00.000' AND
'2008-03-30 00:00:00.000'
Group by DocDate,Dscription, OutQty, InQty
The result will be like this follows:
# Posting Date Item Description Inward Quantity Outward Quantity closing stock
1 06.03.2008 Boxing Gloves 0 1 329
2 26.03.2008 Boxing Gloves 101 0 329
3 29.03.2008 Boxing Gloves 1 0 329
4 29.03.2008 Boxing Gloves 0 1 329
5 30.03.2008 Boxing Gloves 2 0 329
6 30.03.2008 Boxing Gloves 14 0 329
7 30.03.2008 Boxing Gloves 6 0 329
8 30.03.2008 Boxing Gloves 8 0 329
9 30.03.2008 Boxing Gloves 35 0 329
10 30.03.2008 Boxing Gloves 6 0 329
11 30.03.2008 Boxing Gloves 50 0 329
12 30.03.2008 Boxing Gloves 20 0 329
13 30.03.2008 Boxing Gloves 30 0 329
14 30.03.2008 Boxing Gloves 100 0 329
15 30.03.2008 Boxing Gloves 0 2 329
16 30.03.2008 Boxing Gloves 0 10 329
17 30.03.2008 Boxing Gloves 0 10 329
18 30.03.2008 Boxing Gloves 0 20 329
373 44 329 -
How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive without opening a browser?
The guts of my computer were rearranged and I got a new main hard drive. My old one is still in there and I can get stuff from it, but when I go to the Mozilla folder on the old one, I can't figure out if there's anything I can do to get all my bookmarks from that drive to my new one, where Firefox is newly installed.If you open Firefox then Firefox will always use the default profile folder as found via profiles.ini on your system drive.
You either need to import the file in your current default profile or copy the file to your current profile folder while Firefox is closed.
Firefox 3 stores the bookmarks and the browser history in [http://kb.mozillazine.org/places.sqlite places.sqlite] and no longer creates an HTML backup by default.
There are also (five) JSON backups in the bookmarkbackups folder within the Firefox profile folder.
You can either copy the file places.sqlite to your [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or import the most recent JSON backup from the bookmarkbackups folder of that old profile.
See:
http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
See http://kb.mozillazine.org/Profile_folder_-_Firefox
"Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders.
See http://kb.mozillazine.org/Show_hidden_files_and_folders
Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files. -
How do I copy an address book from one user account to another?
How do I copy an address book from one user account to another?
You haven't understood me. Follow these steps:
1. Log in the user where are the files you want to transfer, and open a Finder window.
2. In Finder, select Go menu (on the menu bar) > Go to Folder, and type /Users/Shared. Now you're on Shared folder, so leave that window.
3. Open a new Finder window without closing the old one, go to the folder with the files you want to transfer, and copy them to Shared folder.
4. After copying the files to Shared folder, go to > Log Out, and log in the other user.
5. Repeat the step 2, and you will get access to the transferred files. Now, you can open them directly from this folder, or you can copy them to a folder on your user folder -
How to programmatically copy a OneNote page from one section to another
How to programmatically copy a OneNote page from one section to another.
I don't find any interface in OneNote
2010 Developer Reference which will let me do this.
any help?
Regards,
Umar
OneNote 2010Hi Umarinam,
Thank you for posting in the MSDN Forum.
In the page OneNote 2010 Developer Reference, you can see an Application Interface which includes methods
help retrieve, manipulate, and update OneNote information and content.
The below are some basic samples
Retrieving Section Metadata in OneNote 2010
Programmatically Opening and Closing a Notebook in OneNote 2010
Hope it helps.
Best regards,
Quist Zhang [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Can't copy/paste raster image from PSCC2014 to AICC2014 or CC
Hi there all, I'm a designer who works a lot with photoshop and illustrator, in fact I make and sell products online for both. I just noticed something happening, which is I am taking some seamless raster patterns I created in photoshop (no transparencies) and I copy and paste them into illustrator to make seamless raster swatches for AI. It won't let me paste into EITHER Illustrator CC2014 now or CC. I CAN drag and drop them, but it is sizing them DOWN in Illustrator even though I have the resolutions and sizes the same, it's all 1000x1000 size patterns at 300dpi. This is very odd, and I'm just wondering if I somehow hit some preference or something that is hindering this basic function of copying and pasting from photoshop to illustrator. @
dd,
I understand your wondering.
If it is not a new bug, sorry, (non) feature, you may try the relevant parts of the list below, but I believe it is a bit unlikely that it can change anything when it happens in both CC and CC2014.
The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media, see below. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
If possible/applicable, you should save current artwork first, of course.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to at least 5 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible), for CS3 - CC you may find the folder here:
https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html -
Can I open an image from the internet, instead of saving it to my PC first, then opening it?
lvstealth wrote:
Can I open an image from the internet, instead of saving it to my PC first, then opening it?
That can be scripted you need to be able to provide the images URL for the script ie copy paste in a url its even posible to load all image on aweb page into a layer stack in a new document. Go for it. The following scripts do download a temp files into your temp space but these are deleted once the image is placed into the photoshop document. So there is no image file is on your system images only exist in the open Photoshop Document.
OpenImageFromWeb.jsx
// OpenImageFromWeb.jsx
// Copyright 2006-2009
// Written by Jeffrey Tranberry
// Photoshop for Geeks Version 3.0
// modified by MLH
// modified by JJMACK 2010
<javascriptresource>
<about>$$$/JavaScripts/OpenImageFromWeb/About=JJMack's OpenImageFromWeb.^r^rCopyright 2010 Mouseprints.^r^rJJMack's Script.^rOpen Image From Web as a Placed smart object layer!</about>
<category>JJMack's Script</category>
</javascriptresource>
Description:
This sample script shows how to download images from a web server using the
Socket object.
// Note: Socket.read() parameter & behavior
// Socket.read() will read or time out. It may not read all data fromserver. <---------------
// Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
// closed by the server.
// enable double clicking from the
// Macintosh Finder or the Windows Explorer
#target photoshop
// Make Photoshop the frontmost application
app.bringToFront();
// SETUP
var html = "";
var request = "";
var url = "";
var binary = "";
var requesthtml = "";
var socket = new Socket;
var domain = "www.mouseprints.net" // the domain for the file we want
var sImg = "/old/dpr/JJMack8btiSrgb.png"; // the rest of the url for the file we want
var port = ":80"; // the port for the file we want
// MAIN
var url = prompt("Enter the image's full URL http://domain/full image path",url); // prompt for domain name
if (url != null && url != ""){
if ( (url.indexOf("http://") != -1) || (url.indexOf("HTTP://") != -1) ) {
domainPathLength = url.length - "http://".length;
domainPath = url.substr(7, domainPathLength);
pathOffset = domainPath.indexOf("/");
domain = domainPath.substr(0, pathOffset);
sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
// Isolate Image name
var Name = sImg
var imagePath = "";
while (Name.indexOf("/") != -1 ) { // Strip Path
imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
Name = Name.substr(Name.indexOf("/") + 1 ,);
//alert("domain = " + domain + " , Image = " + sImg + " Image File Name = " + Name);
if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
var f = File("~/" + Name); // Image file name
f.encoding = "binary"; // set binary mode
f.open("w");
if (socket.open(domain + port, "binary")){
//alert("GET " + sImg +" HTTP/1.0\n\n");
requesthtml ="\n\nDmain:" + domain + " Port" + port + " binary\n"
request ="GET " + sImg +" HTTP/1.0\n\n"
socket.write(request); // get the file
var binary = socket.read(99999999);
binary = removeHeaders(binary);
f.write(binary);
socket.close();
else { alert("Connection to Domain:" + domain + " Port" + port + " Failed ");}
f.close();
if (binary.length != 0) {
//alert ("file length = " + binary.length );
if(app.documents.length == 0) {
//app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
placeSmartObject( f );
f.remove(); // Remove temporary downloaded files
else { alert("Invalid Image URL: " + url ); }
else { alert("Invalid URL: " + url ); }
else { if ( url == "" ) alert("No URL Entered"); }
// FUNCTIONS
function placeSmartObject(fileRef){
//create a new smart object layer using a file
try {
var desc = new ActionDescriptor();
desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
activeDocument.revealAll();
} catch (e) { alert("Placeing file: '" + fileRef + "' failed"); }
// Remove header lines from HTTP response
function removeHeaders(binary){
var bContinue = true ; // flag for finding end of header
var line = "";
var httpheader = "";
var nFirst = 0;
var count = 0;
while (bContinue) {
line = getLine(binary) ; // each header line
httpheader = httpheader + line;
bContinue = line.length >= 2 ; // blank header == end of header
nFirst = line.length + 1 ;
binary = binary.substr(nFirst) ;
if (httpheader.indexOf("Bad Request") != -1 || httpheader.indexOf("Not Found") != -1) {
alert (requesthtml + request + httpheader);
var binary = "";
//alert (requesthtml + request + httpheader + "\nFile length = " + binary.length);
return binary;
// Get a response line from the HTML
function getLine(html){
var line = "" ;
for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
line += html[i] ;
return line ;
StackWebPageImages.jsx
// Copyright 2007. Adobe Systems, Incorporated. All rights reserved.
// This script demonstrates how to download images from a web server using the Socket object.
// Adobe's Socket.jsx Photoshop sample javascript
// modified by JJMACK 2011
<javascriptresource>
<about>$$$/JavaScripts/StackWebPageImages/About=JJMack's StackWebPageImages.^r^rCopyright 2011 Mouseprints.^r^rJJMack's Script.^rPlaces Images used in a Web page as smart object layers in stack in a new document!^rOnly images embedded coded with path relative to the domains root will be Placed though.^rImages that fail to be placed may be Placed into the document using your browser right click to copy image URL.^rThen paste that URL into the OpenImageFromWeb script URL input field. </about>
<category>JJMack's Script</category>
</javascriptresource>
// Note: Socket.read() parameter & behavior
// Socket.read() will read or time out. It may not read all data from server.
// Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
// closed by the server.
// Settings
#target photoshop
app.bringToFront(); // bring top
//if("en_US" == $.locale) { // display only US build
// alert("This sample script shows how to download images from a web server using the Socket object.");
// Remove header lines from HTTP response
function removeHeaders(binary)
var bContinue = true ; // flag for finding end of header
var line = "";
var nFirst = 0;
var count = 0;
while (bContinue) {
line = getLine(binary) ; // each header line
bContinue = line.length >= 2 ; // blank header == end of header
nFirst = line.length + 1 ;
binary = binary.substr(nFirst) ;
return binary;
// Get a response line from the HTML
function getLine(html)
var line = "" ;
for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
line += html[i] ;
return line ;
var socket = new Socket;
var port = "80";
var html = "";
//if (socket.open("www.adobe.com:80")){
// socket.write("GET /index.html HTTP/1.0\n\n");
// html = socket.read(9999999);
// socket.close();
var url = "";
var url = prompt("Enter the Web page full URL the images are in like http://domain/index.html",url); // prompt web page
if (url != null && url != ""){
if ( (url.indexOf("http://") != -1) || (url.indexOf("HTTP://") != -1) ) {
domainPathLength = url.length - "http://".length;
domainPath = url.substr(7, domainPathLength);
if ( domainPath.indexOf("/") != -1 ) {
pathOffset = domainPath.indexOf("/");
domain = domainPath.substr(0, pathOffset);
wPage= domainPath.substr(pathOffset, domainPath.length - pathOffset );
else {
domain = domainPath;
wPage = "/";
// Isolate Page name
var pName= wPage;
var pagePath = "";
while (pName.indexOf("/") != -1 ) {
pagePath= pagePath + pName.substr(0, pName.indexOf("/") + 1);
pName = pName.substr(pName.indexOf("/") + 1 ,);
//if (socket.open("www.adobe.com:80")){
if (socket.open(domain +":" + port)){
//alert("GET page = " + wPage + " HTTP/1.0\n\n");
socket.write("GET " + wPage + " HTTP/1.0\n\n");
html = socket.read(9999999);
socket.close();
//var aImg = html.match(/src=\"\/images\/(.*?)\"/g); // src="/images/~~~"
//var aImg = html.match(/img src=\"(.*?)\"/g); // img src="~~~"
//var aImg = html.match(/img src=\"(.*?)[\"?]/g); // img src=["|?]~~~"
//var aImg = html.match(/img (.*?)src=\"(.*?)[\"?]/g); // img ~~~src="~~~"
var aImg = html.match(/<img (.*?)src=\"(.*?)\"/g); // <img ~~~src="~~~"
//var aImg = html.match(/<img (.*?)src=\"(.*?)[\"?]/g); // <img ~~~src=["|?]~~~"
//alert("Image List\n" + aImg);
if (null != aImg) { // parsed image tags
//app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
for (var i=0; i < aImg.length; i++) {
var str = aImg[i];
imageNo=i+1;
//var sImg = str.substring(5, str.length-1); // remove "src=" & ["]
//var sImg = str.substring(9, str.length-1); // remove "img src=" & ["]
var sImg = str.substring(str.indexOf('src="')+5, str.length-1); // remove "<img ... src=" & ["]
try{
if (sImg.substring(0,7) == "http://" || sImg.substring(0,7) == "HTTP://") { placeWebImage(imageNo, sImg); } // redirect image
else {
if (sImg.substring(0,1) != "/" ) { sImg = pagePath + sImg ; } // image is relative to web page path
//else { sImg = sImg.substr(1, sImg.length - 1) ; sImg = pagePath + sImg; } // aways include web page path bad idea
// Isolate Image name
var Name = sImg;
var imagePath = "";
while (Name.indexOf("/") != -1 ) { // Strip Path
imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
Name= Name.substr(Name.indexOf("/") + 1 ,);
Name= imageNo + " " + Name;
//var f = File("~/socket_sample_" + i + sImg.substr(sImg.length-4)); // 4 = .gif or .jpg
var f = File("~/" + Name ); // Temp File name
f.encoding = "binary"; // set binary mode
f.open("w");
//if (socket.open("www.adobe.com:80", "binary")){
if (socket.open(domain +":" + port, "binary")){
socket.write("GET " + sImg +" HTTP/1.0\n\n"); // Adobe's site image link starts with "/"
var binary = socket.read(9999999);
binary = removeHeaders(binary);
f.write(binary);
socket.close();
else { alert("Socket Open " + domain + ":" + port + ", binary Failed"); }
f.close();
//app.open(f); // Open files in Photoshop
placeSmartObject( f );
f.remove(); // Remove temporary downloaded files
catch(e){
alert("Number of images found in page = " + imageNo );
else { alert("No images found for " + url); }
else { alert("Connection to Domain:" + domain + " Port " + port + " Failed ");}
else { alert("Invalid URL: " + url ); }
else { if (url == "") alert("No URL Entered"); }
// FUNCTIONS
function placeSmartObject(fileRef){
//create a new smart object layer using a file
try {
var desc = new ActionDescriptor();
desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
activeDocument.revealAll();
} catch (e) { }
function placeWebImage(num, url){
var socket = new Socket;
domainPathLength = url.length - "http://".length;
domainPath = url.substr(7, domainPathLength);
pathOffset = domainPath.indexOf("/");
domain = domainPath.substr(0, pathOffset);
sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
// Isolate Image name
var Name = sImg
var imagePath = "";
while (Name.indexOf("/") != -1 ) { // Strip Path
imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
Name = Name.substr(Name.indexOf("/") + 1 ,);
Name= num + "R " + Name;
//alert("domain = " + domain + " , Image = " + sImg + " Image File Name = " + Name);
if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
var f = File("~/" + Name); // Image file name
f.encoding = "binary"; // set binary mode
f.open("w");
if (socket.open(domain +":" + port, "binary")){
//alert("socket.write GET " + sImg +" HTTP/1.0\n\n");
//socket.write("GET " + sImg +" HTTP/1.0\n\n"); // did not work
socket.write("GET " + url +" HTTP/1.0\n\n"); // use url to this server works
var binary = socket.read(9999999);
binary = removeHeaders(binary);
f.write(binary);
socket.close();
//else { alert("Connection to Domain:" + domain + " Port" + port + " Failed ");}
f.close();
placeSmartObject( f );
f.remove(); // Remove temporary downloaded files
//else { alert("Invalid Image URL: " + url ); } -
Hi,
I have a powerpoint presentation (will call it A.PPTX) which has an embedded spreadsheet object (B.XLSX). I was able to double click the object in "A" and open "B.XLSX" as and when necessary.
today, i opened B from the A and inserted another spreadsheet C.XLSX as an object in B. Closed all the files and saved A.PPTX. when i tried double click and tried to open B.XLSX from the powerpoint, i am getting an error "There isn't enough memory to
read worksheet"
Unfortunately, i don't have a backup of B.XLSX as I always edited it by opening it from the presentation. is there a way to recover it?
Note:
1. read through similar threads in the forum about errors while inserting objects or similar error in Powerpoint 2003. the solution provided did not helpHi
By the description, you want to recover the embedded worksheet in PowerPoint.
Try following methods:
1.Click to the presentation file
2.Change the file extension from pptx to zip
3.Open the file, locate to ppt>embeddings
4.There you will see the embedded worksheet
5.Save the file to another path and open it
If the worksheet is still corrupted, following these steps to recover an Excel file:
1.Change the file extension from xlsx to zip
2.Open the file, locate to xl>workbook.xml
3. These XML files contain the data of each spreadsheet.
4.Copy the data to a new worksheet and save
Regards
Tylor Wang
TechNet Community Support -
GL account opening/closing balances by day
Hi All.
I wish to list day by day opening and closing balances of G/L account by restricting the result to a time interval.
Anyone know how to write the query for G/L account opening & closing balances by day?
I found this in the forum and modify it to below:
declare @fr char(10)
declare @to char(10)
set @fr=convert (char(10),[%0],20)
set @to=convert (char(10),[%1],20)
declare @PrCl dec(19,6)
declare @de dec(19,6)
declare @cr dec(19,6)
declare @acc char(20)
declare @Pracc char(20)
Create table #W
(M char(10), Acc char(20), Me char(100), Tid char(10), Br char(10), TT char(30), Op dec(19,6),De dec(19,6),Cr dec(19,6),Cl dec(19,6) )
Insert into #W (M,Acc,Me,Tid,Br,TT,Op,De,Cr,Cl)
SELECT convert (char(10),T1.[RefDate],20)Mo, T1.[Account],T0.Memo, T0.TransId, T0.BaseRef, CASE
WHEN T0.TransType = 13 THEN 'AR Inv'
WHEN T0.TransType = 14 THEN 'AR CN'
WHEN T0.TransType = 18 THEN 'AP Inv'
WHEN T0.TransType = 19 THEN 'AP CN'
WHEN T0.TransType = 24 THEN 'Incoming Payment'
WHEN T0.TransType = 30 THEN 'JE'
WHEN T0.TransType = 46 THEN 'Outgoing Payment'
ELSE 'Other'
END AS 'Trans Type',
0,T1.[Debit] De , T1.[Credit] Cr,0
FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
Group by T1.[Account],convert (char(10),T1.[RefDate],20),T0.Memo, T0.TransId, T0.BaseRef, T0.TransType, T1.Debit, T1.Credit
Order By T1.[Account],convert (char(10),T1.[RefDate],20)
Declare cu cursor for
Select acc,de,cr from #W
for update
set @PrAcc=''
Open cu
Fetch next from cu into @acc,@de,@cr
While @@FETCH_STATUS = 0
Begin
If @acc!=@PrAcc set @PrCl=0
Update #W
set op=@PrCl,
cl=@PrCl-@Cr+@de
where current of cu
set @PrCl=@PrCl-@Cr+@de
set @PrAcc=@acc
Fetch next from cu into @acc,@de,@cr
End
deallocate cu
Select * from #w
Where M between @fr and @to
Drop table #W
but some of the rows are missing from the result. e.g. row with the same value of debit/credit ( same TransId and BaseRef) will come out once only in the result.
Please guide me on the above issue.
Thanks & Best Regards,
LengHi,
You have to make use of many tables for this purpose.
1. You have to claculate the previuos period and finscal year for the given date..
2. You have to calculate the G/L balances for this period for the given G/L account from table GLT0.(You can use some of the standard function modules for the same)
3. You have get the line items from the various tables like BSIS,BSAS,BSIK, BASK, BSID and BSAD for the dates from the begining of the month to the given date-1. sum upthis amount with the amount retrieved from step 2 .This will be the opening balance for the given date.
4.retrieve the data from he same tables like step 3 for the given date. This will the transactions of the given date.
5. sum up the amounts from step 4 with step 3. this will be the closing balance for that date.
let me know id you want any further info..
Reward the points if i answered your question.. -
Error while opening a popup from managed bean
Hi,
I am trying to open a popup from bean, after another popup is closed. When I open the second popup either through ActionListener(on first popup button) or DialogListener(on first popup), I am getting the below error on browser status bar(!); and the second popup doesn't open. There is no error in the log.
*'AdfPage.PAGE.findComponent(...)' is null or not an object.*
Although the popup id is there on the jspx page.
<af:popup id="confirmationStatus" binding="#{MyBean1.confirmationStatus}">
<af:dialog cancelVisible="false"
closeIconVisible="false" binding="#{MyBean1.d2}"
title="Appointment Confirmation Status">
<af:outputText value="Appointment is successfully confirmed"/>
</af:dialog>
</af:popup>
public void confirmAppointment_dialogListener(DialogEvent dialogEvent) {
FacesContext context = FacesContext.getCurrentInstance();
ExtendedRenderKitService service = Service.getRenderKitService(context, ExtendedRenderKitService.class);
String popupId = "confirmationStatus";
service.addScript(context,"AdfPage.PAGE.findComponent('" + popupId + "').show();");
Please tell me why my popup is not getting open from the managed bean and I am getting an error in below line.
service.addScript(context,"AdfPage.PAGE.findComponent('" + popupId + "').show();");To find out the right address of a component related to an other component, open your page select the component you want to add a partial trigger, go to the partial trigger property, select the down arrow at the right end and select 'Edit'. Now look for the popup in the component tree shown on the left side. When you have found the popup shuffle it the the selected side and click OK. The string you see in the field is the full address of the popup related to he component you've selected. Try the string you see there in your bean code. Remove the string from the partial trigger property, it's just to get the correct path.
One other thing to check is that your popup has the ClientComponent property set to true.
Next thing to try, is to use AdfPage.PAGE.findComponentByAbsoluteId(...)
Timo
Maybe you are looking for
-
Wacom tablet pressure sensitivity, dont work outside canvas
Hi. I wonder, if i'm the only one, who are having problems to start a stroke outside the canvas and follow it on the canvas, without the pressure sensitivity is all on max. seems the same is happing, if you have marked an area and start at stroke out
-
How do I make a best fit line on a scatter plot?
I have a set of data and I made a scatter plot on numbers, but how do I put a best fit line in there?
-
"You have received a private message in the Lenovo Community!" enhaced message
Hi. I think it's a good improvement to modify the current private message notification. A simple modification can do our life (in special, admins life) much more simple. Something like this will be fine, I guess: Email subject You have received a pri
-
OTL - Shift Premiums for multiple Regular Premium Elements
Hi We have configured Shift Differential policy such that if employee works between 6.00 am - 8.00, he should recieve "Shift Premium". We have 2 Elements (Say Reg1 and Reg2) configured as Regular Earnings. In Earnings Policy (Type -Daily Overtime Ear
-
Misc. Payments in AP.
Hi, At present i am working on 11.5.3 Release. my problem is that my client does Misc. payments in AP. for these payments he does not want to create invoices. Can sombody tell me how to do that!!! Reply soon. Jaya