Git Product home page Git Product logo

powerflc-samples's People

Contributors

christiangessner avatar thomasrossmeisl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

powerflc-samples's Issues

Updating Attachments and File Records of Vault Change Orders fails in some situations

The cmdlet Edit-ChangeOrder within the Sample.SyncChangeOrders.psm1 module terminates with exceptions when:

  • passing the -AttachmentFullFileNames paramter and the according Vault Change Order already has Attachments:

    ERROR: Ausnahme beim Aufrufen von "UpdateChangeOrder" mit 20 Argument(en): "180"

  • passing the -AttachmentFullFileNames paramter and the according Vault Change Order has no Attachments:

    Ausnahme beim Aufrufen von "UndoEditChangeOrder" mit 1 Argument(en): "109"

    (After assigning the $AttachmentFileMasterIds parameters default value to empty array, the passed files are attached to the specified Vault Change Order in both the previous situations)

  • passing an empty array to the -AttachmentFullFileNames or -AttachmentFileMasterIds paramter, the existing Attachments of the Vault Change Order are not removed

Similar issues exist even for the FullFileNames and FileMasterIds parameters beause the cmdlet terminates with exception when:

  • passing files to the -FullFileNames parameter:

    Ausnahme beim Aufrufen von "UpdateChangeOrder" mit 20 Argument(en): "1013"

    (After assigning the $FileMasterIds parameters default value to empty array, the passed files are associated to the specified Vault Change Order)

  • passing files to the -FullFileNames parameter a Vault Change Order that has no File Records does not become updated with these files

  • passing File Record associations to the -FullFileNames parameter that already exists on the Vault Change Order does not remove the not passed Files Records

  • passing File Record associations to the -FullFileNames parameter that already exists on the Vault Change Order:

    ERROR: Ausnahme beim Aufrufen von "UpdateChangeOrder" mit 20 Argument(en): "1689"

  • passing an empty array to the -FullFileNames or -FileMasterIds paramter, the existing File Records of the Vault Change Order are not removed

~Weiss Martin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.