HR-XML 3.0 Standards, 2009  September  23.

Menu: [ Home  |  Guidelines  |  BODs  |  Nouns  |  Global elements  |  WSDL  |  Packages  |  Code Lists  |  Master Index ]

Trace back: » ch29s04 | ch30 | ch30s04 | ch31 | ch31s04 »

Staffing Assignment: Examples

Example 31.1. ProcessStaffingAssignment - Example 1

The example below creates a new StaffingAssignment document that proposes terms of a staffing assignment. Note that the ContractStatusCode = Unsigned.

Source


<?xml version="1.0" encoding="UTF-8"?>
<ProcessStaffingAssignment 
			systemEnvironmentCode="Production" 
			releaseID="3.0" 
			languageCode="en-US" 
			xsi:schemaLocation="http://www.hr-xml.org/3  ../Developer/BODs/ProcessStaffingAssignment.xsd" 
			xmlns="http://www.hr-xml.org/3" 
			xmlns:oa="http://www.openapplications.org/oagis/9" 
			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<oa:ApplicationArea>
		<oa:CreationDateTime>2009-10-17T10:09:02.01Z</oa:CreationDateTime>
		<oa:BODID>PC2009-11-17-016</oa:BODID>
	</oa:ApplicationArea>
	<DataArea>
		<oa:Process>
			<oa:ActionCriteria>
				<oa:ActionExpression actionCode="Add">/ProcessStaffingAssignment/DataArea/StaffingAssignment</oa:ActionExpression>
			</oa:ActionCriteria>
		</oa:Process>
		<StaffingAssignment>
			<DocumentID schemeID="AssignmentID" schemeAgencyID="StaffingCoInc.com">99999111888</DocumentID>
			<CustomerParty>
				<PartyID schemeID="Client ID">445123</PartyID>
				<PartyName/>
				<PartyReportingIDs>
					<ID schemeID="DepartmentID">Finance 901</ID>
					<ID schemeID="AccountID">1478111</ID>
					<ID schemeID="ProjectID">Eng 2009-1401</ID>
				</PartyReportingIDs>
				<PersonContact contactTypeCode="Order Placed By">
					<PersonName>
						<FormattedName>Mary Smith</FormattedName>
					</PersonName>
					<RoleName>Services Procurement Mgr.</RoleName>
					<Communication>
						<ChannelCode>Telephone</ChannelCode>
						<oa:AreaDialing>312</oa:AreaDialing>
						<oa:DialNumber>-222-5555</oa:DialNumber>
					</Communication>
				</PersonContact>
			</CustomerParty>
			<BillToParty>
				<PartyName>ABC Inc., Corp. LTD</PartyName>
				<PersonContact>
					<PersonName>
						<FormattedName>John Brown</FormattedName>
					</PersonName>
					<Communication>
						<ChannelCode>Telephone</ChannelCode>
						<UseCode>Business</UseCode>
						<oa:DialNumber>631.844.7124</oa:DialNumber>
					</Communication>
					<Communication>
						<UseCode>Business</UseCode>
						<Address validFrom="2006-05" currentAddressIndicator="true" type="Bill To">
							<oa:BuildingNumber>111</oa:BuildingNumber>
							<oa:StreetName>Elm Street.</oa:StreetName>
							<oa:CityName>Chicago</oa:CityName>
							<oa:CountrySubDivisionCode>IL</oa:CountrySubDivisionCode>
							<CountryCode>US</CountryCode>
							<oa:PostalCode>60606</oa:PostalCode>
						</Address>
					</Communication>
				</PersonContact>
			</BillToParty>
			<SupplierParty>
				<PartyID>676773</PartyID>
				<PartyName>Staffing Supplier Company, Inc.</PartyName>
			</SupplierParty>
			<StaffingRate>
                <RateTypeCode>Base</RateTypeCode>
           		<oa:Amount currencyID="USD">115</oa:Amount>
			    <PayRateIntervalCode>Hour</PayRateIntervalCode>
			</StaffingRate>
			<AssignmentAvailability>
				<StartDate>
					<FormattedDateTime>2009-11-17</FormattedDateTime>
				</StartDate>
				<ExpectedEndDate>
					<FormattedDateTime>2009-12-31</FormattedDateTime>
				</ExpectedEndDate>
			</AssignmentAvailability>			
			<ResourcePerson>
				<PersonName>
					<oa:GivenName>Frank</oa:GivenName>
					<MiddleName>L</MiddleName>
					<FamilyName>Franklin</FamilyName>
					<PreferredSalutationCode>Mr.</PreferredSalutationCode>
					<GenerationAffixCode>III</GenerationAffixCode>
				</PersonName><Communication><UseCode>x:Residence</UseCode>
				<Address currentAddressIndicator="true">
					<oa:AddressLine sequence="1">1234 Elm Street</oa:AddressLine>
					<oa:CityName>Rosemont</oa:CityName>
					<oa:CountrySubDivisionCode>IL</oa:CountrySubDivisionCode>
					<oa:PostalCode>60573</oa:PostalCode>
				</Address></Communication>
				<CitizenshipCountryCode>CA</CitizenshipCountryCode>
				<ResidencyCountryCode>US</ResidencyCountryCode>
				<GenderCode>Male</GenderCode>
				<PrimaryLanguageCode>en</PrimaryLanguageCode>
			</ResourcePerson>
			<ResourceDeployment>
				<StaffingPosition>
					<PositionID>03320-112355</PositionID>
					<PositionTitle>Business Analyst</PositionTitle>
					<PositionFormattedDescription>
						<Content  languageID="en">
