SBX - Search With Button

SBX - Forum Post Title

Fiscal period validation on Transfer Orders

Microsoft Dynamics AX Forum

workkb asked a question on 14 Jun 2018 3:52 AM
My Badges

Question Status

Unanswered

Hi All,

How to add Fiscal period validation on Transfer Orders in Inventory Module?

Regards,

Work

Reply
Crispin John Augustine responded on 14 Jun 2018 4:51 AM
My Badges

At the Moment you only have Code validations on ShipDate and ReceiveDate, if the combination is right.

You can add a fiscal period Validation here, based on ShipDate, when the Transfer order is created.

Receipt, on the other Hand, can be delayed, or could be in the next period due to n number of reasons. Do you want to restrict this as well?

Reply
workkb responded on 14 Jun 2018 4:57 AM
My Badges

Hi Crispin,

I have to add this validation on posting date of shipment as well as receive. This should not allow to ship or receive if the posting date is onhold

Where to add the code, on which class?

Can you share the code also?

Regards,

Work

Reply
Crispin John Augustine responded on 14 Jun 2018 5:02 AM
My Badges

InventTransferUpdShip.validate()

and

InventTransferUpdReceive.validate() -- there's no validate method by Default in this class. Make one similar to the ship class..

Reply

SBX - Two Col Forum

SBX - Migrated JS