UBL- Functional Diference between StockAvailabityReport and Inventory Report

Please,

 

can some one explain the functional diference between StockAvailabityReport.xsd and  Inventory Report.xsd . Because, the UBL explanation appear be the same.

 Thanks.

Carlos

Thank you for your question to UBL.XML.org.  Remember that for threaded discussions, the UBL-Dev mail list is a more appropriate forum.  Please see http://www.oasis-open.org/mlmanage/ to subscribe.

To answer your question, the difference between the Stock Availability Report and the Inventory Report is documented in sections 3.1.49 and 3.1.29, respectively, of the Committee Specification Draft 3 of UBL 2.1.  The distinction is the submitter and receiver roles.  A Stock Availability Report is sent by the seller (producer) to tell the buyer (retailer) what is available to be bought.  An Inventory Report is sent by the buyer (retailer) to the seller (producer) to tell the seller what the buyer's status is for goods so that the seller can synchronize their records of what the buyer has or is expecting.

Sections 2.14.3.2 and 2.14.2.6, respectively, have the swim-lane diagrams and further detail.

Your question does prompt me to ask the committee members to modify the definitions to reflect these distinctions so that readers need not have to go to the documentation to find the detail.

Please let me know if you have any further questions.  And I suggest using the UBL Dev list to ask them there.

I hope this has helped.

. . . . . . . . Ken

p.s. Committee Specification Draft 3 of UBL 2.1 is available at:

http://www.oasis-open.org/committees/document.php?document_id=48368

Hi Ken,

excelent and quickly answers. I appreciate your help and effort.

After sending the first question I realized how should I post my questions. These are the rights steps?

a) Go to link, http://ubl.xml.org/forum,

b) and then click in Developer mail list - UBL-Dev, and then click in the option :Miscellaneous / General questions and discussion

c) Click Post new forum topic. option.

 

2) Refering your answer, I want to ask if the Inventory Report, can be used for communicate the status of and item(obsolete or damaged) or to indicate to the seller that have to adjust the inventory for some item in 1 unit.(for example).

thanks you very much.

Carlos.

Good morning, Carlos.  I can answer your first question, but not your second.  I have asked committee colleagues to address your question (2) regarding the inventory report.

Meanwhile, you do not yet have the correct steps regarding UBL-Dev.  It is an independent mail list separate from the http://ubl.xml.org server.  The archives are here:

http://lists.oasis-open.org/archives/ubl-dev/

In order to subscribe you indicate your email address and the list of which mail lists to subscribe to, and you'll see "ubl-dev" on the list (around the middle).

I hope this helps you get on the list.

. . . . . . . Ken

Good Morning, Ken.

thanks again for your answer and I have subscribed to the  "ubl-dev" mailing list.

About, second question, I will be waiting your answer. The main idea is to use a document in which one system can indicate an adjust inventory for one o more items.

Thanks and regards

Carlos 

 

 

Good morning Carlos,

basically the Inventory Report is used by the Retailer to provide his Producer with information about the quantity on stock only: each InventorReportLine refers to an item (identified by its ItemIdentifier) and the quantity on stock is indicated.

If you need to provide information about the status of items, I can see two options:

1- use of "Note" field at InventoryReportLine level

2- use of AdditionalProperty at Item level (inside each InventoryReportLine).

For example:

OPTION 1

<cac:InventoryReportLine>
<cbc:ID>1</cbc:ID>
<cbc:Note>Status = good</cbc:Note>
<cbc:Quantity unitCode="NAR">10</cbc:Quantity>
...
<cac:Item>
....
<cac:StandardItemIdentification>
<cbc:ID>A001</cbc:ID>
....
</cac:InventoryReportLine>
<cac:InventoryReportLine>
<cbc:ID>2</cbc:ID>
<cbc:Note>Status = damaged</cbc:Note>
<cbc:Quantity unitCode="NAR">5</cbc:Quantity>
...
<cac:Item>
....
<cac:StandardItemIdentification>
<cbc:ID>A001</cbc:ID>
...
</cac:InventoryReportLine>


OPTION 2

<cac:InventoryReportLine>
<cbc:ID>1</cbc:ID>
<cbc:Quantity unitCode="NAR">10</cbc:Quantity>
<cac:Item>
<cac:StandardItemIdentification>
<cbc:ID>A001</cbc:ID>
</cac:StandardItemIdentification>
<cac:AdditionalItemProperty>
<cbc:Name>Status</cbc:Name>
<cbc:Value>good</cbc:Value>
...
</cac:InventoryReportLine>
<cac:InventoryReportLine>
<cbc:ID>2</cbc:ID>
<cbc:Quantity unitCode="NAR">5</cbc:Quantity>
<cac:Item>
<cac:StandardItemIdentification>
<cbc:ID>A001</cbc:ID>
</cac:StandardItemIdentification>
<cac:AdditionalItemProperty>
<cbc:Name>Status</cbc:Name>
<cbc:Value>damaged</cbc:Value>
...
</cac:InventoryReportLine>

 

Please, feel free to ask for any clarification.

Best regards

Arianna

 

Hi Arianna,

thanks a lot for your time and answer.

Is very helpful your explanation.

Refering what you have explaind, can I only refer in the schema to the units that are damaged? like this? 

<cac:InventoryReportLine>
<cbc:ID>1</cbc:ID>
<cbc:Note>Status = missed</cbc:Note>
<cbc:Quantity unitCode="NAR">5</cbc:Quantity>
...
<cac:Item>
....
<cac:StandardItemIdentification>
<cbc:ID>A001</cbc:ID>
...
</cac:InventoryReportLine>

 

And in this case I want communicate that actually I have (5 units of 10 units originally) and when the producer receive the message, He only have to discount 5 units. ? can I desing the logic in this way?

 

thanks

Carlos 

 

Good morning Carlos,

actually you can define the list of values to comunicate the status of the goods in your storage.

Apart from this, I would highlight that the function of Inventory Report is to inform about the status of goods at the time the document is issued (usually some time after the goods have been received). It is not intented to inform about discrepancies between the received goods  and the expected (ordered) goods.

Usually the goods checking happens when goods are received and information about missing or damaged articles are included in the Receipt Advice.

Hoping this helps.

Best regards
Arianna

Good Morning Arianna,

thanks you very much, for your answer.

Sorry if i wasn´t clear., when I was talking about "receiving" I  was tallink about sending a message between systems. In this case I want to use the Inventory Report.xsd to communicate and adjustment that happend in somewhere and this event have to be communicate to another. One party belong to System A and the other party belong to the  System B. 

I undestood what you said about Inventory Report, and I Know that the receipt advice it not used for report adjustment.

thanks you very much again.

Carlos 

 

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I