Business Analyst
Post Date: July 9, 2009
Location: Chicago
Assignment: Full Time
Pay Rate: $60,000 to $75,000 per year
 
Requirements:
Bachelors degree in Accounting or Finance. Three plus years of progressive, related experience, 
and ideally Six Sigma and/or Lean Manufacturing knowledge. Excellent communication skills. 
 
Description:
An extremely successful, large Cincinnati based company is seeking a Business Analyst as part 
of its business integration team. You will play a key role in process improvement and project 
management initiatives. </Content>
					</PositionFormattedDescription>
				</StaffingPosition>
			</ResourceDeployment>
			<StaffingContract>
				<ID schemeID="Employee Contract ID">Franklin037</ID>
				<VersionID>1</VersionID>
				<FormattedDateTime>2009-11-17</FormattedDateTime>
				<LegalNotice>
					<Content>This Contract shall be interpreted and any disputes resolved according to the Laws of the State of Delaware. All claims, counterclaims, disputes and other matters in question between the Parties arising out of or relating to this Contract or the breach thereof will be decided by arbitration if the parties hereto mutually agree, or in a court of competent jurisdiction within the State of Delaware.</Content>
				</LegalNotice>
				<StaffingContractTypeCode>Staffing Customer</StaffingContractTypeCode>
				<ContractStatusCode>Unsigned</ContractStatusCode>
				<StaffingResourceTypeCode>Contract</StaffingResourceTypeCode>
				<WorkSite>
					<ID>DD 1334</ID>
					<oa:Name>ABCIC Downtown</oa:Name>
					<Address validFrom="2006-05" type="Work Location">
						<oa:BuildingNumber>111</oa:BuildingNumber>
						<oa:StreetName>Elm Street.</oa:StreetName>
						<oa:CityName>Chicago</oa:CityName>
						<oa:CountrySubDivisionCode>IL</oa:CountrySubDivisionCode>
						<CountryCode>US</CountryCode>
						<oa:PostalCode>60606</oa:PostalCode>
					</Address>
					<TravelDirections>From the Airport: Merge on to I-190 East from the right lane.
Take I-294 North exit (Tri-State tollway) and merge staying in the right lane. Take I-90 West ramp toward Rockford.
Merge on to NW Tollway/I-90 West. Approximately ½ mile after entering I-90 West, there is a toll. If you do not have exact change or need a receipt, stay in the right lanes at the toll plaza.  Stay on I-90 West for approximately 8 miles. Exit Route 53 North (Rolling Meadows).</TravelDirections>
					<WorkEnvironmentTypeCode>Office</WorkEnvironmentTypeCode>
				</WorkSite>
				<ContractRemunerationPackage>
					<RemunerationPackageID schemeID="Senior Professional Grades">13</RemunerationPackageID>
					<RemunerationBasisCode>Hourly</RemunerationBasisCode>
				</ContractRemunerationPackage>
				<FrameAgreement>
					<DocumentID>FA0905DC</DocumentID>
					<oa:Name>Midlands Professional</oa:Name>
					<TypeCode>Regional</TypeCode>
					<VersionID>1.1</VersionID>
					<ContractPeriod>
						<StartDate><FormattedDateTime>2009-11-17</FormattedDateTime></StartDate>
						<EndDate><FormattedDateTime>2010-02-01</FormattedDateTime></EndDate>
					</ContractPeriod>
					<Party agencyRoleCode="Customer">
						<PartyName>ABC Inc., Corp. LTD</PartyName>
						<PersonContact>
							<PersonName>
								<FormattedName>John Brown</FormattedName>
							</PersonName>
							<Communication>
								<Address>
									<oa:BuildingNumber>111</oa:BuildingNumber>
									<oa:StreetName>Elm Street.</oa:StreetName>
									<oa:CityName>Chicago</oa:CityName>
									<oa:CountrySubDivisionCode>IL</oa:CountrySubDivisionCode>
									<CountryCode>US</CountryCode>
									<oa:PostalCode>60606</oa:PostalCode>
								</Address>
							</Communication>
						</PersonContact>
					</Party>
				</FrameAgreement>
			</StaffingContract>			
		</StaffingAssignment>
	</DataArea>
</ProcessStaffingAssignment>
<!--


Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org 
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved 
-->



