A Time Receipt is a summary of many objects
- The Time Receipt itself
- Time Receipt Scrap information
- Issue Document
- Receipt Document
In the background
- Post Calculation
- Additional Warehouse transaction
- Quality Control Order
- Close Document request
It is possible to create a time receipt with automatic backflushing process.
It is possible to create a time receipt with all information about Issue and Receipt documents.
Example
Create Time Receipt for work order 1314, Line 10, Routing Position 10 and PersonnelId 14 for 2 Pcs from 8 to current time.
(Assembly: If Stock and Production unit not the same or Consume Unit is defined: See "Confirm Units"
With Scrap Definition
With Issue Document
With Reciept Document
[
{"DocEntry":1314,"LineNumber":10,"LineNumber2":10,
"PersonnelId":"14",
"QuantityGoodRUoM":2, // Good Quantity in UoM defined in routing position
"FromTime":"8:00",
"ToTime":"9:00",
"Duration":60,
"TimeReceiptScrap":
[
{"ScrapId":"DontCheckQty","Quantity":3,"UDF1":"test"},
{"ScrapId":"Scrap-001","Quantity":3,"UDF1":"test"}
],
"Issue":{"Lines":[{"ItemCode":"RM","WhsCode":"01","Quantity":1,"BaseLineNumber2":10}]},
"Receipt":{"Lines":[{"ItemCode":"FP","WhsCode":"01","Quantity":2}]}
}
]
Result
{
"value": 1,
"SystemNumber": [
3624
],
"values": [
{
"TimeReceiptEntry": 3624, // System number of created time receipt
"BoMIssueDocEntry": 2609, // Document entry from created Issue document (or 0)
"BoMReceiptDocEntry": 0, // Document entry from created receipt document for negative bom positions (or 0)
"ReceiptDocEntry": 3960, // Document entry from created receipt document for assembly (or 0)
"TimeReceiptJournalEntry": 0, // Document entry from time receipt based journal entry
"QCOrderId": "P6002229/10/10", // QC Order Id
"QCOrderDocEnrty": 1
}
]
}
All properties are available from TimeReceipt, TimeReceiptScrap, Issue and ReceiptDocument.
In Receipt and Issue document you don't need to define BaseDocentry/BaseLineNumber, only LineNumber2 for BoM Position.
The System does not check if the defined Material is OK. If wrong Material is defined, the system books the wrong Material.
The System books Items only for not closed Positions. If the position is closed or the position number is wrong, the system ignores the Information without displaying an error message.
Additional Properties are Available
Field |
Type |
Description |
|
DocEntry |
Edm.Integer |
Work order DocEntry |
|
LineNumber |
Edm.Integer |
Work order Position |
|
LineNumber2 |
Edm.Integer |
Work order Routing Position (internal Number) |
|
LineNumber3 |
Edm.Integer |
Optional Position Parallel Resource |
|
PersonnelId |
Edm.String |
PersonnelId |
|
TimeType |
Edm.String |
Optional The Time Type |
|
ResourceId |
Edm.String |
Optional The ResourceId, if not Standard ResourceId |
|
QuantityGood |
Edm.Decimal |
Optional Quantity in Unit of Assembly If you set the quantity with this property, you don't need to define the QuantityGoodRUoM |
|
QuantityGoodRUoM |
Edm.Decimal |
Quantity in Unit of Measurement from Routing Position. |
|
QuanittyScrap |
Edm.Decimal |
Optional Quantity Scrap in Unit of Assemlby |
|
QuantityScrapRUoM |
Edm.Decimal |
Optional Quantity Scrap in Unit of measurement from Routing position. Don't define this, if scrap information defined |
|
ExternalCosts |
Edm.Decimal |
Price |
|
Remarks |
Edm.String |
a Remark |
|
CostElementId |
Edm.String |
Optional Cost Element Id |
|
CostCenter |
Edm.String |
Optional Cost Center |
|
DocDate |
Edm.Date |
Define the document (Validation) Date In Beas Userinterface the DocDate and StartDate is always the same |
|
StartDate |
Edm.Date |
Start date Information: StartDateTime is not allowed. Use Start Date and Start Time
|
|
StartTime |
Edm.String |
Start time |
|
EndDate |
Edm.Date |
Optional End Date. If current Date, you don't need to define this |
|
EndTime |
Edm.String |
Optional End Time. If current Time, you don't need to define this |
|
FromTimeReceiptRunning |
Edm.Integer |
Get all information from the TimeReceiptRunning with defined System Number. In this case you don't need to define StartDate or StartTime The TimeReceiptRunning Entry will be deleted |
|
CloseEntry |
Edm.Boolean |
|
|
ManualBooking |
Edm.Boolean |
|
|
TimeReceiptRunningId |
Edm.Integer |
The System Number of linked TimeReceiptRunning Object. Define this if you don't use "FromTimeReceiptRunning", but it's linked to the item. Needed for calculating Duration The system will delete the entry after saving. |
|
TimeReceiptScrap |
Edm.Array |
Define Json Array with Scrap Information [ Quantity in UoM of Routing Position |
|
Duration |
Edm.Integer |
Duration in Minute If not defined, the system calculates this automatically. |
|
Barcode |
Edm.String |
Optional: Define Document by Routing Barcode |
|
CalculateDuration |
Edm.Bolean |
Define if the system must calculate the duration. |
|
Issue |
Edm.Json |
Define the Issue document for all material positions Don't define DocEntry or LineNumber. Only LineNumber2 for Bill of Material positions must be defined.
For more information see Issue Document.
Example:
"Issue":{"Lines":[{"ItemCode":"RM","WhsCode":"01","Quantity":1,"Number2":10}]} |
|
Receipt |
Edm.Json |
Define the receipt document Don't define DocEntry or LineNumber. For more information see Receipt Document
Example: "Receipt":{"Lines":[{"ItemCode":"FP","WhsCode":"01","Quantity":2}]} |
|
LogInfo |
Edm.String |
Information on Time Calculation. The function TimeReceipt.TimeCalculation return this information. You must define this if time Calculation is not inside this process. |
|
LogInfoHtml |
Edm.String |
Information on Time Calculation in HTML Format. |
|
UDF1...UDF15 |
Edm.String |
UDF 1-15 Beas2020.08 |