There will be a button to create new batch for Purchase Order Details. If button is pressed a new batch entity referance will be created with property values:
BatchCode: PO-&last two chars of the year&two chars for month&two chars for day&-&the number of batches created today +1
(For example PO-231119-1 for the first batch created today and PO-231119-2 for the second batch created today)
Production Date: Null
ExpireDate: Null for now - Will be asked and entered if desired while user is entering stock with delivery note if the batch property is not null
There will be a button to create new batch for Purchase Order Details. If button is pressed a new batch entity referance will be created with property values: BatchCode: PO-&last two chars of the year&two chars for month&two chars for day&-&the number of batches created today +1 (For example PO-231119-1 for the first batch created today and PO-231119-2 for the second batch created today) Production Date: Null ExpireDate: Null for now - Will be asked and entered if desired while user is entering stock with delivery note if the batch property is not null