Example 31.2. NotifyStaffingAssignment - Example 1

This example communicates that the contract has been accepted and signed. Note that the ContractStatusCode = Signed. Note also that this BOD instance uses an "incremental" style of data management where only the changed fields of the related document are communicated. A full refresh (a so-called "snap shot") approach is an alternative approach, but not presented here..

Source


<?xml version="1.0" encoding="UTF-8"?>
<NotifyStaffingAssignment 
			systemEnvironmentCode="Production" 
			releaseID="3.0" 
			languageCode="en-US" 
			xsi:schemaLocation="http://www.hr-xml.org/3  ../Developer/BODs/NotifyStaffingAssignment.xsd"  		
			xmlns="http://www.hr-xml.org/3" 
			xmlns:oa="http://www.openapplications.org/oagis/9" 
			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<oa:ApplicationArea>
		<oa:CreationDateTime>2009-10-17T10:09:02.01Z</oa:CreationDateTime>
		<oa:BODID>PC2009-11-17-016</oa:BODID>
	</oa:ApplicationArea>
	<DataArea>
		<oa:Notify>
			<oa:ActionCriteria>
				<oa:ActionExpression actionCode="Modified">/NotifyStaffingAssignment/DataArea/StaffingAssignment/StaffingContractDetails/@versionID</oa:ActionExpression>
				<oa:ChangeStatus>
					<oa:ReasonCode>Contract Executed</oa:ReasonCode>
				</oa:ChangeStatus>
			</oa:ActionCriteria>
			<oa:ActionCriteria>
				<oa:ActionExpression actionCode="Modified">/NotifyStaffingAssignment/DataArea/StaffingAssignment/StaffingContractDetails/ContractStatusCode</oa:ActionExpression>
			</oa:ActionCriteria>
			<oa:ActionCriteria>
				<oa:ActionExpression actionCode="Add">/NotifyStaffingAssignment/DataArea/StaffingAssignment/StaffingContractDetails/SignatureDate</oa:ActionExpression>
			</oa:ActionCriteria>
		</oa:Notify>
		<StaffingAssignment>
			<DocumentID schemeID="AssignmentID" schemeAgencyID="StaffingCoInc.com">99999111888</DocumentID>
			<StaffingContract>
				<VersionID>2</VersionID>
				<ContractStatusCode>Signed</ContractStatusCode>
				<ResourceSignatureDate>2009-11-15</ResourceSignatureDate>		
			</StaffingContract>
		</StaffingAssignment>
	</DataArea>
</NotifyStaffingAssignment>
<!--


Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org 
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved 
-->




Example 31.3. CancelStaffingAssignment - Example 1

Whether and how a customer can cancel a staffing assignment order requires an understanding between trading partners. The "Cancel" verb is used "where the business implications must be calculated and a simple data processing term such as delete can not fully convey the business meaning and required processing associated with the meaning."

  • An "Incremental" update approach is assumed.

  • The ActionExpression is scoped at the /CancelStaffingAssignment/DataArea/StaffingAssignment level. "Delete" is specified as the actionCode.

  • The associated DocumentID is specified. No other content is provided.

Source


<?xml version="1.0" encoding="UTF-8"?>
<CancelStaffingAssignment 
			systemEnvironmentCode="Production" 
			releaseID="3.0" 
			languageCode="en-US" 
			xsi:schemaLocation="http://www.hr-xml.org/3  ../Developer/BODs/CancelStaffingAssignment.xsd" 
			xmlns="http://www.hr-xml.org/3" 
			xmlns:oa="http://www.openapplications.org/oagis/9" 
			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<oa:ApplicationArea>
		<oa:CreationDateTime>2009-10-17T10:09:02.01Z</oa:CreationDateTime>
		<oa:BODID>PC2009-11-17-016</oa:BODID>
	</oa:ApplicationArea>
	<DataArea>
		<oa:Cancel>
			<oa:ActionCriteria>
				<oa:ActionExpression actionCode="Delete">/CancelStaffingAssignment/DataArea/StaffingAssignment</oa:ActionExpression>
				<oa:ChangeStatus>
					<oa:ReasonCode>Project Canceled</oa:ReasonCode>
				</oa:ChangeStatus>
			</oa:ActionCriteria>
		</oa:Cancel>
		<StaffingAssignment>
			<DocumentID schemeID="AssignmentID" schemeAgencyID="StaffingCoInc.com">99999111888</DocumentID>
	    </StaffingAssignment>
	</DataArea>
</CancelStaffingAssignment>
<!--


Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org 
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved 
-->



Comment on this Component


Use the form below to submit your question or comment about "ch31s04"

By submitting you indicate that you are accepting HR-XML's Feedback Policy


  * = required field
First/Given Name: *
Last/Family Name: *
Position Title:
Organization:
Country:
Website:
E-mail: *
Topic:

  Please use the area below to write your comment or question: