OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-psc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Currency attribute missing in RetailEvent sample instance


Hello PSC,

The PRD2 RetailEvent sample instance has missing attributes when checked with the new PRD3 constraint for a required attribute that was incorrectly optional in PRD2 (it is mandatory in UBL 2.0 and so is corrected now in PRD3).

I've added currencyID="GBP" since the addresses in the instance are based in the UK.

I'll assume this is acceptable unless you let me know otherwise.

Thanks!

. . . . . . . . . . . Ken

	<cac:PromotionalEvent>
		<cbc:PromotionalEventTypeCode>STORE_OPENING</cbc:PromotionalEventTypeCode>
		<cbc:SubmissionDate>2009-12-01</cbc:SubmissionDate>
		<cbc:LatestProposalAcceptanceDate>2010-01-06</cbc:LatestProposalAcceptanceDate>
		<cac:PromotionalSpecification>
			<cbc:SpecificationID>ACME_STROP_0023823</cbc:SpecificationID>
			<cac:PromotionalEventLineItem>
				<cbc:Amount>100.0</cbc:Amount>
				<cac:EventLineItem>
					<cbc:LineNumberNumeric>1</cbc:LineNumberNumeric>
					<cac:ParticipatingLocationsLocation>
						<cbc:ID>ACME_BR_BE_0023</cbc:ID>
					</cac:ParticipatingLocationsLocation>
					<cac:RetailPlannedImpact>
						<cbc:Amount>0.0</cbc:Amount>
						<cbc:ForecastPurposeCode>SALES_FORECAST</cbc:ForecastPurposeCode>
						<cbc:ForecastTypeCode>PROMOTIONAL</cbc:ForecastTypeCode>

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/o/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]