That shouldn't affect when the Data is entered though? Maybe the quantity or the part number, but not the When?
If it's a few days later then they should enter a correction transaction, not go back and fix an old one.
Normally, you would not include time as part of the transaction date. The transaction date can default to today which is Date() but the user needs to override that value. Including a time (unless you actually need to track transfers by time which I doubt), just causes issues later.It's mean that I have to add date and time stamp on each record on the time of saving record.
Normally, you would not include time as part of the transaction date. The transaction date can default to today which is Date() but the user needs to override that value. Including a time (unless you actually need to track transfers by time which I doubt), just causes issues later.
If you want to use the informationto mark each record with when it was updated, use the Form's BeforeUpdate event.
Me.UpdateDate = Now()
Or, if all you care about is when the record is created, Use Now() as the default value for the CreateDT field.
You do need the transaction time, if you perform a stock check at say 11.30 AM, then have later transactions in the day, you need the time to correctly work out the current stock.
If they shut down for a day's stock taking or embargo stock checked items for the day then it's not an issue.
Think I've convinced ahmad of that.I'm hoping we're not talking about a system that keeps a running sum.
those aren't allowed for in the app at present, but easy enough to add in if required.Such as a picking process, a shipping process, a receiving process.
Kindly suggest for the followng as per the attached samples
a. I have made adjustment form. I don't want to see the Qtyonhand and PhysicalQtyAdj columns after saving the record.
b. These should have to be available at the time of adjustment of new record.
=====Got Solution by myself=======
Formula correction required:
=IIf(IsNull([AdjustmentSub].[Form]![ItemsFK]),Null,DSum("[Stock_In_Out]","TransactionsExtended","[ItemPK]=" & [AdjustmentSub].[Form]![ItemsFK]))
upto this step it is working, i want to give date reference
=IIf(IsNull([AdjustmentSub].[Form]![ItemsFK]),Null,DSum("[Stock_In_Out]","TransactionsExtended","[ItemPK]=" & [AdjustmentSub].[Form]![ItemsFK] & "And [TranDate]<= #" &[TranDate]))
HeadFormName: Adjustment
SubformName: AdjustmentSub
DataReferenceQuery: TransactionsExtended
it gives error.
suggest please.
Code:=====Got Solution by myself=======
Good for you. CJ is off the hook.