Files
bodyshop/server/rr/xml-templates/UpdateRepairOrder.xml

124 lines
5.7 KiB
XML

<rey_RomeUpdateBSMRepairOrderReq xmlns="{{STAR_NS}}" revision="1.0">
<BSMRepairOrderReq>
<RepairOrder>
<RepairOrderNumber>{{RepairOrderNumber}}</RepairOrderNumber>
{{#DmsRepairOrderId}}<DmsRepairOrderId>{{DmsRepairOrderId}}</DmsRepairOrderId>{{/DmsRepairOrderId}}
{{#OpenDate}}<OpenDate>{{OpenDate}}</OpenDate>{{/OpenDate}}
{{#PromisedDate}}<PromisedDate>{{PromisedDate}}</PromisedDate>{{/PromisedDate}}
{{#CloseDate}}<CloseDate>{{CloseDate}}</CloseDate>{{/CloseDate}}
{{#ServiceAdvisorId}}<ServiceAdvisorId>{{ServiceAdvisorId}}</ServiceAdvisorId>{{/ServiceAdvisorId}}
{{#TechnicianId}}<TechnicianId>{{TechnicianId}}</TechnicianId>{{/TechnicianId}}
{{#Department}}<Department>{{Department}}</Department>{{/Department}}
{{#ProfitCenter}}<ProfitCenter>{{ProfitCenter}}</ProfitCenter>{{/ProfitCenter}}
{{#ROType}}<ROType>{{ROType}}</ROType>{{/ROType}}
{{#Status}}<Status>{{Status}}</Status>{{/Status}}
{{#IsBodyShop}}<IsBodyShop>{{IsBodyShop}}</IsBodyShop>{{/IsBodyShop}}
{{#DRPFlag}}<DRPFlag>{{DRPFlag}}</DRPFlag>{{/DRPFlag}}
<Customer>
{{#CustomerId}}<CustomerId>{{CustomerId}}</CustomerId>{{/CustomerId}}
{{#CustomerName}}<CustomerName>{{CustomerName}}</CustomerName>{{/CustomerName}}
{{#PhoneNumber}}<PhoneNumber>{{PhoneNumber}}</PhoneNumber>{{/PhoneNumber}}
{{#EmailAddress}}<EmailAddress>{{EmailAddress}}</EmailAddress>{{/EmailAddress}}
{{#Address}}
<Address>
{{#Line1}}<Line1>{{Line1}}</Line1>{{/Line1}}
{{#Line2}}<Line2>{{Line2}}</Line2>{{/Line2}}
{{#City}}<City>{{City}}</City>{{/City}}
{{#State}}<State>{{State}}</State>{{/State}}
{{#PostalCode}}<PostalCode>{{PostalCode}}</PostalCode>{{/PostalCode}}
{{#Country}}<Country>{{Country}}</Country>{{/Country}}
</Address>
{{/Address}}
</Customer>
<ServiceVehicle>
{{#VehicleId}}<VehicleId>{{VehicleId}}</VehicleId>{{/VehicleId}}
{{#VIN}}<VIN>{{VIN}}</VIN>{{/VIN}}
{{#LicensePlate}}<LicensePlate>{{LicensePlate}}</LicensePlate>{{/LicensePlate}}
{{#Year}}<Year>{{Year}}</Year>{{/Year}}
{{#Make}}<Make>{{Make}}</Make>{{/Make}}
{{#Model}}<Model>{{Model}}</Model>{{/Model}}
{{#Odometer}}<Odometer>{{Odometer}}</Odometer>{{/Odometer}}
{{#Color}}<Color>{{Color}}</Color>{{/Color}}
</ServiceVehicle>
{{#JobLines}}
<JobLine>
<Sequence>{{Sequence}}</Sequence>
{{#ParentSequence}}<ParentSequence>{{ParentSequence}}</ParentSequence>{{/ParentSequence}}
{{#LineType}}<LineType>{{LineType}}</LineType>{{/LineType}}
{{#Category}}<Category>{{Category}}</Category>{{/Category}}
{{#OpCode}}<OpCode>{{OpCode}}</OpCode>{{/OpCode}}
{{#Description}}<Description>{{Description}}</Description>{{/Description}}
{{#LaborHours}}<LaborHours>{{LaborHours}}</LaborHours>{{/LaborHours}}
{{#LaborRate}}<LaborRate>{{LaborRate}}</LaborRate>{{/LaborRate}}
{{#PartNumber}}<PartNumber>{{PartNumber}}</PartNumber>{{/PartNumber}}
{{#PartDescription}}<PartDescription>{{PartDescription}}</PartDescription>{{/PartDescription}}
{{#Quantity}}<Quantity>{{Quantity}}</Quantity>{{/Quantity}}
{{#UnitPrice}}<UnitPrice>{{UnitPrice}}</UnitPrice>{{/UnitPrice}}
{{#ExtendedPrice}}<ExtendedPrice>{{ExtendedPrice}}</ExtendedPrice>{{/ExtendedPrice}}
{{#DiscountAmount}}<DiscountAmount>{{DiscountAmount}}</DiscountAmount>{{/DiscountAmount}}
{{#TaxCode}}<TaxCode>{{TaxCode}}</TaxCode>{{/TaxCode}}
{{#GLAccount}}<GLAccount>{{GLAccount}}</GLAccount>{{/GLAccount}}
{{#ControlNumber}}<ControlNumber>{{ControlNumber}}</ControlNumber>{{/ControlNumber}}
{{#Taxes}}
<Taxes>
{{#Items}}
<Tax>
<Code>{{Code}}</Code>
<Amount>{{Amount}}</Amount>
{{#Rate}}<Rate>{{Rate}}</Rate>{{/Rate}}
</Tax>
{{/Items}}
</Taxes>
{{/Taxes}}
</JobLine>
{{/JobLines}}
{{#Totals}}
<Totals>
{{#Currency}}<Currency>{{Currency}}</Currency>{{/Currency}}
{{#LaborTotal}}<LaborTotal>{{LaborTotal}}</LaborTotal>{{/LaborTotal}}
{{#PartsTotal}}<PartsTotal>{{PartsTotal}}</PartsTotal>{{/PartsTotal}}
{{#MiscTotal}}<MiscTotal>{{MiscTotal}}</MiscTotal>{{/MiscTotal}}
{{#DiscountTotal}}<DiscountTotal>{{DiscountTotal}}</DiscountTotal>{{/DiscountTotal}}
{{#TaxTotal}}<TaxTotal>{{TaxTotal}}</TaxTotal>{{/TaxTotal}}
<GrandTotal>{{GrandTotal}}</GrandTotal>
</Totals>
{{/Totals}}
{{#Payments}}
<Payments>
{{#Items}}
<Payment>
<PayerType>{{PayerType}}</PayerType>
{{#PayerName}}<PayerName>{{PayerName}}</PayerName>{{/PayerName}}
<Amount>{{Amount}}</Amount>
{{#Method}}<Method>{{Method}}</Method>{{/Method}}
{{#Reference}}<Reference>{{Reference}}</Reference>{{/Reference}}
{{#ControlNumber}}<ControlNumber>{{ControlNumber}}</ControlNumber>{{/ControlNumber}}
</Payment>
{{/Items}}
</Payments>
{{/Payments}}
{{#Insurance}}
<Insurance>
{{#CompanyName}}<CompanyName>{{CompanyName}}</CompanyName>{{/CompanyName}}
{{#ClaimNumber}}<ClaimNumber>{{ClaimNumber}}</ClaimNumber>{{/ClaimNumber}}
{{#AdjusterName}}<AdjusterName>{{AdjusterName}}</AdjusterName>{{/AdjusterName}}
{{#AdjusterPhone}}<AdjusterPhone>{{AdjusterPhone}}</AdjusterPhone>{{/AdjusterPhone}}
</Insurance>
{{/Insurance}}
{{#Notes}}
<Notes>
{{#Items}}<Note>{{.}}</Note>{{/Items}}
</Notes>
{{/Notes}}
</RepairOrder>
</BSMRepairOrderReq>
</rey_RomeUpdateBSMRepairOrderReq>