Array removeItem: QTY changes from 1 to 0 to -1; $5.00 to $0.00 to -$5.00
In my array for a Shopping Cart, the customer can select to add, subtract or delete an item.
All the functions work.
In the code to subtract, when the function is invoked, quantity changes from 1 to 0 in the cart, with a total value of $0.00.
A line also appears telling the customer that the cart is empty.
But if you click the subtract one more time, quantity changes from 0 to -1, with a value of -$5.00.
How can I delete an item when the subtraction results in a quantity of 0?
Many thanks, Charlie
CART.CFM
<cfif isdefined("url.action")>
<cfif url.action is "addQuantity">
<cfset session.cart.addQuantity(url.position)>
<cflocation url="cart_main.cfm">
</cfif>
<cfif url.action is "subtractQuantity">
<cfset session.cart.subtractQuantity(url.position)>
<cflocation url="cart_main.cfm">
</cfif>
<cfif url.action is "delete">
<cfset session.cart.removeItem(url.position)>
<cflocation url="cart_main.cfm">
</cfif>
</cfif>
<cfset arCart = session.cart.getCart()>
<table>
<cfoutput>
<cfloop from="1" to="#arraylen(arCart)#" index="counter">
<tr valign="top">
<td>#arCart[counter].isd_code#</td>
<td></td>
<td>#arCart[counter].title.gettitle()#</td>
<td></td>
<td>#dollarformat(arCart[counter].price)#</td>
<td></td>
<td>#arCart[counter].ItemName#</td>
<td></td>
<td align="center">#arCart[counter].quantity#</td>
<td></td>
<td><a href="cart.cfm?action=addQuantity&position=#counter#">ADD</a></td>
<td></td>
<td><a href="cart.cfm?action=subtractQuantity&position=#counter#">SUB</a></td>
<td></td>
<td><a href="cart.cfm?action=delete&position=#counter#">DEL</a></td>
<td></td>
<td>
<cfset variable.itemTotal = (#arCart[counter].quantity# * #arCart[counter].price#)>
#dollarFormat(variable.itemTotal)#
</td>
</tr>
</cfloop>
</cfoutput>
</table>
SHOPPINGCART.CFC
<cfcomponent output="false">
<cfproperty name="arCart" type="array" default="arraynew(1)" />
<cfscript>
variables.arCart = arraynew(1);
</cfscript>
<cffunction name="subtractQuantity" access="public" output="false" returntype="void">
<cfargument name="position" required="true" type="numeric">
<cfparam name="subQty" type="numeric" default="1">
<cfset arCart[position].quantity = arCart[position].quantity - subQty>
</cffunction>
<cffunction name="removeItem" access="public" output="false" returntype="void">
<cfargument name="position" required="true" type="numeric">
<cfset arraydeleteat(arCart, arguments.position)>
</cffunction>
</cfcomponent>
It's hard to understand exactly what's going there but this code might help set you in the right direction. It basically looks at the quantity of the item for the given position and it won't let you subtract more than the number of items that are in it, or go below zero.
<cffunction name="subtractQuantity" access="public" output="false" returntype="void">
<cfargument name="position" required="true" type="numeric">
<cfargument name="subQty" type="numeric" default="1">
<cfif arCart[arguments.position].quantity gte 1 and arguments.subQty lte arCart[arguments.position].quantity>
<cfset arCart[arguments.position].quantity = (arCart[arguments.position].quantity - arguments.subQty)>
<cfelse>
<cfset arCart[arguments.position].quantity = 0 >
</cfif>
</cffunction>
One other thing I noticed in your subtractQuantity() function was that you have a cfparam instead of a cfargument tag, this is probably also causing you issues.
-JD
Similar Messages
-
Purchase Order qty changed from 10 to zero, system takes as one
Hi experts,
SRM 7.0 EHP2 without EP. PO is created with 10 line items and qty of each line item is greater than zero. The qty of one line item is changed to zero and clicked/saved. The system takes the qty as one inspite of original qty more than one changed to zero.
Thanks
VijayHi,
Standard behaviour shouldn't allow to choose zero as quantity, when you enter a zero quantity for a line item, when you choose check / order, system throws a error message by asking please enter quantity.
Coming to rounding of to '1', it depends on UOM decimal place's setup in SRM for that particular unit of measure.
You can verify this in CUIN > choose UOM > choose details> check the field decimal place's. By standard it will be zero, so when you choose any decimal place less then 1, it will automatically becomes '1'.
You can change this by entering some decimal place's to be considered before rounding off, so that system allows to create fractional value between 0 to 1.
Regards,
Govardhan -
Revision: 7868
Author: [email protected]
Date: 2009-06-15 16:37:33 -0700 (Mon, 15 Jun 2009)
Log Message:
Fixed bug in flex4test testWheel app; it needed to be updated to the latest effects API after motionPaths changed from an Array to a Vector.
Modified Paths:
flex/sdk/trunk/development/eclipse/flex/flex4test/src/testWheel.mxmlWalter Laan wrote:
almightywiz wrote:
Walter Laan wrote:
The security popup really messes with the focus in Firefox (3.6.16) though.Not saying you're wrong, but I'm using FireFox 3.6.16, as well, and I have none of the focus troubles you've described.Cannot reproduce it now either. Weird.I got the impression you were referring to keyboard focus, so I did some further tests on focus behavior. The test results are listed in the Accumulated Results table on the 1st post.
The only browser so far that works as I'd expect, or at least as I'd like, is IE.
Applets and keyboard navigation have always been a PITA. Some time ago I vaguely recall seeing an update involving a new parameter to regulate initial focus (applet or page, ..or another applet), but for the life of me I cannot locate it now. Given that it was a parameter for initial focus, I doubt it would help in this case.
Edited by: Andrew Thompson on Mar 26, 2011 6:18 PM
Removed table which has now been expanded & added to 1st post. -
How to build an array based on inputs from a text file
Hi
I have ta text file that has the following format. The apmlitude is the first value then I have the start index number and last index number
Other index values in between should be zero
(amplitide, start index number, end index number)
2, 2 ,3
4, 6, 7
5, 10,11
using this format I should make the foloowing array
0,0,2,2,0,0,4,4,0,0,5,5
Could you please help me to implement it in LabVIEW
ThanksA few notes:
- You'll want to use the Initialize Array function for 1) and 3) (if this is, in fact, how you want to do this.) This function takes two inputs when initializing a 1D array- element value and array size.
- Change the polymorphic instance of Read From Spreadsheet File.vi to "Double" or "Integer"- there's no reason to read in these numeric values as strings and convert them later.
- Will the text file always contain 12 elements worth of data? If not, you'll need to change your logic for the number of elements to initialize.
As Altenbach said, this seems a lot like a basic logic/homework problem. My suggestion was only that-a suggestion. It is not the only way to do this. Figure out a sequence of steps to get you from point A to point B before you jump in and start coding.
Regards,
Tom L. -
How can I remove the 'Qty' text from individual product descriptions?
I didn't know if this was possible or not... I've recently taken the reins of handling an ecommerce site that had been published before I got on board. My boss wants me to remove the 'Qty:' description from some products because the image shown for some products is a misleading description of the actual quantity available (i.e. there is a picture that shows a stack of conveyors parts, and it says 'Qty: 1' to represent one 'stack' of conveyor parts - this confuses customers into thinking there's only one individual conveyor part available however). To avoid any confusion he requested that I remove the 'Qty' text from similar images. I see that you can change the 'In Stock' amount of a particular product underneath the 'Inventory' tab of the 'Products' menu, but I didn't know if it was possible just to remove the quantity description altogether without just typing the quantity in at zero. This is likely a strange question but I didn't know where else to ask! I would appreciate any help or advice Thank you
Hi ewhelhalu,
I just figured out a way to do it, but it's a little weird and complex, and I have no idea what the consequences for editing this .plist string might be. I'm thinking it'll be OK, but you never know what might happen when you screw around with Apple's intentions.
So if you have the Developer Tools on your install of OS X, you can use the Property List Editor to edit the Dock files. (If you don't have this program, you can use a program like [Pacifist|http://www.charlessoft.com> to selectively install stuff from your Leopard disk).
The file you're interested in is within Macintosh HD > Users > Your Username > Library > Preferences, and it's called com.apple.dock.plist. Open that up with Property List Editor, and open the arrow drop-down next to "Root." The lines you're looking for are "persistent-apps" (the left side of your Dock) and "persistent-others" (the right side). If you open the drop-down arrows, you'll see there are numbers below each. The numbers correspond to your Dock items, from left to right.
If you click on drop-arrows by the numbers, a sample hierarchy looks like this: 0 > tile-data > file-label. It's the "file-label" string that you want to edit. Just make it ("it" being the name of the icon under the "value" column) blank, save the file, go into Terminal and type "killall Dock" without the quotes, and your Dock icon should appear without a name. You'll have to do this for all of them.
I should insert the usual caveats here about backing up beforehand and making sure that you have a copy of the .plist file before you start tweaking it so that you can replace it if things go wrong. And perhaps someone with more knowledge of Terminal or third-party apps than I have will come along and suggest a simpler solution. But that's the only one I have.
Hope that helps!
—Hazy -
Extracting changes from Change Master and importing to another BOM
Dear All,
Our client uses ECM and manages two BOM's the Engineering BOM and Production BOM.
The Engineering BOM s are changed through change number. We need to import these changes to the production BOM, (only the changes) through another change number
This means,
We have the Engineering BOM (No plant, usage 2) and Production BOM (Plant BOM with usage 1)with the same structure (BOM header is Z)
Header : Z
Position 1 :A Qty 1
Postion 2 : B Qty 1
Both initially had components A and B, each with Qty 1.
Now with a change number, the Engineering BOM is changed, a new component C is added, the quantity of A is revised to 2.
Now the Engineering BOM is
Header : Z, Plant ( blank) and Usgae 2
Position 1 :A Qty 2
Postion 2 : B Qty 1
Position 3 : C Oty 1
Our requirement is to extract the changes from the Change master, ie, the extract should say BOM header Z is changed,
New position 3 : C Qty 1,
Modified Position 1, Qty 2.
This should have only the changed information and we want to input this to the Production BOM, through another change number to change the Production BOM.
We want this process to be automated, in the sense, user enters the Production BOM header, Plant and usgae 1 and the new change number, then the BOM will be updated with the changes in the engineering BOM.
My Questions are
1- How to get an extract from the Change master with only the changes file, to a txt or xml or any format?
2- Apart from manually updating the Prodcution BOM by seeing the changes from Environment ->Reporting ->BOM changes of the Change master of the Engineering BOM, is there any other way to update the Production BOM only with the changes?
3- Ideally we want to import the changes to the Production BOM rather than deleting the items and again copying from Engineering BOM. What is best practice used in this scenario?
Any suggestions would be helpful
Regards,
Aby ThomasDear Mario,
Got ur point.. This is of course possible.. Practicallyboth the BOM's are not exactly identical. Tere is one more BOM apart from the Production BOM.
And there is a need to transfer the changes ( changes alone ) between BOM's.
Further more, there are interface from SAP to other systems, where they alos requires the BOM changes.. So the requirement arises, how to transfer the changes between BOM and also to other systems from SAP.,
If we do not have any interface from legacy PDM, how to extract the changes from the change master?
What is the general practise followed?
Regards,
Aby Thomas -
JavaScript: changes from CS5.5 to CS6
Removed
Classes
FolioBindingDirectionOptions (enum)
FolioOrientationOptions (enum)
SmoothScrollingOptions (enum)
SpaceUnitType (enum)
VisibilityInPdf (enum)
Properties
Button.visibilityInPdf
DocumentPreference.masterTextFrame
DocumentPreset.masterTextFrame
EPubExportPreference.marginUnit
EPubExportPreference.spaceUnit
EPubExportPreference.format
EPubExportPreference.useTocStyle
EPubExportPreference.cssExportOption
EPubExportPreference.externalCSSPath
HTMLExportPreference.leftMargin
HTMLExportPreference.rightMargin
HTMLExportPreference.topMargin
HTMLExportPreference.bottomMargin
HTMLExportPreference.marginUnit
HTMLExportPreference.spaceUnit
HTMLExportPreference.externalCSSPath
HTMLExportPreference.linkToJavascript
HTMLExportPreference.javascriptURL
ObjectExportOption.customImageAlignment
ObjectExportOption.spaceUnit
PagesPanel.verticalView
StyleSheetExportOption.STYLE_NAME_ONLY
StyleSheetExportOption.EXTERNAL_CSS
Methods
Application.rasterizeDocumentPage()
Application.exportMiniFolio()
Application.exportFolioToPackage()
Application.exportFolioToDirectory()
Application.exportFolioToDirectoryPackage()
Application.getAllOverlays()
Application.createCustomMiniFolio()
Application.areFilePathsEquivalent()
Added
Classes
AutoSizingReferenceEnum (enum)
AutoSizingTypeEnum (enum)
CellStyleMapping
CellStyleMappings
CharStyleMapping
CharStyleMappings
CheckBox
CheckBoxes
ClearFormBehavior
ClearFormBehaviors
ComboBox
ComboBoxes
ContentPlacerObject
CustomLayoutTypeEnum (enum)
DimensionsConstraints (enum)
EpubVersion (enum)
FontLockingPreference
GuideTypeOptions (enum)
HtmlItem
HtmlItems
LayoutRuleOptions (enum)
LinkedPageItemOption
ListBox
ListBoxes
MapType (enum)
PNGColorSpaceEnum (enum)
PNGExportPreference
PNGExportRangeEnum (enum)
PNGQualityEnum (enum)
PageViewOptions (enum)
PaginationOption (enum)
ParaStyleMapping
ParaStyleMappings
PreviewPagesOptions (enum)
PrintFormBehavior
PrintFormBehaviors
RadioButton
RadioButtons
SignatureField
SignatureFields
SnapshotBlendingModes (enum)
StaticAlignmentOptions (enum)
SubmitFormBehavior
SubmitFormBehaviors
TableStyleMapping
TableStyleMappings
TextBox
TextBoxes
Properties
AlignDistributeBounds.KEY_OBJECT
Application.linkedPageItemOptions
Application.pngExportPreferences
Application.contentPlacer
Application.fontLockingPreferences
Application.paraStyleMappings
Application.charStyleMappings
Application.tableStyleMappings
Application.cellStyleMappings
Application.selectionKeyObject
Button.linkedPageItemOptions
Button.submitFormBehaviors
Button.clearFormBehaviors
Button.printFormBehaviors
Button.printableInPdf
Button.hiddenUntilTriggered
Button.horizontalLayoutConstraints
Button.verticalLayoutConstraints
Cell.checkBoxes
Cell.comboBoxes
Cell.listBoxes
Cell.radioButtons
Cell.textBoxes
Cell.signatureFields
ChangeGrepPreference.paragraphKashidaWidth
ChangeObjectPreference.autoSizingType
ChangeObjectPreference.autoSizingReferencePoint
ChangeObjectPreference.useMinimumHeightForAutoSizing
ChangeObjectPreference.minimumHeightForAutoSizing
ChangeObjectPreference.useMinimumWidthForAutoSizing
ChangeObjectPreference.minimumWidthForAutoSizing
ChangeObjectPreference.useNoLineBreaksForAutoSizing
ChangeTextPreference.paragraphKashidaWidth
Character.checkBoxes
Character.comboBoxes
Character.listBoxes
Character.radioButtons
Character.textBoxes
Character.signatureFields
Character.paragraphKashidaWidth
CoordinateSpaces.PAGE_COORDINATES
DiacriticPositionOptions.OPENTYPE_POSITION_FROM_BASELINE
Document.linkedPageItemOptions
Document.paraStyleMappings
Document.charStyleMappings
Document.tableStyleMappings
Document.cellStyleMappings
Document.checkBoxes
Document.comboBoxes
Document.listBoxes
Document.radioButtons
Document.textBoxes
Document.signatureFields
Document.selectionKeyObject
DocumentIntentOptions.DPS_INTENT
DocumentPreference.createPrimaryTextFrame
DocumentPreset.createPrimaryTextFrame
EPS.linkedPageItemOptions
EPS.horizontalLayoutConstraints
EPS.verticalLayoutConstraints
EPSText.linkedPageItemOptions
EPSText.horizontalLayoutConstraints
EPSText.verticalLayoutConstraints
EPubExportPreference.externalStyleSheets
EPubExportPreference.javascripts
EPubExportPreference.version
FindChangeTransliterateCharacterTypes.WESTERN_ARABIC_DIGITS
FindChangeTransliterateCharacterTypes.ARABIC_INDIC_DIGITS
FindChangeTransliterateCharacterTypes.FARSI_DIGITS
FindGrepPreference.paragraphKashidaWidth
FindObjectPreference.autoSizingType
FindObjectPreference.autoSizingReferencePoint
FindObjectPreference.useMinimumHeightForAutoSizing
FindObjectPreference.minimumHeightForAutoSizing
FindObjectPreference.useMinimumWidthForAutoSizing
FindObjectPreference.minimumWidthForAutoSizing
FindObjectPreference.useNoLineBreaksForAutoSizing
FindTextPreference.paragraphKashidaWidth
FormField.linkedPageItemOptions
FormField.horizontalLayoutConstraints
FormField.verticalLayoutConstraints
GeneralPreference.mainMonitorPpi
GeneralPreference.greekVectorGraphicsOnDrag
GeneralPreference.showConveyor
GeneralPreference.createLinksOnContentPlace
GeneralPreference.mapStylesOnContentPlace
GeneralPreference.useCustomMonitorResolution
GeneralPreference.customMonitorPpi
GeneralPreference.previewPages
Graphic.linkedPageItemOptions
Graphic.horizontalLayoutConstraints
Graphic.verticalLayoutConstraints
GraphicLine.linkedPageItemOptions
GraphicLine.htmlItems
GraphicLine.checkBoxes
GraphicLine.comboBoxes
GraphicLine.listBoxes
GraphicLine.radioButtons
GraphicLine.textBoxes
GraphicLine.signatureFields
GraphicLine.horizontalLayoutConstraints
GraphicLine.verticalLayoutConstraints
Group.linkedPageItemOptions
Group.checkBoxes
Group.comboBoxes
Group.listBoxes
Group.radioButtons
Group.textBoxes
Group.signatureFields
Group.horizontalLayoutConstraints
Group.verticalLayoutConstraints
Guide.guideType
Guide.guideZone
HTMLExportPreference.externalStyleSheets
HTMLExportPreference.javascripts
IMEPreference.useNativeDigits
Image.linkedPageItemOptions
Image.horizontalLayoutConstraints
Image.verticalLayoutConstraints
ImportedPage.linkedPageItemOptions
ImportedPage.horizontalLayoutConstraints
ImportedPage.verticalLayoutConstraints
InsertionPoint.checkBoxes
InsertionPoint.comboBoxes
InsertionPoint.listBoxes
InsertionPoint.radioButtons
InsertionPoint.textBoxes
InsertionPoint.signatureFields
InsertionPoint.paragraphKashidaWidth
InteractivePDFExportPreference.usePDFStructureForTabOrder
LanguageAndRegion.INDIC
Layer.checkBoxes
Layer.comboBoxes
Layer.listBoxes
Layer.radioButtons
Layer.textBoxes
Layer.signatureFields
LayoutWindow.selectionKeyObject
Line.checkBoxes
Line.comboBoxes
Line.listBoxes
Line.radioButtons
Line.textBoxes
Line.signatureFields
Line.paragraphKashidaWidth
LinkedStoryOption.applyStyleMappings
MasterSpread.checkBoxes
MasterSpread.comboBoxes
MasterSpread.listBoxes
MasterSpread.radioButtons
MasterSpread.textBoxes
MasterSpread.signatureFields
MasterSpread.primaryTextFrame
MediaItem.linkedPageItemOptions
MediaItem.horizontalLayoutConstraints
MediaItem.verticalLayoutConstraints
Movie.linkedPageItemOptions
Movie.horizontalLayoutConstraints
Movie.verticalLayoutConstraints
MultiStateObject.linkedPageItemOptions
MultiStateObject.horizontalLayoutConstraints
MultiStateObject.verticalLayoutConstraints
ObjectExportOption.customLayout
ObjectExportOption.customLayoutType
ObjectStyle.enableTextFrameAutoSizingOptions
Oval.linkedPageItemOptions
Oval.htmlItems
Oval.checkBoxes
Oval.comboBoxes
Oval.listBoxes
Oval.radioButtons
Oval.textBoxes
Oval.signatureFields
Oval.horizontalLayoutConstraints
Oval.verticalLayoutConstraints
PDF.linkedPageItemOptions
PDF.horizontalLayoutConstraints
PDF.verticalLayoutConstraints
PDFColorSpace.GRAY
PICT.linkedPageItemOptions
PICT.horizontalLayoutConstraints
PICT.verticalLayoutConstraints
Page.appliedAlternateLayout
Page.checkBoxes
Page.comboBoxes
Page.listBoxes
Page.radioButtons
Page.textBoxes
Page.signatureFields
Page.layoutRule
Page.snapshotBlendingMode
Page.optionalPage
PageItem.linkedPageItemOptions
PageItem.horizontalLayoutConstraints
PageItem.verticalLayoutConstraints
Paragraph.checkBoxes
Paragraph.comboBoxes
Paragraph.listBoxes
Paragraph.radioButtons
Paragraph.textBoxes
Paragraph.signatureFields
Paragraph.paragraphKashidaWidth
ParagraphJustificationOptions.NASKH_TATWEEL_JUSTIFICATION
ParagraphJustificationOptions.NASKH_KASHIDA_JUSTIFICATION
ParagraphJustificationOptions.NASKH_TATWEEL_JUSTIFICATION_FRAC
ParagraphJustificationOptions.NASKH_KASHIDA_JUSTIFICATION_FRAC
ParagraphStyle.paragraphKashidaWidth
PlaceGun.checkBoxes
PlaceGun.comboBoxes
PlaceGun.listBoxes
PlaceGun.radioButtons
PlaceGun.textBoxes
PlaceGun.signatureFields
Polygon.linkedPageItemOptions
Polygon.htmlItems
Polygon.checkBoxes
Polygon.comboBoxes
Polygon.listBoxes
Polygon.radioButtons
Polygon.textBoxes
Polygon.signatureFields
Polygon.horizontalLayoutConstraints
Polygon.verticalLayoutConstraints
Rectangle.linkedPageItemOptions
Rectangle.htmlItems
Rectangle.checkBoxes
Rectangle.comboBoxes
Rectangle.listBoxes
Rectangle.radioButtons
Rectangle.textBoxes
Rectangle.signatureFields
Rectangle.horizontalLayoutConstraints
Rectangle.verticalLayoutConstraints
Section.alternateLayoutLength
Section.alternateLayout
Section.pagination
Section.paginationMaster
SelectionOptions.SET_KEY
Snippet.checkBoxes
Snippet.comboBoxes
Snippet.listBoxes
Snippet.radioButtons
Snippet.textBoxes
Snippet.signatureFields
Sound.linkedPageItemOptions
Sound.horizontalLayoutConstraints
Sound.verticalLayoutConstraints
SplineItem.linkedPageItemOptions
SplineItem.htmlItems
SplineItem.checkBoxes
SplineItem.comboBoxes
SplineItem.listBoxes
SplineItem.radioButtons
SplineItem.textBoxes
SplineItem.signatureFields
SplineItem.horizontalLayoutConstraints
SplineItem.verticalLayoutConstraints
Spread.checkBoxes
Spread.comboBoxes
Spread.listBoxes
Spread.radioButtons
Spread.textBoxes
Spread.signatureFields
StateTypes.UP_ON
StateTypes.ROLLOVER_ON
StateTypes.DOWN_ON
StateTypes.UP_OFF
StateTypes.ROLLOVER_OFF
StateTypes.DOWN_OFF
StaticText.staticAlignment
Story.paraStyleMappings
Story.charStyleMappings
Story.tableStyleMappings
Story.cellStyleMappings
Story.checkBoxes
Story.comboBoxes
Story.listBoxes
Story.radioButtons
Story.textBoxes
Story.signatureFields
Story.paragraphKashidaWidth
StoryWindow.selectionKeyObject
StyleExportTagMap.splitDocument
Table.checkBoxes
Table.comboBoxes
Table.listBoxes
Table.radioButtons
Table.textBoxes
Table.signatureFields
TagTextExportCharacterSet.CENTRALEUROPEAN_ISO
TagTextExportCharacterSet.CYRILLIC_ISO
TagTextExportCharacterSet.GREEK_ISO
TagTextExportCharacterSet.WINDOWS_ARABIC
TagTextExportCharacterSet.WINDOWS_HEBREW
Text.checkBoxes
Text.comboBoxes
Text.listBoxes
Text.radioButtons
Text.textBoxes
Text.signatureFields
Text.paragraphKashidaWidth
TextColumn.checkBoxes
TextColumn.comboBoxes
TextColumn.listBoxes
TextColumn.radioButtons
TextColumn.textBoxes
TextColumn.signatureFields
TextColumn.paragraphKashidaWidth
TextDefault.paragraphKashidaWidth
TextFrame.objectExportOptions
TextFrame.linkedPageItemOptions
TextFrame.checkBoxes
TextFrame.comboBoxes
TextFrame.listBoxes
TextFrame.radioButtons
TextFrame.textBoxes
TextFrame.signatureFields
TextFrame.horizontalLayoutConstraints
TextFrame.verticalLayoutConstraints
TextFrameContents.PLACEHOLDER_TEXT_ARABIC
TextFrameContents.PLACEHOLDER_TEXT_HEBREW
TextFrameContents.PLACEHOLDER_TEXT_CYRILLIC
TextFrameContents.PLACEHOLDER_TEXT_GREEK
TextFramePreference.useFlexibleColumnWidth
TextFramePreference.textColumnMaxWidth
TextFramePreference.autoSizingType
TextFramePreference.autoSizingReferencePoint
TextFramePreference.useMinimumHeightForAutoSizing
TextFramePreference.minimumHeightForAutoSizing
TextFramePreference.useMinimumWidthForAutoSizing
TextFramePreference.minimumWidthForAutoSizing
TextFramePreference.useNoLineBreaksForAutoSizing
TextImportCharacterSet.MACINTOSH_GREEK_SHARED_CAPS
TextImportCharacterSet.MACINTOSH_ARABIC
TextImportCharacterSet.MACINTOSH_HEBREW
TextImportCharacterSet.WINDOWS_ARABIC
TextImportCharacterSet.WINDOWS_HEBREW
TextImportCharacterSet.ARABIC_ASMO
TextImportCharacterSet.ARABIC_ASMO_TRANSPARENT
TextPreference.quoteCharactersRotatedInVertical
TextStyleRange.checkBoxes
TextStyleRange.comboBoxes
TextStyleRange.listBoxes
TextStyleRange.radioButtons
TextStyleRange.textBoxes
TextStyleRange.signatureFields
TextStyleRange.paragraphKashidaWidth
WMF.linkedPageItemOptions
WMF.horizontalLayoutConstraints
WMF.verticalLayoutConstraints
Window.selectionKeyObject
Word.checkBoxes
Word.comboBoxes
Word.listBoxes
Word.radioButtons
Word.textBoxes
Word.signatureFields
Word.paragraphKashidaWidth
XmlStory.paraStyleMappings
XmlStory.charStyleMappings
XmlStory.tableStyleMappings
XmlStory.cellStyleMappings
XmlStory.checkBoxes
XmlStory.comboBoxes
XmlStory.listBoxes
XmlStory.radioButtons
XmlStory.textBoxes
XmlStory.signatureFields
XmlStory.paragraphKashidaWidth
Methods
Button.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
Document.createAlternateLayout(spreadItems,name,width,height,createTextStyles,linkTextStor ies,layoutRule)
Document.deleteAlternateLayout(name)
EPS.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
EPSText.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
FormField.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions ])
Graphic.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
GraphicLine.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptio ns])
Group.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
Guide.transformValuesOf(in)
Guide.resolve(location,in[,consideringRulerUnits])
Image.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
ImportedPage.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOpti ons])
Link.goToSource()
MasterSpread.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,placePoint] [,destinationLayer][,showingOptions])
MediaItem.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions ])
Movie.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
MultiStateObject.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showing Options])
Oval.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
PDF.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
PICT.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
Page.snapshotCurrentLayout()
Page.deleteLayoutSnapshot()
Page.deleteAllLayoutSnapshots()
Page.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,placePoint][,destin ationLayer][,showingOptions])
PageItem.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions] )
Polygon.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
Rectangle.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions ])
Sound.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
SplineItem.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOption s])
Spread.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,placePoint][,dest inationLayer][,showingOptions])
TextFrame.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions ])
WMF.contentPlace(pageItems[,linkPageItems][,linkStories][,mapStyles][,showingOptions])
Changed methods
Application.dumpFromMemoryMark(Array of from)
Application.dumpBetweenMemoryMarks(Array of from,Array of to)
Button.extractLabel(key)
Document.align(alignDistributeItems,alignOption[,alignDistributeBounds][,reference])
Document.distribute(alignDistributeItems,distributeOption[,alignDistributeBounds][,useDist ributeMeasurement][,absoluteDistributeMeasurement][,reference])
EPS.extractLabel(key)
EPSText.extractLabel(key)
FormField.extractLabel(key)
Graphic.extractLabel(key)
GraphicLine.extractLabel(key)
Group.extractLabel(key)
Image.extractLabel(key)
ImportedPage.extractLabel(key)
MediaItem.extractLabel(key)
Movie.extractLabel(key)
MultiStateObject.extractLabel(key)
Oval.extractLabel(key)
PDF.extractLabel(key)
PICT.extractLabel(key)
PageItem.extractLabel(key)
Polygon.extractLabel(key)
Rectangle.extractLabel(key)
Sound.extractLabel(key)
SplineItem.extractLabel(key)
TextFrame.extractLabel(key)
WMF.extractLabel(key).. created using this XML input ..
<fileset>
<file name="omv$indesign-7.5$7.5.xml" />
<file name="omv$indesign-8.0$8.0.xml" />
</fileset>
.. and this XSLT ..
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:variable name="file1" select="document(/fileset/file[1]/@name, /)" />
<xsl:variable name="file2" select="document(/fileset/file[2]/@name, /)" />
<xsl:template match="/">
<html><head><title>InDesign changes from CS5.5 to CS6</title><LINK rel="stylesheet" type="text/css" href="styles003.css" /></head><body>
<h1>InDesign changes from CS5.5 to CS6</h1>
<h2>Removed</h2>
<h3>Classes</h3>
<xsl:apply-templates select="$file1/dictionary/package" mode="c_removed" />
<h3>Properties</h3>
<xsl:apply-templates select="$file1/dictionary/package" mode="p_removed" />
<h3>Methods</h3>
<xsl:apply-templates select="$file1/dictionary/package" mode="m_removed" />
<h2>Added</h2>
<h3>Classes</h3>
<xsl:apply-templates select="$file2/dictionary/package" mode="c_added" />
<h3>Properties</h3>
<xsl:apply-templates select="$file2/dictionary/package" mode="p_added" />
<h3>Methods</h3>
<xsl:apply-templates select="$file2/dictionary/package" mode="m_added" />
<h2>Changed methods</h2>
<xsl:apply-templates select="$file2/dictionary/package" mode="m_changed" />
</body></html></xsl:template>
<xsl:template match="package" mode="c_removed">
<xsl:for-each select="classdef">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="not($file2/dictionary/package/classdef[@name=$this])">
<p><xsl:value-of select="$this" /><xsl:if test="@enumeration"> (enum)</xsl:if></p>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="package" mode="c_added">
<xsl:for-each select="classdef">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="not($file1/dictionary/package/classdef[@name=$this])">
<p><xsl:value-of select="$this" /><xsl:if test="@enumeration"> (enum)</xsl:if></p>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="package" mode="p_removed">
<xsl:for-each select="classdef">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="$file2/dictionary/package/classdef[@name=$this]">
<xsl:for-each select="elements/property">
<xsl:variable name="prop" select="@name" />
<xsl:if test="not($file2/dictionary/package/classdef[@name=$this]/elements/property[@name=$prop])">
<p><xsl:value-of select="$this" />.<xsl:value-of select="$prop" /><xsl:if test="@enumeration"> (enum)</xsl:if></p>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="package" mode="p_added">
<xsl:for-each select="classdef">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="$file1/dictionary/package/classdef[@name=$this]">
<xsl:for-each select="elements/property">
<xsl:variable name="prop" select="@name" />
<xsl:if test="not($file1/dictionary/package/classdef[@name=$this]/elements/property[@name=$prop])">
<p><xsl:value-of select="$this" />.<xsl:value-of select="$prop" /><xsl:if test="@enumeration"> (enum)</xsl:if></p>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="package" mode="m_removed">
<xsl:for-each select="classdef[@dynamic]">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="$file2/dictionary/package/classdef[@name=$this]">
<xsl:for-each select="elements/method">
<xsl:variable name="meth" select="@name" />
<xsl:if test="not($file2/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth])">
<p><xsl:value-of select="$this" />.<xsl:value-of select="$meth" />()</p>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="package" mode="m_added">
<xsl:for-each select="classdef[@dynamic]">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="$file1/dictionary/package/classdef[@name=$this]">
<xsl:for-each select="elements/method">
<xsl:variable name="meth" select="@name" />
<xsl:if test="not($file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth])">
<p><xsl:value-of select="$this" />.<xsl:value-of select="$meth" />(<xsl:for-each select="parameters/parameter">
<xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><xsl:value-of select="@name" /><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if>
</xsl:for-each>)</p>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="package" mode="m_changed">
<xsl:for-each select="classdef[@dynamic]">
<xsl:sort select="@name" />
<xsl:variable name="this" select="@name" />
<xsl:if test="$file1/dictionary/package/classdef[@name=$this]">
<xsl:for-each select="elements/method">
<xsl:variable name="meth" select="@name" />
<xsl:if test="$file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]">
<xsl:if test="$file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters != parameters">
<p><xsl:value-of select="$this" />.<xsl:value-of select="$meth" />(
<xsl:for-each select="$file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter">
<xsl:variable name="parm" select="@name" />
<xsl:if test="not($file2/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm])">
<stkout><xsl:value-of select="$parm" /></stkout><xsl:text> </xsl:text>
<xsl:if test="count(../parameter) > 1">,</xsl:if>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="parameters/parameter">
<xsl:variable name="parm" select="@name" />
<xsl:choose>
<xsl:when test="not($file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm])">
<b><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><xsl:value-of select="@name" /><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if></b>
</xsl:when>
<xsl:when test="datatype/array and not($file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm]/datatype/array)">
<xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><i>Array of </i><xsl:value-of select="@name" /><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if>
</xsl:when>
<xsl:when test="@optional and not($file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm][@optional])">
<b><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><i>Array of </i><xsl:value-of select="@name" /><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if></b>
</xsl:when>
<xsl:when test="not(@optional) and $file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm][@optional]">
<stkout><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><i>Array of </i><xsl:value-of select="@name" /><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if></stkout>
</xsl:when>
<xsl:when test="datatype/type != $file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm]/datatype/type">
<xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><stkout><xsl:value-of select="$file1/dictionary/package/classdef[@name=$this]/elements/method[@name=$meth]/parameters/parameter[@name=$parm]/datatype/type" /></stkout><xsl:text> </xsl:text><b><xsl:value-of select="@name" /></b><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">[</xsl:if><xsl:if test="position() > 1">,</xsl:if><xsl:value-of select="@name" /><xsl:if test="@optional='true' or datatype/value or contains(shortdesc, 'Optional')">]</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>)</p>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet> -
Issue on payroll area which is changing from biweekly to monthly in Mid of
Dear Experts,
I have an issue on payroll area which is changing from biweekly to monthly in Mid of the Month.
One employee was retired on 29th of March, so his payroll area was changed from biweekly to monthly on 29th. For retire we are running the payroll on 8th of every month. When we are running payroll for April he has received only 29th and 30th retire salary, by the time he is not yet retired also.
In this case the main problem is monthly payroll time is early then biweekly. so the employee is getting retire salary then his regular pay.
Can you guide me where we can control that monthly payroll area should not be triggered at this movement.
Thanks
ChandraYou can do that but it is not that easy as it sounds if you have to do that over a period of say 10-20 years...lot of operational work!!
Also say if you load the retiree action one month ahead say on 03/01/2011. And the employee is retiring on 03/29.
Retire payroll is on 04/08
Biweekly is on 04/15
Now you decide to lock the employees after the 1st biweekly check of March...say which was process 14 days before 04/15 would be 04/01. The employee number is locked between 04/01 to 04/15. For 14 days you have locked these employees!!
What happens if there is adjustment pay...you have to manually go and unlock the employee and lock him after the adjustment check.
I will let you decide based on the comfort, SAP effort, Operational effort and system maintenance. -
When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been. How do I do this without the document changing?
I need to be able to send it to a PC in order to print it.Hard to say what is happening without examining the file.
If you like click on my blue name and email me both the .pages file and the the .pdf you have made from it.
Peter
ps It would help to say what version of Pages you are using and on what you are running it. iOS or Mac and what version. -
TS3899 I changed from an Iphone to a Android. I can't get my email from other Iphones
I changed from an Iphone to a Android. Now I can't recieve emails from other Iphones.
Email should not be a problem, text messages can be but not email if it is set up correctly on your new phone.
-
I have changed from an iPhone to a Sony but when my wife send a message it still gets sent as an iMessage how do I change the settings
Hello, Vespa Boy125.
Thank you for visiting Apple Support Communities.
Here are the steps that you will need to process on your line to remove your number from iMessage.
iOS: Deactivating iMessage
http://support.apple.com/kb/ts5185
Cheers,
Jason H. -
'CHANGE' event not triggering for BTE 2214 on park/change from FBV1/FBV2
I have designed a workflow template for FI parking. If the parked document is rejected, i need to trigger FIPP 'CHANGE' event for sending workitem to approver when someone changes the parked document. In SWEL event trace, the 'CHANGE' event is not getting raised.
So i implemented a BTE 000002214 and now i am able to raise 'CHANGE' event and capture it in workflow. But this is only working when i park a document using FV50 transaction and later change it.
But when i park a document using FBV1 and then make changes from FBV2, the 'CHANGE' event is not being triggered in SWEL. Should i implement some other BTE like 2218 etc? Can you please help?Hi Gokul,
You can try handling the SAVE event instead of the CHANGED event.
T-code FBV2 will not allow you to save the document unless you make some changes.
Try implementing BTE 2218 and revert.
Thanks,
Sreekanth -
i changed from i iphone 5 back to a iphone 4.. now my itunes does not recognise that i have a iphone 4! how do i convert my last back up (on iphone 5) to my new iphone 4?
In your case you can only restore from a backup that has been created with the same iOS version. An iPhone 4 can only run 7.1.2, and, unless your iPhone 5 did not run the same version, you can't use a newer iOS backup of the 5 on the iPhone 4
-
Downloads changing from "Downloading" to "waiting to download". Why?
Tonight while downloading a HD movie I was watching a couple episodes of a TV show I have on my ATV. Between episodes I would check my download progress and find that the status had changed from "Downloading" to "waiting to download". Can't you watch videos and download something else at the same time?
I did update a photo library and perform a sync during one of the shows I watched. Does that indefinitely pause a download. The sync took less than one minute.
I'm glad there are a few people here that know everything about the ATV. Very helpful. Thanks, KMAHave you included an href in the jnlp element ?
are you trying to version the jnlp file too ?
/dietz -
I have a 1st generation apple TV, which was working perfectly until I changed from a Windows PC to a Imac. The Apple TV will not show in Itunes. I have changed the IP address, sub mask and Router IP address. Since changing I have switched everything of and on again. Can anyone help?
I have a new router and computer. I have just remembered that just before my old PC died on me, I transferred my iTunes library to a hard drive. I can't remember exactly just how I got my library back, but there are definately things in my library now that were in my library on my old PC! Hope this makes sense. What do you mean by same location? Do you mean in the same place in the house?
Another difference I have just thought of was my old router was connected directly to the computer bu I have not been able to do this with Sky as my PC is not near a phone socket! Will this make a difference?
Maybe you are looking for
-
Hide Content Area in Advanced Search page
How can we hide some Content Areas in the 'Advanced Search' page (3.0.9)? Thanks.
-
As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script. Thanks and Regards, Rangnath Mali
-
Hello all. While pre-fader metering is working great on all the channels - there is no difference registering on the master output (Output 1+2) when I toggle PFM off and on. I am sending it 16 very hot signals and only the output fader can change the
-
Changing system status depending on user status
Hello All, What I need to do is, when the user sets the user status to, let's say, "Finished", I have to detect it and change the system status to "Concluded". Does anybody have any idea about how could I manage this situation? Thanks in advance.
-
Is it possible to change the font size in the sidebar? Thanks in advance